Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001254/0.001254, allocations: 82.64 kB / 19.94 MB, free: 1.777 MB / 14.72 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.001394/0.001394, allocations: 163.7 kB / 23.21 MB, free: 4.902 MB / 14.72 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 1.373/1.373, allocations: 177.1 MB / 203.5 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.8965/0.8965, allocations: 114 MB / 373.9 MB, free: 13.25 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate") translateModel(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 0.5547 GB, free: 2.586 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.862e-05/3.976e-05, allocations: 4.375 kB / 0.5547 GB, free: 2.582 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.003138/0.003177, allocations: 2.046 MB / 0.5567 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.004246, allocations: 0.5922 MB / 0.5573 GB, free: 15.94 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.653e-05/0.004343, allocations: 0 / 0.5573 GB, free: 15.94 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.004456, allocations: 35.53 kB / 0.5573 GB, free: 15.91 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001497/0.004606, allocations: 51.53 kB / 0.5574 GB, free: 15.86 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002243/0.00483, allocations: 99.86 kB / 0.5575 GB, free: 15.76 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003618/0.005192, allocations: 319 kB / 0.5578 GB, free: 15.45 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002541/0.005446, allocations: 97.55 kB / 0.5579 GB, free: 15.35 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002377/0.005684, allocations: 183.6 kB / 0.5581 GB, free: 15.17 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.005839, allocations: 111.6 kB / 0.5582 GB, free: 15.06 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.718e-05/0.005896, allocations: 32 kB / 0.5582 GB, free: 15.03 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.82e-05/0.005944, allocations: 32 kB / 0.5582 GB, free: 15 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.75e-05/0.006032, allocations: 75.73 kB / 0.5583 GB, free: 14.93 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.006144, allocations: 87.75 kB / 0.5584 GB, free: 14.84 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003841/0.006528, allocations: 346.9 kB / 0.5587 GB, free: 14.5 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.00653, allocations: 0 / 0.5587 GB, free: 14.5 MB / 478.1 MB Notification: Performance of FrontEnd: time 5.51e-07/0.006531, allocations: 0 / 0.5587 GB, free: 14.5 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.006536, allocations: 0 / 0.5587 GB, free: 14.5 MB / 478.1 MB 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.001247/0.007783, allocations: 0.6203 MB / 0.5593 GB, free: 13.83 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.007816, allocations: 8.031 kB / 0.5593 GB, free: 13.82 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.791e-05/0.007904, allocations: 32.75 kB / 0.5594 GB, free: 13.79 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003557/0.008259, allocations: 213.9 kB / 0.5596 GB, free: 13.56 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/0.008289, allocations: 24.81 kB / 0.5596 GB, free: 13.54 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.893e-05/0.008338, allocations: 24.38 kB / 0.5596 GB, free: 13.51 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007465/0.009085, allocations: 420 kB / 0.56 GB, free: 13.06 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.009095, allocations: 0 / 0.56 GB, free: 13.06 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.241e-05/0.009127, allocations: 12 kB / 0.56 GB, free: 13.05 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.009134, allocations: 4 kB / 0.56 GB, free: 13.04 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007118/0.009846, allocations: 217.8 kB / 0.5602 GB, free: 12.83 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.01098, allocations: 0.5411 MB / 0.5608 GB, free: 12.26 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006875/0.01167, allocations: 198.4 kB / 0.5609 GB, free: 12.05 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003465/0.01202, allocations: 97.08 kB / 0.561 GB, free: 11.96 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.01204, allocations: 3.906 kB / 0.561 GB, free: 11.95 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005103/0.01255, allocations: 213.6 kB / 0.5612 GB, free: 11.73 MB / 478.1 MB Notification: Performance of pre-optimization done (n=21): time 1.704e-06/0.01255, allocations: 4 kB / 0.5612 GB, free: 11.73 MB / 478.1 MB Notification: Performance of matching and sorting (n=21): time 0.001125/0.01367, allocations: 345.3 kB / 0.5616 GB, free: 11.39 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.932e-05/0.01376, allocations: 136.5 kB / 0.5617 GB, free: 11.22 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/0.01398, allocations: 231.1 kB / 0.5619 GB, free: 10.99 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.734e-05/0.01403, allocations: 41.7 kB / 0.562 GB, free: 10.94 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.01416, allocations: 168.7 kB / 0.5621 GB, free: 10.77 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.498e-05/0.01421, allocations: 55.61 kB / 0.5622 GB, free: 10.71 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.01433, allocations: 69.69 kB / 0.5622 GB, free: 10.64 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.0145, allocations: 338.8 kB / 0.5626 GB, free: 10.3 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004375/0.01494, allocations: 201.3 kB / 0.5628 GB, free: 10.08 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005343/0.01547, allocations: 363 kB / 0.5631 GB, free: 9.664 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007402/0.01621, allocations: 323.1 kB / 0.5634 GB, free: 9.309 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.01622, allocations: 0 / 0.5634 GB, free: 9.309 MB / 478.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001038/0.01725, allocations: 0.5178 MB / 0.5639 GB, free: 8.75 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.711e-05/0.01733, allocations: 97.25 kB / 0.564 GB, free: 8.637 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.01734, allocations: 0 / 0.564 GB, free: 8.637 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.01735, allocations: 4 kB / 0.564 GB, free: 8.633 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.01759, allocations: 43.89 kB / 0.5641 GB, free: 8.59 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.0176, allocations: 4 kB / 0.5641 GB, free: 8.586 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000354/0.01795, allocations: 75.66 kB / 0.5641 GB, free: 8.512 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.002e-05/0.01798, allocations: 19.98 kB / 0.5642 GB, free: 8.492 MB / 478.1 MB 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.0001853/0.01816, allocations: 156.3 kB / 0.5643 GB, free: 8.332 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.01821, allocations: 23.86 kB / 0.5643 GB, free: 8.309 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.346e-05/0.01828, allocations: 30 kB / 0.5644 GB, free: 8.277 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.01828, allocations: 3.984 kB / 0.5644 GB, free: 8.273 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.01829, allocations: 4 kB / 0.5644 GB, free: 8.27 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.01829, allocations: 3.938 kB / 0.5644 GB, free: 8.266 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/0.0194, allocations: 0.5474 MB / 0.5649 GB, free: 7.684 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.0194, allocations: 0 / 0.5649 GB, free: 7.684 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001783/0.01958, allocations: 31.91 kB / 0.5649 GB, free: 7.652 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.01958, allocations: 0 / 0.5649 GB, free: 7.652 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.0196, allocations: 7.984 kB / 0.5649 GB, free: 7.645 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.01961, allocations: 4 kB / 0.5649 GB, free: 7.641 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.01961, allocations: 4 kB / 0.5649 GB, free: 7.637 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008214/0.02043, allocations: 359.8 kB / 0.5653 GB, free: 7.27 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.222e-05/0.02046, allocations: 19.86 kB / 0.5653 GB, free: 7.25 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.069e-05/0.02051, allocations: 15.92 kB / 0.5653 GB, free: 7.234 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000337/0.02085, allocations: 51.94 kB / 0.5654 GB, free: 7.184 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/0.02099, allocations: 51.91 kB / 0.5654 GB, free: 7.133 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-05/0.02102, allocations: 11.98 kB / 0.5654 GB, free: 7.121 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001476/0.02117, allocations: 148.7 kB / 0.5656 GB, free: 6.977 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.02117, allocations: 0 / 0.5656 GB, free: 6.977 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003235/0.02149, allocations: 63.88 kB / 0.5656 GB, free: 6.914 MB / 478.1 MB 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.0001628/0.02166, allocations: 123.1 kB / 0.5658 GB, free: 6.785 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.02268, allocations: 0.5051 MB / 0.5662 GB, free: 6.227 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.02269, allocations: 0 / 0.5662 GB, free: 6.227 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004142/0.0231, allocations: 120.2 kB / 0.5664 GB, free: 6.109 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.02349, allocations: 32.66 kB / 0.5664 GB, free: 6.074 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009036/0.0244, allocations: 403.3 kB / 0.5668 GB, free: 5.652 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/0.02453, allocations: 138.2 kB / 0.5669 GB, free: 5.496 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001069/0.02464, allocations: 29.92 kB / 0.5669 GB, free: 5.469 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.02475, allocations: 28.48 kB / 0.567 GB, free: 5.438 MB / 478.1 MB Notification: Performance of SimCode: time 3.31e-07/0.02475, allocations: 0 / 0.567 GB, free: 5.438 MB / 478.1 MB Notification: Performance of Templates: time 0.008216/0.03296, allocations: 4.038 MB / 0.5709 GB, free: 1.508 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.177221737802029] Failed to read output from testmodel.py, exit status != 0: 0.041027504950761795 0.054579141000000005 0.045245675000000006 Calling exit ...