Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007418/0.0007418, allocations: 100.4 kB / 19.7 MB, free: 452 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007013/0.0007013, allocations: 212.1 kB / 23 MB, free: 2.98 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.843/0.843, allocations: 230.6 MB / 256.8 MB, free: 9.613 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7324/0.7324, allocations: 203.8 MB / 0.5049 GB, free: 10.42 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate") translateModel(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008386/0.0008386, allocations: 73.17 kB / 0.7194 GB, free: 3.496 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4629/0.4637, allocations: 102 MB / 0.8191 GB, free: 1.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.002456/0.4662, allocations: 2.04 MB / 0.8211 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009503/0.4671, allocations: 0.5975 MB / 0.8216 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.4672, allocations: 6.469 kB / 0.8217 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001324/0.4674, allocations: 28.72 kB / 0.8217 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001281/0.4675, allocations: 40.42 kB / 0.8217 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.4677, allocations: 106.7 kB / 0.8218 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003022/0.468, allocations: 302.2 kB / 0.8221 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002214/0.4683, allocations: 107.3 kB / 0.8222 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.4684, allocations: 134.2 kB / 0.8223 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.4686, allocations: 130 kB / 0.8225 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.196e-05/0.4686, allocations: 30.66 kB / 0.8225 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.381e-05/0.4686, allocations: 30.19 kB / 0.8225 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.864e-05/0.4687, allocations: 73.92 kB / 0.8226 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.815e-05/0.4688, allocations: 106.1 kB / 0.8227 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003106/0.4691, allocations: 328.3 kB / 0.823 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.4691, allocations: 0 / 0.823 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4691, allocations: 0 / 0.823 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.4691, allocations: 5.656 kB / 0.823 GB, free: 14.85 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008725/0.47, allocations: 0.6242 MB / 0.8236 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.47, allocations: 8.719 kB / 0.8236 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.498e-05/0.4701, allocations: 29.92 kB / 0.8237 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003576/0.4704, allocations: 217.9 kB / 0.8239 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.4705, allocations: 23.25 kB / 0.8239 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/0.4705, allocations: 27.34 kB / 0.8239 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004861/0.471, allocations: 413.6 kB / 0.8243 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.471, allocations: 0 / 0.8243 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.774e-05/0.471, allocations: 11.12 kB / 0.8243 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/0.471, allocations: 5.562 kB / 0.8243 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004183/0.4715, allocations: 223.5 kB / 0.8245 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008413/0.4723, allocations: 0.5345 MB / 0.8251 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004049/0.4727, allocations: 203.7 kB / 0.8253 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/0.4729, allocations: 88.03 kB / 0.8253 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.4729, allocations: 5.375 kB / 0.8253 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003548/0.4733, allocations: 198.5 kB / 0.8255 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=21): time 2.154e-06/0.4733, allocations: 5.25 kB / 0.8255 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.0006868/0.474, allocations: 357.6 kB / 0.8259 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.912e-05/0.474, allocations: 133.1 kB / 0.826 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.4742, allocations: 226.1 kB / 0.8262 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/0.4742, allocations: 43.61 kB / 0.8263 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.879e-05/0.4743, allocations: 173.9 kB / 0.8264 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.591e-05/0.4744, allocations: 53.58 kB / 0.8265 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.928e-05/0.4745, allocations: 71.94 kB / 0.8265 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.977e-05/0.4746, allocations: 344.2 kB / 0.8269 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002756/0.4748, allocations: 202.6 kB / 0.8271 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003055/0.4751, allocations: 358.9 kB / 0.8274 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004032/0.4755, allocations: 317.2 kB / 0.8277 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4755, allocations: 5.25 kB / 0.8277 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000628/0.4762, allocations: 0.5289 MB / 0.8282 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.624e-05/0.4762, allocations: 92.52 kB / 0.8283 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.4762, allocations: 1.5 kB / 0.8283 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.4763, allocations: 2.656 kB / 0.8283 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.4764, allocations: 52.73 kB / 0.8284 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.016e-06/0.4764, allocations: 3.203 kB / 0.8284 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.4766, allocations: 71.75 kB / 0.8284 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.4766, allocations: 9.375 kB / 0.8285 GB, free: 11.18 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 31 (minFloRatSaf.disErr.y,$PRE.minFloRatSaf.disErr.y,ySetOn.y,$PRE.ySetOn.y,mEvaEmu_flow.count,$PRE.mEvaEmu_flow.count,mEvaEmu_flow.T_start,$PRE.mEvaEmu_flow.T_start,mConEmu_flow.count,$PRE.mConEmu_flow.count,mConEmu_flow.T_start,$PRE.mConEmu_flow.T_start,ySetPul.count,$PRE.ySetPul.count,ySetPul.T_start,$PRE.ySetPul.T_start,minFloRatSaf.hysEva.y,$PRE.minFloRatSaf.hysEva.y,minFloRatSaf.hysCon.y,$PRE.minFloRatSaf.hysCon.y,minFloRatSaf.canOpe,minFloRatSaf.errAndSetOn.y,hys.y,$PRE.hys.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,minFloRatSaf.intConOne.y,minFloRatSaf.disErr.local_set,minFloRatSaf.disErr.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001339/0.4768, allocations: 158.8 kB / 0.8286 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.4768, allocations: 26.84 kB / 0.8286 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.182e-05/0.4768, allocations: 30.25 kB / 0.8287 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.4768, allocations: 2.562 kB / 0.8287 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.4769, allocations: 0 / 0.8287 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.4769, allocations: 1.312 kB / 0.8287 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007258/0.4776, allocations: 0.5404 MB / 0.8292 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.4776, allocations: 4 kB / 0.8292 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.189e-05/0.4777, allocations: 28.56 kB / 0.8292 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.4777, allocations: 0 / 0.8292 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.4777, allocations: 13.72 kB / 0.8292 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.4777, allocations: 1.312 kB / 0.8292 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.4777, allocations: 0 / 0.8292 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004503/0.4781, allocations: 368.1 kB / 0.8296 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.72e-05/0.4782, allocations: 23.39 kB / 0.8296 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/0.4782, allocations: 12.64 kB / 0.8296 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.4784, allocations: 50.69 kB / 0.8297 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.4785, allocations: 55.52 kB / 0.8297 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/0.4785, allocations: 15.8 kB / 0.8297 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001058/0.4786, allocations: 155.9 kB / 0.8299 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4786, allocations: 0 / 0.8299 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002526/0.4789, allocations: 64.86 kB / 0.83 GB, free: 10.31 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 17 (minFloRatSaf.errAndSetOn.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hys.y,minFloRatSaf.disErr.y,minFloRatSaf.canOpe,minFloRatSaf.hysCon.y,minFloRatSaf.hysEva.y,ySetPul.T_start,ySetPul.count,mConEmu_flow.T_start,mConEmu_flow.count,mEvaEmu_flow.T_start,mEvaEmu_flow.count,ySetOn.y) * Number of discrete states: 8 (mEvaEmu_flow.count,mConEmu_flow.count,ySetPul.count,minFloRatSaf.hysEva.y,minFloRatSaf.hysCon.y,ySetOn.y,hys.y,minFloRatSaf.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000132/0.479, allocations: 118.6 kB / 0.8301 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000607/0.4796, allocations: 0.5097 MB / 0.8306 GB, free: 9.855 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4796, allocations: 0 / 0.8306 GB, free: 9.855 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002628/0.4799, allocations: 112.2 kB / 0.8307 GB, free: 9.832 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.4802, allocations: 37.91 kB / 0.8307 GB, free: 9.812 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008538/0.481, allocations: 439.5 kB / 0.8311 GB, free: 9.52 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.4812, allocations: 142 kB / 0.8313 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.927e-05/0.4813, allocations: 30.3 kB / 0.8313 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of SimCode: time 1.293e-06/0.4813, allocations: 0.7188 kB / 0.8313 GB, free: 9.422 MB / 0.6198 GB Notification: Performance of Templates: time 0.006199/0.4875, allocations: 3.37 MB / 0.8346 GB, free: 8.875 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.661731285974383] Failed to read output from testmodel.py, exit status != 0: 0.49353415286168456 0.504208237 0.033006261 Calling exit ...