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.001465/0.001465, allocations: 111.2 kB / 18.89 MB, free: 2.875 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.001592/0.001592, allocations: 203.7 kB / 22.17 MB, free: 5.184 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.33/1.33, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] 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.016/1.016, allocations: 175.8 MB / 481.9 MB, free: 7.691 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.001916/0.001916, allocations: 71.95 kB / 0.6706 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5384/0.5403, allocations: 94.53 MB / 0.7629 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.003256/0.5435, allocations: 2.053 MB / 0.7649 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009211/0.5444, allocations: 0.5844 MB / 0.7654 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.5446, allocations: 2.719 kB / 0.7655 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001228/0.5447, allocations: 25.89 kB / 0.7655 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.5448, allocations: 43.72 kB / 0.7655 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.5451, allocations: 96.33 kB / 0.7656 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003126/0.5454, allocations: 285.5 kB / 0.7659 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002316/0.5456, allocations: 93.78 kB / 0.766 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.5458, allocations: 118.8 kB / 0.7661 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.5459, allocations: 135.8 kB / 0.7662 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.414e-05/0.546, allocations: 27.94 kB / 0.7662 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.475e-05/0.546, allocations: 28.31 kB / 0.7663 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.969e-05/0.5461, allocations: 65.56 kB / 0.7663 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.5462, allocations: 118.6 kB / 0.7664 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003689/0.5465, allocations: 308.1 kB / 0.7667 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.5465, allocations: 0.6562 kB / 0.7667 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5465, allocations: 1.031 kB / 0.7667 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.5466, 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.001176/0.5477, allocations: 0.6658 MB / 0.7674 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.5478, allocations: 9.344 kB / 0.7674 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.801e-05/0.5478, allocations: 29.44 kB / 0.7674 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.5481, allocations: 268.7 kB / 0.7677 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.5482, allocations: 19 kB / 0.7677 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.291e-05/0.5482, allocations: 26.06 kB / 0.7677 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006304/0.5488, allocations: 286.6 kB / 0.768 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.5488, allocations: 0 / 0.768 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.817e-05/0.5489, allocations: 11.25 kB / 0.768 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.5489, allocations: 5.844 kB / 0.768 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006449/0.5495, allocations: 200.4 kB / 0.7682 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.5505, allocations: 0.6542 MB / 0.7688 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006254/0.5512, allocations: 191.1 kB / 0.769 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003044/0.5515, allocations: 89.97 kB / 0.7691 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.5515, allocations: 1.969 kB / 0.7691 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004511/0.5519, allocations: 203.3 kB / 0.7693 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=19): time 1.453e-06/0.5519, allocations: 0 / 0.7693 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.001039/0.553, allocations: 334.5 kB / 0.7696 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.157e-05/0.553, allocations: 140.2 kB / 0.7698 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.5532, allocations: 206.7 kB / 0.77 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.14e-05/0.5532, allocations: 47.08 kB / 0.77 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/0.5533, allocations: 157 kB / 0.7702 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.637e-05/0.5533, allocations: 53.16 kB / 0.7702 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.462e-05/0.5534, allocations: 67.55 kB / 0.7703 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.22e-05/0.5535, allocations: 335.3 kB / 0.7706 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003605/0.5539, allocations: 116.9 kB / 0.7707 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003889/0.5542, allocations: 189.4 kB / 0.7709 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000623/0.5549, allocations: 315.8 kB / 0.7712 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.5549, allocations: 0 / 0.7712 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008429/0.5557, allocations: 431 kB / 0.7716 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.584e-05/0.5558, allocations: 95.22 kB / 0.7717 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.5558, allocations: 0.8438 kB / 0.7717 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.5558, allocations: 2.812 kB / 0.7717 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/0.556, allocations: 43.92 kB / 0.7717 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.556, allocations: 2.406 kB / 0.7717 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000356/0.5564, allocations: 72.84 kB / 0.7718 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/0.5564, allocations: 12.33 kB / 0.7718 GB, free: 4.715 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.0001159/0.5565, allocations: 148.8 kB / 0.772 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.609e-05/0.5566, allocations: 22.22 kB / 0.772 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.078e-05/0.5566, allocations: 28.19 kB / 0.772 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.5566, allocations: 3 kB / 0.772 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.5566, allocations: 7.938 kB / 0.772 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.5566, allocations: 3.656 kB / 0.772 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00097/0.5576, allocations: 0.6075 MB / 0.7726 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.5576, allocations: 4 kB / 0.7726 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.5578, allocations: 43.2 kB / 0.7727 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.5578, allocations: 1 kB / 0.7727 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.5578, allocations: 4.203 kB / 0.7727 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.5578, allocations: 1.406 kB / 0.7727 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.5578, allocations: 1.781 kB / 0.7727 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007175/0.5585, allocations: 353 kB / 0.773 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.078e-05/0.5585, allocations: 94.33 kB / 0.7731 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.789e-05/0.5586, allocations: 9.172 kB / 0.7731 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003452/0.5589, allocations: 42.61 kB / 0.7731 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/0.5591, allocations: 56.02 kB / 0.7732 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.938e-05/0.5591, allocations: 9.016 kB / 0.7732 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000112/0.5592, allocations: 154.5 kB / 0.7733 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5592, allocations: 0 / 0.7733 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003005/0.5595, allocations: 62.53 kB / 0.7734 GB, free: 3.691 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.000146/0.5597, allocations: 116.7 kB / 0.7735 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009176/0.5606, allocations: 419.2 kB / 0.7739 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.5606, allocations: 5.438 kB / 0.7739 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003693/0.561, allocations: 105.9 kB / 0.774 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.5613, allocations: 40.8 kB / 0.7741 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008139/0.5621, allocations: 421.6 kB / 0.7745 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001718/0.5623, allocations: 0.7434 MB / 0.7752 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.103e-05/0.5624, allocations: 27.72 kB / 0.7752 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of SimCode: time 5.81e-07/0.5624, allocations: 1.344 kB / 0.7752 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of Templates: time 0.005535/0.5679, allocations: 3.104 MB / 0.7783 GB, free: 2.016 MB / 0.5762 GB " [Timeout remaining time 659] 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: 8.136011254042387] Failed to read output from testmodel.py, exit status != 0: 0.5761810359545052 0.595072924 0.044641515 Calling exit ...