Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.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.StandBy,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.757/1.757, allocations: 288.2 MB / 303.2 MB, free: 8.141 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.001166/0.001166, allocations: 178.2 kB / 371.8 MB, free: 10.25 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.762/1.762, allocations: 205.4 MB / 0.6305 GB, free: 9.992 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.0008606/0.0008604, allocations: 101.5 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.0003428, allocations: 16.69 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1925, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6596/0.8521, allocations: 145.5 MB / 1.122 GB, free: 16.42 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/0.8524, allocations: 98.81 kB / 1.122 GB, free: 16.42 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04111/0.8936, allocations: 17.21 MB / 1.138 GB, free: 27.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.934e-06/0.8936, allocations: 0 / 1.138 GB, free: 27.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.806e-05/0.8937, allocations: 15.72 kB / 1.138 GB, free: 27.4 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.001533/0.8952, allocations: 1.028 MB / 1.139 GB, free: 26.58 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.8953, allocations: 15.45 kB / 1.139 GB, free: 26.58 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001181/0.8954, allocations: 93.22 kB / 1.14 GB, free: 26.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.8956, allocations: 93.25 kB / 1.14 GB, free: 26.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007891/0.8964, allocations: 0.4953 MB / 1.14 GB, free: 26.13 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.387e-05/0.8964, allocations: 80.39 kB / 1.14 GB, free: 26.09 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.756e-05/0.8965, allocations: 52.61 kB / 1.14 GB, free: 26.09 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007284/0.8972, allocations: 0.5442 MB / 1.141 GB, free: 25.83 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.8973, allocations: 0 / 1.141 GB, free: 25.83 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.069e-05/0.8973, allocations: 24.61 kB / 1.141 GB, free: 25.83 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.8973, allocations: 15.5 kB / 1.141 GB, free: 25.83 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005321/0.8979, allocations: 343.4 kB / 1.141 GB, free: 25.77 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002112/0.9, allocations: 2.082 MB / 1.143 GB, free: 24.29 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004826/0.9005, allocations: 289 kB / 1.143 GB, free: 24.23 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.9005, allocations: 7.875 kB / 1.143 GB, free: 24.23 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003292/0.9009, allocations: 218.4 kB / 1.144 GB, free: 24.12 MB / 0.698 GB Notification: Performance of pre-optimization done (n=41): time 2.124e-06/0.9009, allocations: 0 / 1.144 GB, free: 24.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=41): time 0.0007671/0.9017, allocations: 473.2 kB / 1.144 GB, free: 24 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/0.9017, allocations: 117.7 kB / 1.144 GB, free: 23.88 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006895/0.9024, allocations: 0.6767 MB / 1.145 GB, free: 23.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.941e-05/0.9025, allocations: 46.8 kB / 1.145 GB, free: 23.61 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/0.9027, allocations: 375.9 kB / 1.145 GB, free: 23.44 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.797e-05/0.9028, allocations: 103.7 kB / 1.145 GB, free: 23.38 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.849e-05/0.9028, allocations: 18.59 kB / 1.145 GB, free: 23.38 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.9029, allocations: 325.1 kB / 1.146 GB, free: 23.06 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.9032, allocations: 137.5 kB / 1.146 GB, free: 23.04 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/0.9035, allocations: 303.9 kB / 1.146 GB, free: 22.82 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002371/0.9037, allocations: 146.1 kB / 1.146 GB, free: 22.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.9037, allocations: 0 / 1.146 GB, free: 22.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0006868/0.9044, allocations: 0.5023 MB / 1.147 GB, free: 22.65 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.9044, allocations: 7.5 kB / 1.147 GB, free: 22.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.9044, allocations: 3.812 kB / 1.147 GB, free: 22.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.9045, allocations: 7.406 kB / 1.147 GB, free: 22.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/0.9047, allocations: 76 kB / 1.147 GB, free: 22.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.9047, allocations: 11.39 kB / 1.147 GB, free: 22.63 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002726/0.905, allocations: 60.08 kB / 1.147 GB, free: 22.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.485e-05/0.9051, allocations: 22.53 kB / 1.147 GB, free: 22.61 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.00031/0.9054, allocations: 277.7 kB / 1.147 GB, free: 22.45 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.541e-05/0.9055, allocations: 69.81 kB / 1.147 GB, free: 22.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006675/0.9061, allocations: 445.4 kB / 1.148 GB, free: 22.29 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.9062, allocations: 3.844 kB / 1.148 GB, free: 22.29 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.9062, allocations: 0 / 1.148 GB, free: 22.29 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.9062, allocations: 4 kB / 1.148 GB, free: 22.28 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001404/0.9076, allocations: 1.114 MB / 1.149 GB, free: 21.76 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.9076, allocations: 0 / 1.149 GB, free: 21.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.9077, allocations: 27.17 kB / 1.149 GB, free: 21.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.9077, allocations: 3.75 kB / 1.149 GB, free: 21.75 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/0.9078, allocations: 10.88 kB / 1.149 GB, free: 21.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.9078, allocations: 0 / 1.149 GB, free: 21.75 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.9078, allocations: 3.953 kB / 1.149 GB, free: 21.75 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005711/0.9084, allocations: 0.4946 MB / 1.149 GB, free: 21.54 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001624/0.9085, allocations: 169.8 kB / 1.15 GB, free: 21.38 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.513e-05/0.9086, allocations: 11.47 kB / 1.15 GB, free: 21.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.9088, allocations: 19.3 kB / 1.15 GB, free: 21.38 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.9089, allocations: 49.45 kB / 1.15 GB, free: 21.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.062e-05/0.909, allocations: 19.14 kB / 1.15 GB, free: 21.36 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004947/0.9095, allocations: 0.5053 MB / 1.15 GB, free: 21.19 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9095, allocations: 0 / 1.15 GB, free: 21.19 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005057/0.91, allocations: 132.9 kB / 1.15 GB, free: 21.18 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.001801/0.9118, allocations: 1.418 MB / 1.152 GB, free: 20.31 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005933/0.9124, allocations: 388.5 kB / 1.152 GB, free: 20.24 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.9124, allocations: 0 / 1.152 GB, free: 20.24 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002452/0.9127, allocations: 183.3 kB / 1.152 GB, free: 20.21 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000519/0.9132, allocations: 103.7 kB / 1.152 GB, free: 20.18 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005604/0.9188, allocations: 6.65 MB / 1.159 GB, free: 15.54 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004589/0.9193, allocations: 0.9738 MB / 1.16 GB, free: 14.71 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002968/0.9196, allocations: 110.3 kB / 1.16 GB, free: 14.66 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002918/0.9199, allocations: 276.7 kB / 1.16 GB, free: 14.63 MB / 0.698 GB Notification: Performance of SimCode: time 4.1e-07/0.9199, allocations: 0 / 1.16 GB, free: 14.63 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02935/0.9493, allocations: 14.07 MB / 1.174 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002323/0.9496, allocations: 232.9 kB / 1.174 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.567/3.516, allocations: 0 / 1.174 GB, free: 0.5234 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy.fmu > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1)