Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.493/1.493, allocations: 249.3 MB / 261.8 MB, free: 5.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001072/0.001071, allocations: 169 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.2 MB / 0.572 GB, free: 10.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009499/0.0009499, allocations: 94.41 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 6.24e-05/6.26e-05, allocations: 4 kB / 0.788 GB, free: 96.99 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.231, allocations: 106.3 MB / 0.8919 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6704/0.9015, allocations: 139 MB / 1.028 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/0.9018, allocations: 93.94 kB / 1.028 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.04383/0.9457, allocations: 17.14 MB / 1.045 GB, free: 13.04 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9457, allocations: 0 / 1.045 GB, free: 13.04 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.783e-05/0.9458, allocations: 23.98 kB / 1.045 GB, free: 13.01 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001256/0.947, allocations: 0.9029 MB / 1.045 GB, free: 12.1 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.9471, allocations: 8.031 kB / 1.045 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001065/0.9472, allocations: 90.45 kB / 1.046 GB, free: 12.02 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/0.9473, allocations: 94.88 kB / 1.046 GB, free: 11.93 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008089/0.9481, allocations: 0.4895 MB / 1.046 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.887e-05/0.9482, allocations: 71.25 kB / 1.046 GB, free: 11.4 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.824e-05/0.9483, allocations: 53.88 kB / 1.046 GB, free: 11.37 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008242/0.9491, allocations: 0.5306 MB / 1.047 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.9492, allocations: 3.953 kB / 1.047 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.609e-05/0.9492, allocations: 26.11 kB / 1.047 GB, free: 10.92 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.9492, allocations: 12 kB / 1.047 GB, free: 10.91 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000535/0.9498, allocations: 337.3 kB / 1.047 GB, free: 10.69 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002327/0.9521, allocations: 2.084 MB / 1.049 GB, free: 8.832 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005011/0.9526, allocations: 292.3 kB / 1.049 GB, free: 8.629 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002036/0.9529, allocations: 142.3 kB / 1.05 GB, free: 8.539 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.9529, allocations: 7.828 kB / 1.05 GB, free: 8.535 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003464/0.9532, allocations: 205.5 kB / 1.05 GB, free: 8.371 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=42): time 2.044e-06/0.9533, allocations: 0 / 1.05 GB, free: 8.371 MB / 0.6667 GB Notification: Performance of matching and sorting (n=42): time 0.0006458/0.9539, allocations: 363.8 kB / 1.05 GB, free: 8.078 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.36e-05/0.954, allocations: 114.8 kB / 1.05 GB, free: 7.941 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007601/0.9548, allocations: 0.6673 MB / 1.051 GB, free: 7.422 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.833e-05/0.9548, allocations: 47.81 kB / 1.051 GB, free: 7.379 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002349/0.9551, allocations: 364.1 kB / 1.051 GB, free: 7.156 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.44e-05/0.9552, allocations: 115.4 kB / 1.051 GB, free: 7.062 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.129e-05/0.9552, allocations: 10.62 kB / 1.051 GB, free: 7.059 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.9553, allocations: 328 kB / 1.052 GB, free: 6.742 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.9555, allocations: 134.6 kB / 1.052 GB, free: 6.66 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003293/0.9559, allocations: 310.2 kB / 1.052 GB, free: 6.344 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.9561, allocations: 137.4 kB / 1.052 GB, free: 6.246 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.9561, allocations: 8 kB / 1.052 GB, free: 6.238 MB / 0.6667 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007318/0.9569, allocations: 0.5 MB / 1.053 GB, free: 5.836 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.9569, allocations: 8 kB / 1.053 GB, free: 5.828 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.9569, allocations: 8.031 kB / 1.053 GB, free: 5.82 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.9569, allocations: 8 kB / 1.053 GB, free: 5.812 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002596/0.9572, allocations: 74.77 kB / 1.053 GB, free: 5.742 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/0.9572, allocations: 8 kB / 1.053 GB, free: 5.734 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002536/0.9575, allocations: 49.8 kB / 1.053 GB, free: 5.695 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.507e-05/0.9575, allocations: 30.81 kB / 1.053 GB, free: 5.668 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 54 ($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,pumOn.outPort[2].reset,$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,pumOn.outPort[2].available,$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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0001639/0.9577, allocations: 175.8 kB / 1.053 GB, free: 5.512 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.967e-05/0.9578, allocations: 67.16 kB / 1.053 GB, free: 5.445 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006737/0.9585, allocations: 433.3 kB / 1.054 GB, free: 5.121 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.9585, allocations: 4 kB / 1.054 GB, free: 5.117 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.9585, allocations: 0 / 1.054 GB, free: 5.117 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.9585, allocations: 3.984 kB / 1.054 GB, free: 5.113 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001385/0.9599, allocations: 1.101 MB / 1.055 GB, free: 4.211 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.9599, allocations: 0 / 1.055 GB, free: 4.211 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.96, allocations: 31.55 kB / 1.055 GB, free: 4.184 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.9601, allocations: 4 kB / 1.055 GB, free: 4.18 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.9601, allocations: 15.05 kB / 1.055 GB, free: 4.172 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.9601, allocations: 3.953 kB / 1.055 GB, free: 4.168 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.9601, allocations: 0 / 1.055 GB, free: 4.168 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006192/0.9607, allocations: 0.49 MB / 1.055 GB, free: 3.742 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/0.9609, allocations: 159.1 kB / 1.055 GB, free: 3.574 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.996e-05/0.961, allocations: 14.12 kB / 1.055 GB, free: 3.57 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.9612, allocations: 27.55 kB / 1.055 GB, free: 3.547 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.9613, allocations: 55.06 kB / 1.055 GB, free: 3.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.831e-05/0.9613, allocations: 18.56 kB / 1.055 GB, free: 3.488 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005224/0.9619, allocations: 0.4923 MB / 1.056 GB, free: 3.113 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9619, allocations: 0 / 1.056 GB, free: 3.113 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004989/0.9624, allocations: 131.6 kB / 1.056 GB, free: 3.004 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 37 (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.outPort[2].available,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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 41 * 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.001748/0.9641, allocations: 1.375 MB / 1.057 GB, free: 1.789 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0005692/0.9647, allocations: 380.7 kB / 1.058 GB, free: 1.52 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.9647, allocations: 0 / 1.058 GB, free: 1.52 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002468/0.965, allocations: 184 kB / 1.058 GB, free: 1.383 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005208/0.9655, allocations: 109.9 kB / 1.058 GB, free: 1.309 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.9672, allocations: 1.051 MB / 1.059 GB, free: 372 kB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005542/0.9678, allocations: 0.9778 MB / 1.06 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002716/0.9681, allocations: 100.8 kB / 1.06 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003003/0.9684, allocations: 273.6 kB / 1.06 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of SimCode: time 3.7e-07/0.9684, allocations: 0 / 1.06 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02884/0.9972, allocations: 14.05 MB / 1.074 GB, free: 1.266 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001829/0.9974, allocations: 198.3 kB / 1.074 GB, free: 1.039 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.236/3.234, allocations: 0 / 1.074 GB, free: 1.039 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy.fmu > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1)