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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 197.8 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.021/1.021, allocations: 175.8 MB / 481.9 MB, free: 7.68 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 80.84 kB / 0.6706 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4593/0.4612, allocations: 94.53 MB / 0.7629 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.002877/0.4641, allocations: 2.055 MB / 0.7649 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008051/0.4649, allocations: 0.5763 MB / 0.7654 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.77e-05/0.465, allocations: 8 kB / 0.7655 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.4651, allocations: 25.75 kB / 0.7655 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000116/0.4652, allocations: 43.14 kB / 0.7655 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.4654, allocations: 97.48 kB / 0.7656 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002656/0.4657, allocations: 281.7 kB / 0.7659 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001872/0.4659, allocations: 93.8 kB / 0.766 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.466, allocations: 123.4 kB / 0.7661 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.4661, allocations: 134.2 kB / 0.7662 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.87e-05/0.4662, allocations: 28.19 kB / 0.7662 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.845e-05/0.4662, allocations: 29.66 kB / 0.7663 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.33e-05/0.4663, allocations: 60.52 kB / 0.7663 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.512e-05/0.4664, allocations: 122.6 kB / 0.7664 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003014/0.4667, allocations: 303.1 kB / 0.7667 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.4667, allocations: 0.7031 kB / 0.7667 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.052e-06/0.4667, allocations: 3.375 kB / 0.7667 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.4667, allocations: 0 / 0.7667 GB, free: 8.008 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001061/0.4677, allocations: 0.6639 MB / 0.7674 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.928e-05/0.4678, allocations: 10.44 kB / 0.7674 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.378e-05/0.4678, allocations: 29 kB / 0.7674 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.4681, allocations: 272.3 kB / 0.7677 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.4681, allocations: 19.12 kB / 0.7677 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.355e-05/0.4682, allocations: 25.61 kB / 0.7677 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005937/0.4688, allocations: 279.3 kB / 0.768 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.4688, allocations: 9.688 kB / 0.768 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.64e-05/0.4688, allocations: 11.02 kB / 0.768 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.4688, allocations: 5.031 kB / 0.768 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006485/0.4694, allocations: 206.3 kB / 0.7682 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009611/0.4704, allocations: 0.6467 MB / 0.7688 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006257/0.471, allocations: 192.3 kB / 0.769 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000301/0.4713, allocations: 86.94 kB / 0.7691 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.4713, allocations: 5.281 kB / 0.7691 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004297/0.4718, allocations: 203.4 kB / 0.7693 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=19): time 1.623e-06/0.4718, allocations: 0 / 0.7693 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.001014/0.4728, allocations: 335.6 kB / 0.7696 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.4728, allocations: 142.3 kB / 0.7698 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.473, allocations: 207.3 kB / 0.77 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.058e-05/0.473, allocations: 42.05 kB / 0.77 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.548e-05/0.4731, allocations: 157.5 kB / 0.7702 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.4731, allocations: 53.16 kB / 0.7702 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.222e-05/0.4732, allocations: 72.75 kB / 0.7703 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.327e-05/0.4732, allocations: 330.7 kB / 0.7706 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003564/0.4736, allocations: 112.8 kB / 0.7707 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003804/0.474, allocations: 193.6 kB / 0.7709 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006268/0.4746, allocations: 312.4 kB / 0.7712 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.4746, allocations: 0 / 0.7712 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008503/0.4755, allocations: 433.4 kB / 0.7716 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.68e-05/0.4755, allocations: 95.53 kB / 0.7717 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.4755, allocations: 1.156 kB / 0.7717 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.4755, allocations: 2.625 kB / 0.7717 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.4758, allocations: 44.92 kB / 0.7717 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/0.4758, allocations: 6.906 kB / 0.7717 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003403/0.4761, allocations: 68.58 kB / 0.7718 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.4761, allocations: 8.5 kB / 0.7718 GB, free: 4.711 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 28 (minFloRatSaf.disErr.y,$PRE.minFloRatSaf.disErr.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.booPasThr.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 (33): * Single equations (assignments): 30 * 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.0001061/0.4762, allocations: 150 kB / 0.772 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.384e-05/0.4763, allocations: 22.06 kB / 0.772 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.992e-05/0.4763, allocations: 34.41 kB / 0.772 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.4763, allocations: 1.5 kB / 0.772 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4763, allocations: 2.531 kB / 0.772 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.4763, allocations: 0 / 0.772 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009411/0.4773, allocations: 0.6226 MB / 0.7726 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.4773, allocations: 0.9688 kB / 0.7726 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.4774, allocations: 32.34 kB / 0.7727 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.4774, allocations: 5 kB / 0.7727 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.4774, allocations: 6.328 kB / 0.7727 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4774, allocations: 1.156 kB / 0.7727 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4774, allocations: 5.125 kB / 0.7727 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000684/0.4781, allocations: 352 kB / 0.773 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.289e-05/0.4782, allocations: 95.44 kB / 0.7731 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.708e-05/0.4782, allocations: 8.438 kB / 0.7731 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003812/0.4786, allocations: 46.19 kB / 0.7731 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.4787, allocations: 55.3 kB / 0.7732 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.4787, allocations: 7.188 kB / 0.7732 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001119/0.4789, allocations: 152.5 kB / 0.7734 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4789, allocations: 0 / 0.7734 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002963/0.4792, allocations: 62.7 kB / 0.7734 GB, free: 3.684 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (minFloRatSaf.booPasThr.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hys.y,minFloRatSaf.disErr.y,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) * Number of discrete states: 7 (mEvaEmu_flow.count,mConEmu_flow.count,ySetPul.count,minFloRatSaf.hysEva.y,minFloRatSaf.hysCon.y,hys.y,minFloRatSaf.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 12 * 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.0001097/0.4793, allocations: 116.6 kB / 0.7735 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008336/0.4801, allocations: 416 kB / 0.7739 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4801, allocations: 0 / 0.7739 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003698/0.4805, allocations: 116.5 kB / 0.774 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.4808, allocations: 41.23 kB / 0.7741 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007539/0.4816, allocations: 392.6 kB / 0.7744 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/0.4817, allocations: 0.7439 MB / 0.7752 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.329e-05/0.4818, allocations: 24.09 kB / 0.7752 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.922e-05/0.4819, allocations: 27.33 kB / 0.7752 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.4819, allocations: 0 / 0.7752 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of Templates: time 0.006831/0.4887, allocations: 3.603 MB / 0.7787 GB, free: 2.109 MB / 0.5762 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 -s gbode -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.5948150446638465] Failed to read output from testmodel.py, exit status != 0: 0.49611380184069276 0.508862446 0.039304357000000005 Calling exit ...