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.001166/0.001166, allocations: 92.22 kB / 20.43 MB, free: 4.141 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.001086/0.001086, allocations: 165 kB / 23.8 MB, free: 0.7695 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 1.097/1.097, allocations: 177.1 MB / 204.2 MB, free: 5.121 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.7338/0.7338, allocations: 115 MB / 375.7 MB, free: 7.566 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.463e-06/1.463e-06, allocations: 0 / 481.6 MB, free: 11.92 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.241e-05/3.387e-05, allocations: 5.125 kB / 481.6 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.003125/0.003159, allocations: 2.114 MB / 483.7 MB, free: 10.56 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.004179, allocations: 0.624 MB / 484.3 MB, free: 10.14 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.004311, allocations: 3.406 kB / 484.3 MB, free: 10.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001225/0.004433, allocations: 26.11 kB / 484.3 MB, free: 10.12 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001301/0.004563, allocations: 46.16 kB / 484.4 MB, free: 10.08 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002285/0.004792, allocations: 103.6 kB / 484.5 MB, free: 10.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003346/0.005126, allocations: 312.6 kB / 484.8 MB, free: 9.875 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00023/0.005356, allocations: 90.03 kB / 484.9 MB, free: 9.824 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.005571, allocations: 186.9 kB / 485.1 MB, free: 9.734 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.005715, allocations: 112.5 kB / 485.2 MB, free: 9.691 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.9e-05/0.005784, allocations: 31.44 kB / 485.2 MB, free: 9.691 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.536e-05/0.005829, allocations: 32.06 kB / 485.2 MB, free: 9.691 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.227e-05/0.005881, allocations: 69.95 kB / 485.3 MB, free: 9.645 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.419e-05/0.005975, allocations: 89.09 kB / 485.4 MB, free: 9.598 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000272/0.006247, allocations: 227.4 kB / 485.6 MB, free: 9.473 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.00625, allocations: 0 / 485.6 MB, free: 9.473 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.006251, allocations: 0 / 485.6 MB, free: 9.473 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.503e-06/0.006257, allocations: 2.094 kB / 485.6 MB, free: 9.473 MB / 410.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.0008395/0.007097, allocations: 0.7034 MB / 486.3 MB, free: 8.875 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.007142, allocations: 10.16 kB / 486.3 MB, free: 8.875 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.491e-05/0.007237, allocations: 54.09 kB / 486.4 MB, free: 8.855 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.007508, allocations: 219.3 kB / 486.6 MB, free: 8.668 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.164e-05/0.00754, allocations: 20.16 kB / 486.6 MB, free: 8.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.776e-05/0.007578, allocations: 26.14 kB / 486.6 MB, free: 8.656 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004265/0.008004, allocations: 376.7 kB / 487 MB, free: 8.383 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.008016, allocations: 0.5625 kB / 487 MB, free: 8.383 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.315e-05/0.008039, allocations: 18.28 kB / 487 MB, free: 8.371 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.008051, allocations: 5.156 kB / 487 MB, free: 8.371 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000169/0.00822, allocations: 73.39 kB / 487.1 MB, free: 8.359 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008071/0.009028, allocations: 0.575 MB / 487.7 MB, free: 7.965 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.009225, allocations: 102.6 kB / 487.8 MB, free: 7.914 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.993e-05/0.009295, allocations: 39.7 kB / 487.8 MB, free: 7.891 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.009312, allocations: 3.188 kB / 487.8 MB, free: 7.891 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002211/0.009533, allocations: 157.4 kB / 488 MB, free: 7.816 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 1.783e-06/0.009535, allocations: 0 / 488 MB, free: 7.816 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003702/0.009905, allocations: 193.1 kB / 488.2 MB, free: 7.746 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/0.009962, allocations: 137.9 kB / 488.3 MB, free: 7.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.01014, allocations: 281.4 kB / 488.6 MB, free: 7.375 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.01016, allocations: 39.69 kB / 488.6 MB, free: 7.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002531/0.01041, allocations: 213.2 kB / 488.8 MB, free: 23.15 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.771e-05/0.01045, allocations: 59.02 kB / 488.9 MB, free: 23.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.934e-05/0.01055, allocations: 81.27 kB / 488.9 MB, free: 23.06 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.0107, allocations: 0.5088 MB / 489.5 MB, free: 22.55 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.01082, allocations: 127.5 kB / 489.6 MB, free: 22.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.01101, allocations: 306.4 kB / 489.9 MB, free: 22.14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.01121, allocations: 223.5 kB / 490.1 MB, free: 21.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.01121, allocations: 0 / 490.1 MB, free: 21.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004153/0.01162, allocations: 418.3 kB / 490.5 MB, free: 21.64 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.961e-05/0.01168, allocations: 91.88 kB / 490.6 MB, free: 21.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.01169, allocations: 1.312 kB / 490.6 MB, free: 21.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.01171, allocations: 4.031 kB / 490.6 MB, free: 21.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.01187, allocations: 46.77 kB / 490.6 MB, free: 21.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.01188, allocations: 4.375 kB / 490.6 MB, free: 21.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.01204, allocations: 61.28 kB / 490.7 MB, free: 21.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.01206, allocations: 7.844 kB / 490.7 MB, free: 21.52 MB / 426.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.000124/0.01219, allocations: 189.5 kB / 490.9 MB, free: 21.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.923e-05/0.01222, allocations: 32.03 kB / 490.9 MB, free: 21.33 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.369e-05/0.01227, allocations: 34.31 kB / 491 MB, free: 21.31 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.01227, allocations: 2.594 kB / 491 MB, free: 21.31 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.01228, allocations: 0 / 491 MB, free: 21.31 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.01229, allocations: 0 / 491 MB, free: 21.31 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005209/0.01281, allocations: 0.4966 MB / 491.5 MB, free: 20.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.01281, allocations: 1.125 kB / 491.5 MB, free: 20.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.608e-05/0.01289, allocations: 22.86 kB / 491.5 MB, free: 20.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.01289, allocations: 1.156 kB / 491.5 MB, free: 20.94 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.0129, allocations: 4.5 kB / 491.5 MB, free: 20.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.01291, allocations: 1.125 kB / 491.5 MB, free: 20.94 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.01291, allocations: 1.219 kB / 491.5 MB, free: 20.94 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002906/0.0132, allocations: 326.5 kB / 491.8 MB, free: 20.71 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.304e-05/0.01322, allocations: 17.86 kB / 491.8 MB, free: 20.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/0.01326, allocations: 14.47 kB / 491.8 MB, free: 20.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.01339, allocations: 35.62 kB / 491.9 MB, free: 20.69 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.01351, allocations: 59.22 kB / 491.9 MB, free: 20.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.37e-05/0.01353, allocations: 12.3 kB / 492 MB, free: 20.67 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001161/0.01364, allocations: 181.8 kB / 492.1 MB, free: 20.54 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01365, allocations: 0 / 492.1 MB, free: 20.54 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002527/0.0139, allocations: 65.52 kB / 492.2 MB, free: 20.52 MB / 426.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.00012/0.01402, allocations: 119.6 kB / 492.3 MB, free: 20.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004099/0.01443, allocations: 398.5 kB / 492.7 MB, free: 20.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01443, allocations: 0 / 492.7 MB, free: 20.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.01454, allocations: 75.59 kB / 492.8 MB, free: 20.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.01481, allocations: 49.16 kB / 492.8 MB, free: 20.05 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005926/0.0154, allocations: 396.9 kB / 493.2 MB, free: 19.78 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.581e-05/0.01546, allocations: 82.84 kB / 493.3 MB, free: 19.71 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.872e-05/0.01553, allocations: 23.56 kB / 493.3 MB, free: 19.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.142e-05/0.01562, allocations: 31.39 kB / 493.3 MB, free: 19.69 MB / 426.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01562, allocations: 0 / 493.3 MB, free: 19.69 MB / 426.7 MB Notification: Performance of Templates: time 0.007415/0.02303, allocations: 4.045 MB / 497.4 MB, free: 19.4 MB / 426.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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.262524005025625]