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.0008439/0.0008439, allocations: 72.5 kB / 19.92 MB, free: 4.633 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.0008546/0.0008546, allocations: 173.9 kB / 23.21 MB, free: 1.348 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.8724/0.8724, allocations: 177.1 MB / 203.5 MB, free: 5.719 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.5582/0.5582, allocations: 114 MB / 373.9 MB, free: 8.695 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: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_MinimalFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_MinimalFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 0.5542 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.575e-05/1.751e-05, allocations: 6.219 kB / 0.5543 GB, free: 2.719 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.002332/0.002349, allocations: 2.035 MB / 0.5562 GB, free: 0.6797 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0009077/0.003257, allocations: 0.5883 MB / 0.5568 GB, free: 92 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.003366, allocations: 0 / 0.5568 GB, free: 92 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001128/0.003479, allocations: 27.67 kB / 0.5568 GB, free: 64 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001262/0.003605, allocations: 51.52 kB / 0.5569 GB, free: 12 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.003846, allocations: 107.9 kB / 0.557 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002665/0.004113, allocations: 311.2 kB / 0.5573 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002141/0.004327, allocations: 96.45 kB / 0.5574 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001897/0.004516, allocations: 187.5 kB / 0.5576 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.004638, allocations: 103.7 kB / 0.5577 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.173e-05/0.00468, allocations: 32 kB / 0.5577 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 2.723e-05/0.004707, allocations: 32 kB / 0.5577 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 5.359e-05/0.004761, allocations: 67.8 kB / 0.5578 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 8.433e-05/0.004845, allocations: 91.73 kB / 0.5579 GB, free: 15 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003181/0.005163, allocations: 346.9 kB / 0.5582 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.005166, allocations: 0 / 0.5582 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.192e-06/0.005167, allocations: 4 kB / 0.5582 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.005173, allocations: 0 / 0.5582 GB, free: 14.66 MB / 0.5261 GB 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.0009156/0.006088, allocations: 0.6203 MB / 0.5588 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.006133, allocations: 8.031 kB / 0.5588 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.432e-05/0.006217, allocations: 67.22 kB / 0.5589 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.947e-05/0.006277, allocations: 32.75 kB / 0.5589 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003193/0.006596, allocations: 217.9 kB / 0.5591 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.006618, allocations: 20.86 kB / 0.5591 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.195e-05/0.006649, allocations: 40.06 kB / 0.5592 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004283/0.007078, allocations: 412 kB / 0.5596 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.007086, allocations: 0 / 0.5596 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.007107, allocations: 12 kB / 0.5596 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.007113, allocations: 8 kB / 0.5596 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003667/0.00748, allocations: 213.8 kB / 0.5598 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008412/0.008321, allocations: 0.6 MB / 0.5604 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003707/0.008692, allocations: 206.4 kB / 0.5606 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.008853, allocations: 96.72 kB / 0.5607 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.008867, allocations: 4 kB / 0.5607 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002963/0.009163, allocations: 200 kB / 0.5609 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=21): time 1.132e-06/0.009164, allocations: 0 / 0.5609 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=21): time 0.0006033/0.009768, allocations: 359.8 kB / 0.5612 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.184e-05/0.009829, allocations: 140.5 kB / 0.5613 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.009974, allocations: 231.7 kB / 0.5616 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.01, allocations: 37.7 kB / 0.5616 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.32e-05/0.01008, allocations: 164.7 kB / 0.5618 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.527e-05/0.01012, allocations: 67.56 kB / 0.5618 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.926e-05/0.0102, allocations: 73.69 kB / 0.5619 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.449e-05/0.01028, allocations: 330.8 kB / 0.5622 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/0.01052, allocations: 209.3 kB / 0.5624 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002677/0.01079, allocations: 350.4 kB / 0.5627 GB, free: 9.656 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000354/0.01114, allocations: 319.1 kB / 0.563 GB, free: 9.305 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01114, allocations: 0 / 0.563 GB, free: 9.305 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005369/0.01168, allocations: 0.5256 MB / 0.5636 GB, free: 8.738 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.296e-05/0.01172, allocations: 85.11 kB / 0.5636 GB, free: 8.637 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.01173, allocations: 4 kB / 0.5636 GB, free: 8.633 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.01174, allocations: 4.156 kB / 0.5636 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.01186, allocations: 51.89 kB / 0.5637 GB, free: 8.578 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.01187, allocations: 7.938 kB / 0.5637 GB, free: 8.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.01204, allocations: 71.7 kB / 0.5638 GB, free: 8.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.01206, allocations: 12 kB / 0.5638 GB, free: 8.488 MB / 0.5261 GB 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.000115/0.01217, allocations: 152.4 kB / 0.5639 GB, free: 8.332 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.0122, allocations: 27.84 kB / 0.564 GB, free: 8.305 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.954e-05/0.01224, allocations: 25.97 kB / 0.564 GB, free: 8.281 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.01224, allocations: 4 kB / 0.564 GB, free: 8.277 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.01225, allocations: 0 / 0.564 GB, free: 8.277 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/0.01225, allocations: 11.86 kB / 0.564 GB, free: 8.266 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006225/0.01287, allocations: 0.5796 MB / 0.5646 GB, free: 7.637 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.01288, allocations: 0 / 0.5646 GB, free: 7.637 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.856e-05/0.01295, allocations: 31.91 kB / 0.5646 GB, free: 7.605 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.113e-06/0.01295, allocations: 0 / 0.5646 GB, free: 7.605 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.01296, allocations: 12.03 kB / 0.5646 GB, free: 7.594 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.01297, allocations: 7.938 kB / 0.5646 GB, free: 7.586 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.01297, allocations: 11.86 kB / 0.5646 GB, free: 7.574 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003971/0.01336, allocations: 366.4 kB / 0.565 GB, free: 7.203 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.995e-05/0.01338, allocations: 19.86 kB / 0.565 GB, free: 7.184 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.01341, allocations: 8 kB / 0.565 GB, free: 7.176 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.01356, allocations: 51.92 kB / 0.565 GB, free: 7.125 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.256e-05/0.01365, allocations: 63.84 kB / 0.5651 GB, free: 7.062 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.01367, allocations: 11.98 kB / 0.5651 GB, free: 7.051 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 8.135e-05/0.01375, allocations: 144.7 kB / 0.5653 GB, free: 6.91 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.01375, allocations: 0 / 0.5653 GB, free: 6.91 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002096/0.01396, allocations: 67.89 kB / 0.5653 GB, free: 6.844 MB / 0.5261 GB 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.0008274/0.01479, allocations: 1.029 MB / 0.5663 GB, free: 5.789 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005179/0.01531, allocations: 0.5071 MB / 0.5668 GB, free: 5.227 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01531, allocations: 0 / 0.5668 GB, free: 5.227 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001857/0.0155, allocations: 115.8 kB / 0.5669 GB, free: 5.113 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.01573, allocations: 35.91 kB / 0.567 GB, free: 5.078 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00267/0.0184, allocations: 3.119 MB / 0.57 GB, free: 1.766 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.525e-05/0.01848, allocations: 142.5 kB / 0.5702 GB, free: 1.602 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.348e-05/0.01855, allocations: 21.95 kB / 0.5702 GB, free: 1.582 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.01866, allocations: 84.45 kB / 0.5703 GB, free: 1.5 MB / 0.5261 GB Notification: Performance of SimCode: time 5.31e-07/0.01866, allocations: 0 / 0.5703 GB, free: 1.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01916/0.03782, allocations: 7.141 MB / 0.5772 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.408/7.446, allocations: 0.8125 kB / 0.5772 GB, free: 10.62 MB / 0.5417 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_MinimalFlowRate_fmu --startTime=0 --stopTime=100 --stepSize=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_MinimalFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.834416441619396] Failed to read output from testmodel.py, exit status != 0: 7.526271395385265 7.53657616 7.529788791 Calling exit ...