Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.663/1.663, allocations: 289.7 MB / 302.2 MB, free: 2.191 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.001117/0.001117, allocations: 182.1 kB / 371.6 MB, free: 3.32 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.571/1.571, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008879/0.0008877, allocations: 88.22 kB / 0.745 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.368e-05/4.38e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2444, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7717/1.016, allocations: 147.6 MB / 1.124 GB, free: 38.3 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002059/1.016, allocations: 91.81 kB / 1.124 GB, free: 38.26 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.03263/1.049, allocations: 14.35 MB / 1.138 GB, free: 30.13 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.224e-06/1.049, allocations: 0 / 1.138 GB, free: 30.13 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.566e-05/1.049, allocations: 20 kB / 1.138 GB, free: 30.11 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001267/1.05, allocations: 0.8269 MB / 1.139 GB, free: 29.36 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/1.05, allocations: 8.031 kB / 1.139 GB, free: 29.35 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001292/1.051, allocations: 96.72 kB / 1.139 GB, free: 29.29 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/1.051, allocations: 86.8 kB / 1.139 GB, free: 29.21 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007458/1.051, allocations: 450.8 kB / 1.14 GB, free: 28.82 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.271e-05/1.052, allocations: 70.41 kB / 1.14 GB, free: 28.77 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.457e-05/1.052, allocations: 63.02 kB / 1.14 GB, free: 28.73 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008802/1.053, allocations: 0.5953 MB / 1.14 GB, free: 28.29 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/1.053, allocations: 0 / 1.14 GB, free: 28.29 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.38e-05/1.053, allocations: 20.12 kB / 1.14 GB, free: 28.29 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/1.053, allocations: 20 kB / 1.14 GB, free: 28.27 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005515/1.053, allocations: 364.8 kB / 1.141 GB, free: 28.05 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002243/1.055, allocations: 2.645 MB / 1.143 GB, free: 25.89 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003901/1.056, allocations: 258.3 kB / 1.143 GB, free: 25.73 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001835/1.056, allocations: 137.9 kB / 1.144 GB, free: 25.64 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/1.056, allocations: 8.266 kB / 1.144 GB, free: 25.64 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003237/1.056, allocations: 206.6 kB / 1.144 GB, free: 25.51 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=38): time 1.784e-06/1.056, allocations: 0 / 1.144 GB, free: 25.51 MB / 0.7448 GB Notification: Performance of matching and sorting (n=38): time 0.0005242/1.057, allocations: 340 kB / 1.144 GB, free: 25.26 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/1.057, allocations: 85.3 kB / 1.144 GB, free: 25.16 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005759/1.058, allocations: 0.5733 MB / 1.145 GB, free: 24.76 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.241e-05/1.058, allocations: 44.98 kB / 1.145 GB, free: 24.72 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002185/1.058, allocations: 364.2 kB / 1.145 GB, free: 24.5 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.803e-05/1.058, allocations: 96.67 kB / 1.145 GB, free: 24.43 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.974e-05/1.058, allocations: 13.75 kB / 1.145 GB, free: 24.43 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001206/1.058, allocations: 375.3 kB / 1.146 GB, free: 24.1 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/1.058, allocations: 124.4 kB / 1.146 GB, free: 24.03 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002767/1.059, allocations: 327.4 kB / 1.146 GB, free: 23.7 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002187/1.059, allocations: 146.5 kB / 1.146 GB, free: 23.61 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/1.059, allocations: 3.953 kB / 1.146 GB, free: 23.61 MB / 0.7448 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.000651/1.059, allocations: 0.5006 MB / 1.147 GB, free: 23.23 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/1.059, allocations: 8.75 kB / 1.147 GB, free: 23.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/1.06, allocations: 11.59 kB / 1.147 GB, free: 23.21 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/1.06, allocations: 12 kB / 1.147 GB, free: 23.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002549/1.06, allocations: 76.58 kB / 1.147 GB, free: 23.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.717e-05/1.06, allocations: 13.67 kB / 1.147 GB, free: 23.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002214/1.06, allocations: 40.88 kB / 1.147 GB, free: 23.1 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-05/1.06, allocations: 28.22 kB / 1.147 GB, free: 23.08 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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,$whenCondition2,$whenCondition3,$whenCondition4,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,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.timer.passed,warUpCtr.timer.passed,$PRE.warUpCtr.timer.entryTime,warUpCtr.timer.entryTime,transition5.enableFire) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0001159/1.06, allocations: 161.7 kB / 1.147 GB, free: 22.93 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.01e-05/1.06, allocations: 68.98 kB / 1.147 GB, free: 22.87 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006145/1.061, allocations: 402.1 kB / 1.147 GB, free: 22.63 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/1.061, allocations: 4 kB / 1.147 GB, free: 22.62 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/1.061, allocations: 0.5625 kB / 1.147 GB, free: 22.62 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/1.061, allocations: 1.969 kB / 1.147 GB, free: 22.62 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001317/1.062, allocations: 1.067 MB / 1.149 GB, free: 21.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/1.062, allocations: 1.5 kB / 1.149 GB, free: 21.9 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/1.062, allocations: 23.92 kB / 1.149 GB, free: 21.88 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/1.062, allocations: 4 kB / 1.149 GB, free: 21.88 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.669e-05/1.062, allocations: 13.75 kB / 1.149 GB, free: 21.87 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/1.062, allocations: 0.5156 kB / 1.149 GB, free: 21.87 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.062, allocations: 0 / 1.149 GB, free: 21.87 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004875/1.063, allocations: 471.3 kB / 1.149 GB, free: 21.5 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.924e-05/1.063, allocations: 149.4 kB / 1.149 GB, free: 21.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.264e-05/1.063, allocations: 11.56 kB / 1.149 GB, free: 21.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/1.063, allocations: 18.55 kB / 1.149 GB, free: 21.33 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/1.063, allocations: 49.38 kB / 1.149 GB, free: 21.31 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.861e-05/1.063, allocations: 17.02 kB / 1.149 GB, free: 21.3 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003962/1.064, allocations: 413.9 kB / 1.15 GB, free: 21.02 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/1.064, allocations: 0 / 1.15 GB, free: 21.02 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004673/1.064, allocations: 119 kB / 1.15 GB, free: 20.92 MB / 0.7448 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 (nor.active,off.active,warUp.active,warUp.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition3.enableFire,transition3.condition,warUp.inPort[2].occupied,warUp.outPort[2].available,warUp.newActive,warUp.oldActive,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.timer.passed,warUpCtr.timer.entryTime) * Number of discrete states: 6 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,warUpCtr.timer.entryTime,off.newActive,nor.newActive,runSig.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.001547/1.066, allocations: 1.344 MB / 1.151 GB, free: 19.82 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005441/1.066, allocations: 367.2 kB / 1.151 GB, free: 19.57 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.066, allocations: 3.938 kB / 1.151 GB, free: 19.57 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000216/1.067, allocations: 184.4 kB / 1.152 GB, free: 19.44 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004493/1.067, allocations: 86 kB / 1.152 GB, free: 19.4 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/1.069, allocations: 0.9308 MB / 1.153 GB, free: 18.68 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004941/1.069, allocations: 0.9484 MB / 1.154 GB, free: 17.82 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000244/1.069, allocations: 81.33 kB / 1.154 GB, free: 17.76 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000313/1.07, allocations: 240.1 kB / 1.154 GB, free: 17.72 MB / 0.7448 GB Notification: Performance of SimCode: time 3.5e-07/1.07, allocations: 0 / 1.154 GB, free: 17.72 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02793/1.098, allocations: 12.16 MB / 1.166 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001495/1.098, allocations: 196.2 kB / 1.166 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.305/3.403, allocations: 0 / 1.166 GB, free: 10.07 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe 2>&1)