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.000822/0.000822, allocations: 84.44 kB / 20.7 MB, free: 3.871 MB / 18.57 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.0007951/0.0007951, allocations: 165.9 kB / 23.96 MB, free: 0.6055 MB / 18.57 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.8682/0.8682, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 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.5331/0.5331, allocations: 114 MB / 374.7 MB, free: 8.703 MB / 346.7 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.483e-06/1.483e-06, allocations: 0 / 0.5555 GB, free: 1.137 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.573e-05/2.721e-05, allocations: 2.281 kB / 0.5555 GB, free: 1.133 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.002556/0.002583, allocations: 2.028 MB / 0.5575 GB, free: 15.09 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009465/0.00353, allocations: 0.596 MB / 0.558 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.003658, allocations: 7.938 kB / 0.558 GB, free: 14.49 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001183/0.003776, allocations: 27.66 kB / 0.5581 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.003911, allocations: 43.53 kB / 0.5581 GB, free: 14.42 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002504/0.004161, allocations: 99.86 kB / 0.5582 GB, free: 14.32 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002991/0.00446, allocations: 323 kB / 0.5585 GB, free: 14 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002269/0.004687, allocations: 104.4 kB / 0.5586 GB, free: 13.9 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.004889, allocations: 183.6 kB / 0.5588 GB, free: 13.72 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.005008, allocations: 103.7 kB / 0.5589 GB, free: 13.62 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 4.205e-05/0.005051, allocations: 32 kB / 0.5589 GB, free: 13.59 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.642e-05/0.005077, allocations: 35.94 kB / 0.559 GB, free: 13.55 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.142e-05/0.005128, allocations: 67.8 kB / 0.559 GB, free: 13.49 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.647e-05/0.005205, allocations: 91.73 kB / 0.5591 GB, free: 13.4 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003081/0.005513, allocations: 342.9 kB / 0.5594 GB, free: 13.06 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.005517, allocations: 7.938 kB / 0.5594 GB, free: 13.05 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.005519, allocations: 0 / 0.5594 GB, free: 13.05 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.005524, allocations: 4 kB / 0.5594 GB, free: 13.05 MB / 490.7 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.0008975/0.006422, allocations: 0.6129 MB / 0.56 GB, free: 12.39 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.006462, allocations: 8.031 kB / 0.5601 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.841e-05/0.00654, allocations: 36.75 kB / 0.5601 GB, free: 12.35 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003695/0.00691, allocations: 217.9 kB / 0.5603 GB, free: 12.11 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.006934, allocations: 16.88 kB / 0.5603 GB, free: 12.09 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.117e-05/0.006965, allocations: 28.38 kB / 0.5603 GB, free: 12.07 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004702/0.007435, allocations: 416 kB / 0.5607 GB, free: 11.62 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.007445, allocations: 0 / 0.5607 GB, free: 11.62 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.007469, allocations: 12 kB / 0.5607 GB, free: 11.61 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.007476, allocations: 4 kB / 0.5608 GB, free: 11.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003792/0.007856, allocations: 221.8 kB / 0.561 GB, free: 11.38 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007877/0.008643, allocations: 0.5411 MB / 0.5615 GB, free: 10.81 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003639/0.009007, allocations: 202.4 kB / 0.5617 GB, free: 10.61 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.009165, allocations: 90.66 kB / 0.5618 GB, free: 10.52 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.009179, allocations: 7.906 kB / 0.5618 GB, free: 10.51 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003042/0.009483, allocations: 211 kB / 0.562 GB, free: 10.29 MB / 490.7 MB Notification: Performance of pre-optimization done (n=21): time 1.744e-06/0.009485, allocations: 0 / 0.562 GB, free: 10.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006423/0.01013, allocations: 351.3 kB / 0.5623 GB, free: 9.941 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.936e-05/0.0102, allocations: 136.5 kB / 0.5624 GB, free: 9.777 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.01036, allocations: 227.8 kB / 0.5627 GB, free: 9.547 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.149e-05/0.01039, allocations: 41.69 kB / 0.5627 GB, free: 9.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.01049, allocations: 172.6 kB / 0.5629 GB, free: 9.324 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.686e-05/0.01053, allocations: 47.64 kB / 0.5629 GB, free: 9.277 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.263e-05/0.01062, allocations: 73.67 kB / 0.563 GB, free: 9.199 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.01073, allocations: 350.7 kB / 0.5633 GB, free: 8.848 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002476/0.01097, allocations: 201.3 kB / 0.5635 GB, free: 8.629 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002818/0.01126, allocations: 354.4 kB / 0.5638 GB, free: 8.219 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003704/0.01163, allocations: 319.1 kB / 0.5642 GB, free: 7.867 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.01163, allocations: 0 / 0.5642 GB, free: 7.867 MB / 490.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005765/0.01221, allocations: 0.5217 MB / 0.5647 GB, free: 7.305 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.059e-05/0.01227, allocations: 93.09 kB / 0.5647 GB, free: 7.195 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/0.01227, allocations: 4 kB / 0.5648 GB, free: 7.191 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.01229, allocations: 0 / 0.5648 GB, free: 7.191 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.01243, allocations: 48.05 kB / 0.5648 GB, free: 7.145 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.01244, allocations: 4 kB / 0.5648 GB, free: 7.141 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.01262, allocations: 75.72 kB / 0.5649 GB, free: 7.066 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.836e-05/0.01264, allocations: 11.98 kB / 0.5649 GB, free: 7.055 MB / 490.7 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.0001364/0.01278, allocations: 160.4 kB / 0.565 GB, free: 6.891 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.0128, allocations: 23.86 kB / 0.5651 GB, free: 6.867 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.394e-05/0.01285, allocations: 37.89 kB / 0.5651 GB, free: 6.828 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.01285, allocations: 4 kB / 0.5651 GB, free: 6.824 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.01285, allocations: 0 / 0.5651 GB, free: 6.824 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.01286, allocations: 0 / 0.5651 GB, free: 6.824 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006317/0.01349, allocations: 0.5457 MB / 0.5656 GB, free: 6.242 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.01349, allocations: 0 / 0.5656 GB, free: 6.242 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.842e-05/0.01356, allocations: 35.91 kB / 0.5657 GB, free: 6.207 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.01356, allocations: 0 / 0.5657 GB, free: 6.207 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.01358, allocations: 11.98 kB / 0.5657 GB, free: 6.195 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.01358, allocations: 0 / 0.5657 GB, free: 6.195 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.01358, allocations: 3.938 kB / 0.5657 GB, free: 6.191 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004064/0.01399, allocations: 367.2 kB / 0.566 GB, free: 5.82 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.065e-05/0.01401, allocations: 19.86 kB / 0.5661 GB, free: 5.801 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.238e-05/0.01404, allocations: 8 kB / 0.5661 GB, free: 5.793 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.01419, allocations: 51.92 kB / 0.5661 GB, free: 5.742 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.0143, allocations: 55.91 kB / 0.5662 GB, free: 5.688 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.01432, allocations: 7.984 kB / 0.5662 GB, free: 5.68 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.557e-05/0.0144, allocations: 152.7 kB / 0.5663 GB, free: 5.531 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0144, allocations: 0 / 0.5663 GB, free: 5.531 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002258/0.01463, allocations: 63.89 kB / 0.5664 GB, free: 5.469 MB / 490.7 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.0001199/0.01475, allocations: 123.1 kB / 0.5665 GB, free: 5.34 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005467/0.01529, allocations: 0.507 MB / 0.567 GB, free: 4.777 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.0153, allocations: 0 / 0.567 GB, free: 4.777 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001906/0.01549, allocations: 111.9 kB / 0.5671 GB, free: 4.668 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.01576, allocations: 44.23 kB / 0.5671 GB, free: 4.625 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006339/0.01639, allocations: 437.6 kB / 0.5676 GB, free: 4.168 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.147e-05/0.01648, allocations: 138.2 kB / 0.5677 GB, free: 4.012 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.171e-05/0.01656, allocations: 32.48 kB / 0.5677 GB, free: 3.977 MB / 490.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01656, allocations: 0 / 0.5677 GB, free: 3.977 MB / 490.7 MB Notification: Performance of Templates: time 0.004094/0.02066, allocations: 3.375 MB / 0.571 GB, free: 0.6289 MB / 490.7 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: 4.956275152042508] Failed to read output from testmodel.py, exit status != 0: 0.0263769393786788 0.036045975 0.028782951 Calling exit ...