Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 179.7 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4981/0.4981, allocations: 90.81 MB / 104.5 MB, free: 13.85 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 221.3 MB / 348.3 MB, free: 12.56 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 111.5 kB / 421.2 MB, free: 5.66 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.484e-05/2.515e-05, allocations: 4 kB / 0.4896 GB, free: 46.62 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1416, allocations: 72.31 MB / 0.5602 GB, free: 6.406 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4601/0.6018, allocations: 102.2 MB / 0.66 GB, free: 5.711 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/0.6021, allocations: 77.83 kB / 0.6601 GB, free: 5.668 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008353/0.6104, allocations: 2.871 MB / 0.6629 GB, free: 3.219 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.6105, allocations: 0 / 0.6629 GB, free: 3.219 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.6105, allocations: 3.938 kB / 0.6629 GB, free: 3.215 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003001/0.6108, allocations: 350 kB / 0.6632 GB, free: 2.832 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.6109, allocations: 15.97 kB / 0.6632 GB, free: 2.816 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.134e-05/0.6109, allocations: 4 kB / 0.6632 GB, free: 2.812 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.611, allocations: 159.1 kB / 0.6634 GB, free: 2.617 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.611, allocations: 3.375 kB / 0.6634 GB, free: 2.617 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.6111, allocations: 4 kB / 0.6634 GB, free: 2.613 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.6112, allocations: 44.81 kB / 0.6634 GB, free: 2.566 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.6112, allocations: 0 / 0.6634 GB, free: 2.566 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.6112, allocations: 0 / 0.6634 GB, free: 2.566 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.6112, allocations: 7.953 kB / 0.6635 GB, free: 2.559 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.698e-05/0.6113, allocations: 11.88 kB / 0.6635 GB, free: 2.551 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/0.6114, allocations: 157 kB / 0.6636 GB, free: 2.352 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.6116, allocations: 42.11 kB / 0.6637 GB, free: 2.309 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.356e-05/0.6116, allocations: 15.86 kB / 0.6637 GB, free: 2.293 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.6117, allocations: 7.938 kB / 0.6637 GB, free: 2.285 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.6117, allocations: 34.56 kB / 0.6637 GB, free: 2.242 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.6117, allocations: 0 / 0.6637 GB, free: 2.242 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005386/0.6122, allocations: 309 kB / 0.664 GB, free: 1.91 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.6123, allocations: 55.41 kB / 0.6641 GB, free: 1.844 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.68e-05/0.6124, allocations: 89.17 kB / 0.6641 GB, free: 1.75 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.6124, allocations: 29.7 kB / 0.6642 GB, free: 1.715 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.433e-05/0.6124, allocations: 83.58 kB / 0.6643 GB, free: 1.633 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.642e-05/0.6125, allocations: 19.69 kB / 0.6643 GB, free: 1.613 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-06/0.6125, allocations: 15.19 kB / 0.6643 GB, free: 1.602 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.6126, allocations: 310.8 kB / 0.6646 GB, free: 1.289 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.49e-05/0.6126, allocations: 11.81 kB / 0.6646 GB, free: 1.281 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.721e-05/0.6126, allocations: 7.062 kB / 0.6646 GB, free: 1.277 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.611e-05/0.6127, allocations: 11.5 kB / 0.6646 GB, free: 1.27 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.6127, allocations: 0 / 0.6646 GB, free: 1.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.354e-05/0.6128, allocations: 68.72 kB / 0.6647 GB, free: 1.203 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.6128, allocations: 4 kB / 0.6647 GB, free: 1.199 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.6128, allocations: 4 kB / 0.6647 GB, free: 1.195 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.6128, allocations: 4 kB / 0.6647 GB, free: 1.191 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.93e-05/0.6129, allocations: 11.98 kB / 0.6647 GB, free: 1.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.6129, allocations: 3.953 kB / 0.6647 GB, free: 1.176 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.755e-05/0.6129, allocations: 3.5 kB / 0.6647 GB, free: 1.176 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.6129, allocations: 4 kB / 0.6647 GB, free: 1.172 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.042e-05/0.613, allocations: 104.9 kB / 0.6648 GB, free: 1.062 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.01e-05/0.613, allocations: 4 kB / 0.6648 GB, free: 1.059 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001369/0.6132, allocations: 74.83 kB / 0.6649 GB, free: 0.9922 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.6132, allocations: 4 kB / 0.6649 GB, free: 0.9883 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6132, allocations: 4 kB / 0.6649 GB, free: 0.9844 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.6132, allocations: 3.953 kB / 0.6649 GB, free: 0.9805 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000309/0.6135, allocations: 307.2 kB / 0.6652 GB, free: 0.6367 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.6135, allocations: 0 / 0.6652 GB, free: 0.6367 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.19e-05/0.6136, allocations: 16.17 kB / 0.6652 GB, free: 0.6211 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.6136, allocations: 0 / 0.6652 GB, free: 0.6211 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.6136, allocations: 4 kB / 0.6652 GB, free: 0.6172 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.6136, allocations: 3.953 kB / 0.6652 GB, free: 0.6133 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.6136, allocations: 8.031 kB / 0.6652 GB, free: 0.6055 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.6138, allocations: 189.5 kB / 0.6654 GB, free: 420 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.713e-05/0.6139, allocations: 85.12 kB / 0.6655 GB, free: 316 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.6139, allocations: 7.016 kB / 0.6655 GB, free: 312 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.937e-05/0.614, allocations: 0 / 0.6655 GB, free: 312 kB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.516e-05/0.614, allocations: 4 kB / 0.6655 GB, free: 308 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.614, allocations: 8.062 kB / 0.6655 GB, free: 300 kB / 458.7 MB Notification: Performance of sorting global known variables: time 3.25e-05/0.614, allocations: 82.58 kB / 0.6656 GB, free: 220 kB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.614, allocations: 0 / 0.6656 GB, free: 220 kB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002226/0.6143, allocations: 31.88 kB / 0.6656 GB, free: 188 kB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001821/0.6144, allocations: 126.4 kB / 0.6657 GB, free: 52 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001059/0.6146, allocations: 30.62 kB / 0.6658 GB, free: 28 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6146, allocations: 0 / 0.6658 GB, free: 28 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.634e-05/0.6146, allocations: 22.67 kB / 0.6658 GB, free: 8 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001194/0.6147, allocations: 4 kB / 0.6658 GB, free: 4 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003164/0.6151, allocations: 145.2 kB / 0.6659 GB, free: 15.85 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.6153, allocations: 0.6848 MB / 0.6666 GB, free: 15.14 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 3.292e-05/0.6154, allocations: 8 kB / 0.6666 GB, free: 15.13 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.821e-05/0.6154, allocations: 15.38 kB / 0.6666 GB, free: 15.11 MB / 474.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6154, allocations: 0 / 0.6666 GB, free: 15.11 MB / 474.7 MB Notification: Performance of Templates: time 0.002506/0.6179, allocations: 0.5963 MB / 0.6672 GB, free: 14.56 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)