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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate,tolerance=1e-08,outputFormat="empty",numberOfIntervals=200,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=200,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 93.81 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 177.4 kB / 16.92 MB, free: 6.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7786/0.7786, allocations: 126.2 MB / 418.3 MB, free: 7.922 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.000346, allocations: 8 kB / 0.4972 GB, free: 10.4 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4489/0.4492, allocations: 80.08 MB / 0.5754 GB, free: 8.246 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.002125/0.4514, allocations: 1.706 MB / 0.5771 GB, free: 7.016 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009319/0.4524, allocations: 0.5636 MB / 0.5776 GB, free: 6.621 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.4525, allocations: 6.594 kB / 0.5776 GB, free: 6.617 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.4526, allocations: 17.59 kB / 0.5777 GB, free: 6.605 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.4527, allocations: 28 kB / 0.5777 GB, free: 6.586 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000212/0.4529, allocations: 82.72 kB / 0.5778 GB, free: 6.535 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002961/0.4533, allocations: 263.6 kB / 0.578 GB, free: 6.414 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003015/0.4536, allocations: 111 kB / 0.5781 GB, free: 6.355 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.4537, allocations: 94.58 kB / 0.5782 GB, free: 6.312 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.4539, allocations: 112 kB / 0.5783 GB, free: 6.258 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.17e-05/0.454, allocations: 10.03 kB / 0.5783 GB, free: 6.258 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.495e-05/0.454, allocations: 13.53 kB / 0.5783 GB, free: 6.254 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.13e-05/0.4541, allocations: 35.91 kB / 0.5784 GB, free: 6.238 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.4542, allocations: 131.6 kB / 0.5785 GB, free: 6.137 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003936/0.4546, allocations: 268.3 kB / 0.5788 GB, free: 6.055 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.4546, allocations: 5.344 kB / 0.5788 GB, free: 6.051 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4546, allocations: 0 / 0.5788 GB, free: 6.051 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.4546, allocations: 0 / 0.5788 GB, free: 6.051 MB / 430.1 MB 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.001279/0.4559, allocations: 0.6214 MB / 0.5794 GB, free: 5.523 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.889e-05/0.456, allocations: 9.156 kB / 0.5794 GB, free: 5.523 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.109e-05/0.4561, allocations: 32.12 kB / 0.5794 GB, free: 5.508 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003229/0.4564, allocations: 274.5 kB / 0.5797 GB, free: 5.246 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.561e-05/0.4565, allocations: 19.48 kB / 0.5797 GB, free: 5.238 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.166e-05/0.4565, allocations: 24.2 kB / 0.5797 GB, free: 5.23 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000849/0.4574, allocations: 299.7 kB / 0.58 GB, free: 5.098 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.4574, allocations: 0.7812 kB / 0.58 GB, free: 5.098 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.433e-05/0.4575, allocations: 7.422 kB / 0.58 GB, free: 5.094 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.4575, allocations: 4.281 kB / 0.58 GB, free: 5.094 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008719/0.4583, allocations: 247.1 kB / 0.5802 GB, free: 5.031 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001489/0.4598, allocations: 0.6695 MB / 0.5809 GB, free: 4.617 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008484/0.4607, allocations: 237.1 kB / 0.5811 GB, free: 4.543 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003824/0.4611, allocations: 106.7 kB / 0.5812 GB, free: 4.516 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.4611, allocations: 2 kB / 0.5812 GB, free: 4.516 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006679/0.4618, allocations: 210.9 kB / 0.5814 GB, free: 4.434 MB / 430.1 MB Notification: Performance of pre-optimization done (n=19): time 1.793e-06/0.4618, allocations: 0 / 0.5814 GB, free: 4.434 MB / 430.1 MB Notification: Performance of matching and sorting (n=19): time 0.001446/0.4633, allocations: 398.9 kB / 0.5818 GB, free: 4.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/0.4633, allocations: 138.8 kB / 0.5819 GB, free: 4.16 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.4636, allocations: 209.5 kB / 0.5821 GB, free: 4.023 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.112e-05/0.4637, allocations: 39.81 kB / 0.5822 GB, free: 3.984 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.4638, allocations: 162.3 kB / 0.5823 GB, free: 3.844 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.659e-05/0.4639, allocations: 44.02 kB / 0.5824 GB, free: 3.812 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.593e-05/0.464, allocations: 41.44 kB / 0.5824 GB, free: 3.785 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.658e-05/0.4641, allocations: 331.1 kB / 0.5827 GB, free: 3.465 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004187/0.4645, allocations: 131.5 kB / 0.5829 GB, free: 3.434 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004344/0.4649, allocations: 206.1 kB / 0.5831 GB, free: 3.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007526/0.4657, allocations: 346.7 kB / 0.5834 GB, free: 3.117 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.4657, allocations: 0.5938 kB / 0.5834 GB, free: 3.117 MB / 430.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009891/0.4667, allocations: 462.4 kB / 0.5838 GB, free: 2.898 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.98e-05/0.4668, allocations: 94.72 kB / 0.5839 GB, free: 2.797 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.4668, allocations: 2.469 kB / 0.5839 GB, free: 2.797 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.4668, allocations: 2.656 kB / 0.5839 GB, free: 2.797 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002574/0.4671, allocations: 62.98 kB / 0.584 GB, free: 2.785 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.4671, allocations: 2.531 kB / 0.584 GB, free: 2.785 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003801/0.4675, allocations: 78.25 kB / 0.5841 GB, free: 2.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.85e-05/0.4675, allocations: 11.88 kB / 0.5841 GB, free: 2.766 MB / 430.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: 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.0001403/0.4676, allocations: 160.2 kB / 0.5842 GB, free: 2.625 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.522e-05/0.4677, allocations: 25.38 kB / 0.5843 GB, free: 2.609 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.623e-05/0.4677, allocations: 23.67 kB / 0.5843 GB, free: 2.594 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.4678, allocations: 2 kB / 0.5843 GB, free: 2.594 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4678, allocations: 0.9375 kB / 0.5843 GB, free: 2.594 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.4678, allocations: 2.812 kB / 0.5843 GB, free: 2.594 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.4689, allocations: 0.6502 MB / 0.5849 GB, free: 2.188 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.4689, allocations: 3.938 kB / 0.5849 GB, free: 2.184 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.4691, allocations: 39.69 kB / 0.585 GB, free: 2.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.4691, allocations: 1.375 kB / 0.585 GB, free: 2.18 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.4691, allocations: 3.578 kB / 0.585 GB, free: 2.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.4692, allocations: 5.156 kB / 0.585 GB, free: 2.176 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4692, allocations: 0.7031 kB / 0.585 GB, free: 2.176 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008152/0.47, allocations: 387.7 kB / 0.5853 GB, free: 1.984 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.799e-05/0.47, allocations: 99.55 kB / 0.5854 GB, free: 1.875 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.775e-05/0.4701, allocations: 13.27 kB / 0.5854 GB, free: 1.867 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003773/0.4705, allocations: 61.33 kB / 0.5855 GB, free: 1.863 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/0.4706, allocations: 48.98 kB / 0.5855 GB, free: 1.855 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.652e-05/0.4707, allocations: 15.23 kB / 0.5856 GB, free: 1.848 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001284/0.4708, allocations: 143.7 kB / 0.5857 GB, free: 1.754 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4708, allocations: 0 / 0.5857 GB, free: 1.754 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003374/0.4711, allocations: 58.39 kB / 0.5858 GB, free: 1.742 MB / 430.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: 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.0001358/0.4713, allocations: 119.5 kB / 0.5859 GB, free: 1.641 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009719/0.4723, allocations: 469.4 kB / 0.5863 GB, free: 1.379 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.4723, allocations: 0 / 0.5863 GB, free: 1.379 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004286/0.4727, allocations: 140.9 kB / 0.5865 GB, free: 1.344 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.4731, allocations: 32.89 kB / 0.5865 GB, free: 1.332 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009088/0.474, allocations: 457.6 kB / 0.5869 GB, free: 1.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001992/0.4742, allocations: 0.7398 MB / 0.5876 GB, free: 328 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001201/0.4744, allocations: 19.48 kB / 0.5877 GB, free: 324 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.896e-05/0.4745, allocations: 21.08 kB / 0.5877 GB, free: 316 kB / 430.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4745, allocations: 4.781 kB / 0.5877 GB, free: 312 kB / 430.1 MB Notification: Performance of Templates: time 0.008052/0.4825, allocations: 3.065 MB / 0.5907 GB, free: 88 kB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.makefile (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)