Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.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.WarmUpTemperature,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature",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.692/2.692, allocations: 287.3 MB / 302.3 MB, free: 8.289 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.002093/0.002093, allocations: 179.5 kB / 370.8 MB, free: 10.82 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.123/2.123, allocations: 205.4 MB / 0.6295 GB, free: 10.55 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.00285/0.002851, allocations: 95.97 kB / 0.7428 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000664/0.0006641, allocations: 13.59 kB / 0.8657 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2366, allocations: 115.3 MB / 0.9783 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9587/1.195, allocations: 146.7 MB / 1.122 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003195/1.196, allocations: 97.28 kB / 1.122 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06332/1.259, allocations: 15.43 MB / 1.137 GB, free: 27.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.795e-06/1.259, allocations: 3.844 kB / 1.137 GB, free: 27.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.51e-05/1.259, allocations: 15.38 kB / 1.137 GB, free: 27.9 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: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.002429/1.262, allocations: 0.9997 MB / 1.138 GB, free: 27.13 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/1.262, allocations: 11.73 kB / 1.138 GB, free: 27.12 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002581/1.262, allocations: 100 kB / 1.138 GB, free: 27.07 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002254/1.262, allocations: 104.2 kB / 1.138 GB, free: 27.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/1.263, allocations: 451.2 kB / 1.138 GB, free: 26.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/1.263, allocations: 81.88 kB / 1.138 GB, free: 26.66 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/1.264, allocations: 64.16 kB / 1.138 GB, free: 26.66 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/1.265, allocations: 0.6685 MB / 1.139 GB, free: 26.35 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.535e-05/1.265, allocations: 3.938 kB / 1.139 GB, free: 26.34 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.094e-05/1.265, allocations: 25.06 kB / 1.139 GB, free: 26.34 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/1.265, allocations: 19.06 kB / 1.139 GB, free: 26.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/1.267, allocations: 457.1 kB / 1.14 GB, free: 26.25 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004195/1.271, allocations: 2.713 MB / 1.142 GB, free: 24.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009789/1.272, allocations: 286.7 kB / 1.143 GB, free: 24.16 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.994e-05/1.272, allocations: 10.61 kB / 1.143 GB, free: 24.16 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006226/1.273, allocations: 213.4 kB / 1.143 GB, free: 24.06 MB / 0.698 GB Notification: Performance of pre-optimization done (n=38): time 3.657e-06/1.273, allocations: 0 / 1.143 GB, free: 24.06 MB / 0.698 GB Notification: Performance of matching and sorting (n=38): time 0.001646/1.274, allocations: 485.6 kB / 1.143 GB, free: 23.93 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.491e-05/1.275, allocations: 88.86 kB / 1.143 GB, free: 23.83 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/1.276, allocations: 0.6057 MB / 1.144 GB, free: 23.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001376/1.276, allocations: 44.08 kB / 1.144 GB, free: 23.57 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003753/1.276, allocations: 386.3 kB / 1.144 GB, free: 23.38 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/1.276, allocations: 95.42 kB / 1.144 GB, free: 23.32 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/1.276, allocations: 18.16 kB / 1.144 GB, free: 23.32 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001956/1.277, allocations: 384.2 kB / 1.145 GB, free: 22.98 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005791/1.277, allocations: 162 kB / 1.145 GB, free: 22.96 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007092/1.278, allocations: 375.6 kB / 1.145 GB, free: 22.67 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000545/1.278, allocations: 169.8 kB / 1.145 GB, free: 22.64 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/1.278, allocations: 3.844 kB / 1.145 GB, free: 22.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00155/1.28, allocations: 0.5864 MB / 1.146 GB, free: 22.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/1.28, allocations: 7.75 kB / 1.146 GB, free: 22.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/1.28, allocations: 3.844 kB / 1.146 GB, free: 22.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.977e-05/1.28, allocations: 11.53 kB / 1.146 GB, free: 22.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005186/1.281, allocations: 92.05 kB / 1.146 GB, free: 22.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.749e-05/1.281, allocations: 8.125 kB / 1.146 GB, free: 22.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006852/1.281, allocations: 73.84 kB / 1.146 GB, free: 22.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.458e-05/1.282, allocations: 26.59 kB / 1.146 GB, free: 22.41 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 53 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.condition,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition2.condition,transition3.enableFire,transition3.condition,$PRE.warUp.localActive,warUp.localActive,warUp.inPort[2].occupied,warUp.outPort[2].available,$PRE.warUp.newActive,warUp.newActive,$PRE.warUp.oldActive,warUp.oldActive,warUp.active,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,off.outPort[2].available,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,stateGraphRoot.activeSteps,transition4.enableFire,$PRE.nor.localActive,nor.localActive,$PRE.nor.newActive,nor.newActive,$PRE.nor.oldActive,nor.oldActive,nor.active,$PRE.warUpCtr.pre.u,transition5.enableFire,$PRE.warUpCtr.hysTem.y,warUpCtr.hysTem.y,$PRE.warUpCtr.hysPow.y,warUpCtr.hysPow.y,warUpCtr.pre.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 78 * 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.0006662/1.282, allocations: 278.2 kB / 1.146 GB, free: 22.24 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001723/1.282, allocations: 69.88 kB / 1.147 GB, free: 22.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001356/1.284, allocations: 430.6 kB / 1.147 GB, free: 22.07 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/1.284, allocations: 3.875 kB / 1.147 GB, free: 22.07 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/1.284, allocations: 7.953 kB / 1.147 GB, free: 22.07 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/1.284, allocations: 3.984 kB / 1.147 GB, free: 22.06 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002766/1.287, allocations: 1.065 MB / 1.148 GB, free: 21.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.328e-06/1.287, allocations: 0 / 1.148 GB, free: 21.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004635/1.287, allocations: 35.03 kB / 1.148 GB, free: 21.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.588e-05/1.287, allocations: 7.766 kB / 1.148 GB, free: 21.55 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.105e-05/1.287, allocations: 15.16 kB / 1.148 GB, free: 21.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.965e-06/1.287, allocations: 0 / 1.148 GB, free: 21.55 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.287, allocations: 3.984 kB / 1.148 GB, free: 21.54 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/1.289, allocations: 492.1 kB / 1.149 GB, free: 21.33 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000307/1.29, allocations: 138 kB / 1.149 GB, free: 21.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002068/1.29, allocations: 17.97 kB / 1.149 GB, free: 21.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005675/1.29, allocations: 34.55 kB / 1.149 GB, free: 21.18 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002004/1.291, allocations: 59.83 kB / 1.149 GB, free: 21.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.724e-05/1.291, allocations: 14.22 kB / 1.149 GB, free: 21.16 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007689/1.292, allocations: 439.4 kB / 1.149 GB, free: 21 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.41e-07/1.292, allocations: 0 / 1.149 GB, free: 21 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008064/1.292, allocations: 127.7 kB / 1.149 GB, free: 20.99 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: 35 (nor.active,off.active,warUp.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition1,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition2.condition,transition3.enableFire,transition3.condition,warUp.inPort[2].occupied,warUp.outPort[2].available,warUp.newActive,warUp.oldActive,warUp.active,off.localActive,off.inPort[2].occupied,off.outPort[2].available,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition4.enableFire,nor.localActive,nor.newActive,nor.oldActive,warUpCtr.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u) * Number of discrete states: 8 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,off.newActive,nor.newActive,warUpCtr.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002738/1.295, allocations: 1.407 MB / 1.151 GB, free: 20.11 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001349/1.296, allocations: 439.7 kB / 1.151 GB, free: 20.03 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/1.297, allocations: 0 / 1.151 GB, free: 20.03 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005135/1.297, allocations: 187.8 kB / 1.151 GB, free: 20 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007853/1.298, allocations: 82.03 kB / 1.151 GB, free: 19.98 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009142/1.307, allocations: 7.689 MB / 1.159 GB, free: 14.16 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006761/1.308, allocations: 0.9677 MB / 1.16 GB, free: 13.34 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004799/1.308, allocations: 86.19 kB / 1.16 GB, free: 13.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004698/1.309, allocations: 280.3 kB / 1.16 GB, free: 13.26 MB / 0.698 GB Notification: Performance of SimCode: time 1.432e-06/1.309, allocations: 0 / 1.16 GB, free: 13.26 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05945/1.368, allocations: 12.89 MB / 1.173 GB, free: 1.488 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000288/1.369, allocations: 228.8 kB / 1.173 GB, free: 1.254 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.957/4.326, allocations: 0 / 1.173 GB, free: 1.254 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature.fmu > Buildings_8.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe 2>&1)