Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.885/1.885, allocations: 288.2 MB / 303.2 MB, free: 8.129 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.001169/0.001169, allocations: 189.8 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.643/1.643, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.001045/0.001045, allocations: 94.58 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004543/0.0004548, allocations: 16.84 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2846, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.036/1.321, allocations: 146.8 MB / 1.123 GB, free: 16.61 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003157/1.321, allocations: 93.61 kB / 1.123 GB, free: 16.61 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03849/1.36, allocations: 15.43 MB / 1.138 GB, free: 27.84 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.682e-06/1.36, allocations: 3.984 kB / 1.138 GB, free: 27.84 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.931e-05/1.36, allocations: 15.5 kB / 1.138 GB, free: 27.84 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.002308/1.362, allocations: 1.006 MB / 1.139 GB, free: 27.06 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.631e-05/1.363, allocations: 11.61 kB / 1.139 GB, free: 27.05 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002575/1.363, allocations: 101.5 kB / 1.139 GB, free: 27 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002725/1.363, allocations: 93 kB / 1.139 GB, free: 26.95 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/1.364, allocations: 458.5 kB / 1.14 GB, free: 26.63 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/1.364, allocations: 79.02 kB / 1.14 GB, free: 26.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/1.364, allocations: 67.02 kB / 1.14 GB, free: 26.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/1.366, allocations: 0.6678 MB / 1.14 GB, free: 26.28 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.719e-05/1.366, allocations: 11.72 kB / 1.14 GB, free: 26.27 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.389e-05/1.366, allocations: 28.09 kB / 1.141 GB, free: 26.27 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/1.366, allocations: 15.25 kB / 1.141 GB, free: 26.27 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009386/1.367, allocations: 444.8 kB / 1.141 GB, free: 26.18 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00372/1.37, allocations: 2.708 MB / 1.144 GB, free: 24.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007159/1.371, allocations: 296.4 kB / 1.144 GB, free: 24.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.785e-05/1.371, allocations: 11 kB / 1.144 GB, free: 24.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004294/1.372, allocations: 216.1 kB / 1.144 GB, free: 23.99 MB / 0.698 GB Notification: Performance of pre-optimization done (n=38): time 3.005e-06/1.372, allocations: 0 / 1.144 GB, free: 23.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=38): time 0.001094/1.373, allocations: 482.7 kB / 1.145 GB, free: 23.86 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.132e-05/1.373, allocations: 84.8 kB / 1.145 GB, free: 23.77 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008263/1.374, allocations: 0.6015 MB / 1.145 GB, free: 23.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.886e-05/1.374, allocations: 49.61 kB / 1.145 GB, free: 23.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003479/1.374, allocations: 392.4 kB / 1.146 GB, free: 23.31 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/1.374, allocations: 91.88 kB / 1.146 GB, free: 23.26 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.346e-05/1.374, allocations: 6.938 kB / 1.146 GB, free: 23.26 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002608/1.374, allocations: 389.9 kB / 1.146 GB, free: 22.92 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003685/1.375, allocations: 158.7 kB / 1.146 GB, free: 22.89 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004675/1.375, allocations: 378.5 kB / 1.147 GB, free: 22.61 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003642/1.376, allocations: 182.4 kB / 1.147 GB, free: 22.57 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/1.376, allocations: 3.812 kB / 1.147 GB, free: 22.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001004/1.377, allocations: 0.5813 MB / 1.147 GB, free: 22.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/1.377, allocations: 7.844 kB / 1.147 GB, free: 22.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/1.377, allocations: 3.844 kB / 1.147 GB, free: 22.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.609e-05/1.377, allocations: 11.53 kB / 1.147 GB, free: 22.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002757/1.377, allocations: 84.64 kB / 1.147 GB, free: 22.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.787e-05/1.377, allocations: 15.62 kB / 1.147 GB, free: 22.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003992/1.378, allocations: 72.12 kB / 1.148 GB, free: 22.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.443e-05/1.378, allocations: 33.09 kB / 1.148 GB, free: 22.34 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.0003728/1.378, allocations: 268.4 kB / 1.148 GB, free: 22.18 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.701e-05/1.378, allocations: 65.72 kB / 1.148 GB, free: 22.14 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008222/1.379, allocations: 431.5 kB / 1.148 GB, free: 22.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.862e-06/1.379, allocations: 7.531 kB / 1.148 GB, free: 22.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.379, allocations: 0 / 1.148 GB, free: 22.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/1.379, allocations: 11.94 kB / 1.148 GB, free: 22 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001688/1.381, allocations: 1.058 MB / 1.149 GB, free: 21.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/1.381, allocations: 3.844 kB / 1.149 GB, free: 21.51 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/1.381, allocations: 44.34 kB / 1.149 GB, free: 21.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/1.381, allocations: 0 / 1.149 GB, free: 21.49 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.944e-05/1.381, allocations: 10.52 kB / 1.149 GB, free: 21.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/1.381, allocations: 4 kB / 1.149 GB, free: 21.48 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/1.381, allocations: 7.875 kB / 1.149 GB, free: 21.48 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007117/1.382, allocations: 498.2 kB / 1.15 GB, free: 21.26 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/1.382, allocations: 142.7 kB / 1.15 GB, free: 21.13 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.835e-05/1.382, allocations: 10.59 kB / 1.15 GB, free: 21.13 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/1.382, allocations: 34.48 kB / 1.15 GB, free: 21.11 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/1.382, allocations: 64.52 kB / 1.15 GB, free: 21.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/1.382, allocations: 11.31 kB / 1.15 GB, free: 21.09 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004888/1.383, allocations: 446.5 kB / 1.151 GB, free: 20.93 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.91e-07/1.383, allocations: 0 / 1.151 GB, free: 20.93 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006089/1.383, allocations: 123.2 kB / 1.151 GB, free: 20.92 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.002145/1.386, allocations: 1.408 MB / 1.152 GB, free: 20.04 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008309/1.386, allocations: 436.7 kB / 1.152 GB, free: 19.96 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/1.386, allocations: 0 / 1.152 GB, free: 19.96 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003029/1.387, allocations: 180.1 kB / 1.153 GB, free: 19.94 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004775/1.387, allocations: 91.92 kB / 1.153 GB, free: 19.91 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007845/1.395, allocations: 7.689 MB / 1.16 GB, free: 14.08 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007243/1.396, allocations: 0.9744 MB / 1.161 GB, free: 13.25 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003117/1.396, allocations: 76.61 kB / 1.161 GB, free: 13.17 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003543/1.397, allocations: 276.3 kB / 1.162 GB, free: 13.1 MB / 0.698 GB Notification: Performance of SimCode: time 9.72e-07/1.397, allocations: 0 / 1.162 GB, free: 13.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03799/1.435, allocations: 12.9 MB / 1.174 GB, free: 372 kB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002442/1.435, allocations: 248.8 kB / 1.174 GB, free: 116 kB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.579/4.014, allocations: 4.062 kB / 1.174 GB, free: 112 kB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature.fmu > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe 2>&1)