Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.682/2.682, allocations: 287.3 MB / 302.3 MB, free: 8.375 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001497/0.001497, allocations: 191.2 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.169/2.169, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001192/0.001192, allocations: 81.91 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006439/0.000644, allocations: 16.62 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2188, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.027/1.246, allocations: 145.3 MB / 1.12 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003372/1.246, allocations: 93.92 kB / 1.12 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07091/1.317, allocations: 17.21 MB / 1.137 GB, free: 27.53 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.326e-06/1.317, allocations: 0 / 1.137 GB, free: 27.53 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001307/1.317, allocations: 19.03 kB / 1.137 GB, free: 27.53 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.002406/1.32, allocations: 1.025 MB / 1.138 GB, free: 26.72 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/1.32, allocations: 11.64 kB / 1.138 GB, free: 26.71 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000194/1.32, allocations: 86.64 kB / 1.138 GB, free: 26.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002261/1.32, allocations: 95.84 kB / 1.138 GB, free: 26.62 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/1.321, allocations: 0.4964 MB / 1.139 GB, free: 26.27 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/1.321, allocations: 78.31 kB / 1.139 GB, free: 26.23 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.633e-05/1.322, allocations: 51.38 kB / 1.139 GB, free: 26.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/1.323, allocations: 0.5523 MB / 1.139 GB, free: 25.97 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/1.323, allocations: 3.953 kB / 1.139 GB, free: 25.96 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.469e-05/1.323, allocations: 22.16 kB / 1.139 GB, free: 25.96 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/1.323, allocations: 11.59 kB / 1.139 GB, free: 25.96 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008957/1.324, allocations: 341.2 kB / 1.14 GB, free: 25.91 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003544/1.327, allocations: 2.081 MB / 1.142 GB, free: 24.43 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008573/1.328, allocations: 298.2 kB / 1.142 GB, free: 24.37 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.731e-05/1.328, allocations: 3.812 kB / 1.142 GB, free: 24.37 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005454/1.329, allocations: 205 kB / 1.142 GB, free: 24.27 MB / 0.698 GB Notification: Performance of pre-optimization done (n=41): time 3.286e-06/1.329, allocations: 0 / 1.142 GB, free: 24.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=41): time 0.001447/1.33, allocations: 475.7 kB / 1.143 GB, free: 24.15 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/1.33, allocations: 114.5 kB / 1.143 GB, free: 24.02 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/1.332, allocations: 0.6849 MB / 1.144 GB, free: 23.78 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001018/1.332, allocations: 44.09 kB / 1.144 GB, free: 23.74 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003612/1.332, allocations: 385 kB / 1.144 GB, free: 23.57 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/1.332, allocations: 103 kB / 1.144 GB, free: 23.52 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-05/1.332, allocations: 7.562 kB / 1.144 GB, free: 23.52 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001551/1.333, allocations: 331.5 kB / 1.144 GB, free: 23.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004148/1.333, allocations: 130.4 kB / 1.145 GB, free: 23.19 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005224/1.334, allocations: 309.8 kB / 1.145 GB, free: 22.96 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004137/1.334, allocations: 142.7 kB / 1.145 GB, free: 22.94 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.363e-06/1.334, allocations: 3.875 kB / 1.145 GB, free: 22.94 MB / 0.698 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00128/1.335, allocations: 0.4974 MB / 1.145 GB, free: 22.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/1.335, allocations: 7.781 kB / 1.145 GB, free: 22.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/1.335, allocations: 11.66 kB / 1.145 GB, free: 22.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.729e-05/1.335, allocations: 11.66 kB / 1.145 GB, free: 22.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004283/1.336, allocations: 69.73 kB / 1.146 GB, free: 22.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.628e-05/1.336, allocations: 8.344 kB / 1.146 GB, free: 22.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005306/1.336, allocations: 61.72 kB / 1.146 GB, free: 22.74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.189e-05/1.336, allocations: 30.95 kB / 1.146 GB, free: 22.73 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 52 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$whenCondition2,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.avaSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition3,actMod,transition1.enableFire,transition1.condition,transition2.enableFire,transition2.condition,$PRE.staBy.localActive,staBy.localActive,staBy.outPort[2].available,$PRE.staBy.newActive,staBy.newActive,$PRE.staBy.oldActive,staBy.oldActive,staBy.active,$PRE.pumOn.localActive,pumOn.localActive,$PRE.pumOn.newActive,pumOn.newActive,$PRE.pumOn.oldActive,pumOn.oldActive,pumOn.active,avaSig.combiTimeTable.nextTimeEvent,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,stateGraphRoot.activeSteps,transition3.enableFire,transition3.fire,$PRE.transition3.t_start,transition3.t_start,transition4.enableFire,cheMinFlo.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005935/1.337, allocations: 270.2 kB / 1.146 GB, free: 22.59 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/1.337, allocations: 77.05 kB / 1.146 GB, free: 22.54 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00114/1.338, allocations: 436.6 kB / 1.146 GB, free: 22.42 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/1.338, allocations: 3.75 kB / 1.146 GB, free: 22.42 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/1.338, allocations: 0 / 1.146 GB, free: 22.42 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/1.339, allocations: 3.984 kB / 1.146 GB, free: 22.42 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002334/1.341, allocations: 1.106 MB / 1.147 GB, free: 21.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/1.341, allocations: 0 / 1.147 GB, free: 21.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002204/1.341, allocations: 35.02 kB / 1.147 GB, free: 21.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.235e-05/1.341, allocations: 3.875 kB / 1.148 GB, free: 21.89 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.184e-05/1.341, allocations: 14.48 kB / 1.148 GB, free: 21.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/1.341, allocations: 3.953 kB / 1.148 GB, free: 21.88 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.341, allocations: 0 / 1.148 GB, free: 21.88 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/1.342, allocations: 0.5009 MB / 1.148 GB, free: 21.66 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002592/1.343, allocations: 158.5 kB / 1.148 GB, free: 21.52 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/1.343, allocations: 11.28 kB / 1.148 GB, free: 21.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003566/1.343, allocations: 23.19 kB / 1.148 GB, free: 21.51 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001745/1.343, allocations: 46.98 kB / 1.148 GB, free: 21.49 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.793e-05/1.343, allocations: 20.61 kB / 1.148 GB, free: 21.49 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009456/1.344, allocations: 0.506 MB / 1.149 GB, free: 21.32 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.51e-07/1.344, allocations: 4 kB / 1.149 GB, free: 21.32 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009801/1.345, allocations: 123 kB / 1.149 GB, free: 21.31 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 36 (transition3.enableFire,off.active,pumOn.localActive,staBy.localActive,$cse1,$cse2,$cse5,$cse6,$cse7,$whenCondition3,$whenCondition2,$whenCondition1,actMod,transition1.enableFire,transition1.condition,transition2.enableFire,transition2.condition,staBy.outPort[2].available,staBy.newActive,staBy.oldActive,staBy.active,pumOn.newActive,pumOn.oldActive,pumOn.active,avaSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,off.localActive,off.inPort[2].occupied,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition3.fire,transition3.t_start,transition4.enableFire) * Number of discrete states: 7 (runSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEvent,staBy.newActive,pumOn.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004411/1.35, allocations: 1.427 MB / 1.15 GB, free: 20.44 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001268/1.351, allocations: 379.2 kB / 1.151 GB, free: 20.38 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.351, allocations: 4.062 kB / 1.151 GB, free: 20.37 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000481/1.352, allocations: 177.6 kB / 1.151 GB, free: 20.34 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/1.353, allocations: 122.5 kB / 1.151 GB, free: 20.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009779/1.363, allocations: 6.648 MB / 1.157 GB, free: 15.66 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006983/1.363, allocations: 0.9741 MB / 1.158 GB, free: 14.84 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005652/1.364, allocations: 97.81 kB / 1.158 GB, free: 14.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004979/1.364, allocations: 276 kB / 1.159 GB, free: 14.76 MB / 0.698 GB Notification: Performance of SimCode: time 1.032e-06/1.364, allocations: 0 / 1.159 GB, free: 14.76 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04902/1.413, allocations: 14.08 MB / 1.172 GB, free: 2.035 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003729/1.414, allocations: 217.7 kB / 1.173 GB, free: 1.797 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.052/4.466, allocations: 0 / 1.173 GB, free: 1.797 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy.fmu > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1)