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.364/1.364, allocations: 249.5 MB / 257 MB, free: 6.922 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.001052/0.001052, allocations: 179.5 kB / 316.3 MB, free: 3.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.541/1.541, allocations: 205.3 MB / 0.5671 GB, free: 15.81 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.001074/0.001074, allocations: 96.05 kB / 0.6714 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.199e-05/2.201e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2222, allocations: 106.4 MB / 0.8853 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7727/0.995, allocations: 139.3 MB / 1.021 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/0.9954, allocations: 89.69 kB / 1.021 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.04227/1.038, allocations: 16.93 MB / 1.038 GB, free: 140 kB / 0.6511 GB Notification: Performance of FrontEnd: time 1.623e-06/1.038, allocations: 0 / 1.038 GB, free: 140 kB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.431e-05/1.038, allocations: 20 kB / 1.038 GB, free: 120 kB / 0.6511 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.001223/1.039, allocations: 0.9011 MB / 1.039 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/1.039, allocations: 8.031 kB / 1.039 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/1.039, allocations: 90.88 kB / 1.039 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007804/1.04, allocations: 0.4892 MB / 1.039 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.003e-05/1.04, allocations: 53.69 kB / 1.04 GB, free: 14.58 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.251e-05/1.04, allocations: 32 kB / 1.04 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005261/1.041, allocations: 302.9 kB / 1.04 GB, free: 14.36 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006317/1.041, allocations: 485.4 kB / 1.04 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/1.041, allocations: 3.953 kB / 1.04 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.732e-05/1.041, allocations: 7.25 kB / 1.04 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/1.041, allocations: 12 kB / 1.04 GB, free: 13.93 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001994/1.043, allocations: 1.985 MB / 1.042 GB, free: 12.16 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003713/1.044, allocations: 269.3 kB / 1.043 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/1.044, allocations: 132.6 kB / 1.043 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/1.044, allocations: 8.312 kB / 1.043 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002877/1.044, allocations: 198 kB / 1.043 GB, free: 11.73 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=42): time 3.386e-06/1.044, allocations: 4 kB / 1.043 GB, free: 11.72 MB / 0.6667 GB Notification: Performance of matching and sorting (n=42): time 0.0005567/1.045, allocations: 340.7 kB / 1.043 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.983e-05/1.045, allocations: 106.8 kB / 1.043 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006805/1.046, allocations: 0.6255 MB / 1.044 GB, free: 10.83 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.389e-05/1.046, allocations: 37.02 kB / 1.044 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002356/1.046, allocations: 370.3 kB / 1.044 GB, free: 10.57 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.173e-05/1.046, allocations: 102.2 kB / 1.044 GB, free: 10.49 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.702e-05/1.046, allocations: 0 / 1.044 GB, free: 10.49 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001663/1.046, allocations: 391.4 kB / 1.045 GB, free: 10.13 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/1.046, allocations: 123.2 kB / 1.045 GB, free: 10.05 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002944/1.047, allocations: 303.9 kB / 1.045 GB, free: 9.746 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/1.047, allocations: 126.9 kB / 1.045 GB, free: 9.664 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/1.047, allocations: 4 kB / 1.045 GB, free: 9.66 MB / 0.6667 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005862/1.048, allocations: 447 kB / 1.046 GB, free: 9.293 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/1.048, allocations: 8.594 kB / 1.046 GB, free: 9.285 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/1.048, allocations: 4 kB / 1.046 GB, free: 9.281 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/1.048, allocations: 12 kB / 1.046 GB, free: 9.27 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/1.048, allocations: 75.27 kB / 1.046 GB, free: 9.199 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/1.048, allocations: 8 kB / 1.046 GB, free: 9.191 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/1.048, allocations: 39.73 kB / 1.046 GB, free: 9.152 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.48e-05/1.048, allocations: 30.55 kB / 1.046 GB, free: 9.129 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.0001381/1.048, allocations: 151 kB / 1.046 GB, free: 8.977 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004309/1.049, allocations: 339.9 kB / 1.046 GB, free: 8.699 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.534e-05/1.049, allocations: 67.16 kB / 1.046 GB, free: 8.633 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006599/1.05, allocations: 401.4 kB / 1.047 GB, free: 8.32 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/1.05, allocations: 4 kB / 1.047 GB, free: 8.316 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.05, allocations: 0 / 1.047 GB, free: 8.316 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/1.05, allocations: 0 / 1.047 GB, free: 8.316 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/1.051, allocations: 1.002 MB / 1.048 GB, free: 7.492 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/1.051, allocations: 0 / 1.048 GB, free: 7.492 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/1.051, allocations: 35.48 kB / 1.048 GB, free: 7.461 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/1.051, allocations: 0 / 1.048 GB, free: 7.461 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/1.051, allocations: 7.984 kB / 1.048 GB, free: 7.453 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/1.051, allocations: 0 / 1.048 GB, free: 7.453 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/1.051, allocations: 3.953 kB / 1.048 GB, free: 7.449 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005425/1.052, allocations: 482.2 kB / 1.048 GB, free: 7.035 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/1.052, allocations: 155.4 kB / 1.048 GB, free: 6.871 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.516e-05/1.052, allocations: 7.812 kB / 1.048 GB, free: 6.867 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/1.052, allocations: 19.92 kB / 1.048 GB, free: 6.848 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/1.052, allocations: 48.55 kB / 1.049 GB, free: 6.809 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.932e-05/1.052, allocations: 26.81 kB / 1.049 GB, free: 6.785 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004386/1.053, allocations: 460.2 kB / 1.049 GB, free: 6.457 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.7e-07/1.053, allocations: 0 / 1.049 GB, free: 6.457 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004769/1.053, allocations: 111.7 kB / 1.049 GB, free: 6.352 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.001568/1.055, allocations: 1.324 MB / 1.05 GB, free: 5.164 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.000512/1.055, allocations: 358.3 kB / 1.051 GB, free: 4.91 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.055, allocations: 0 / 1.051 GB, free: 4.91 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002171/1.055, allocations: 164.9 kB / 1.051 GB, free: 4.797 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000559/1.056, allocations: 99.39 kB / 1.051 GB, free: 4.727 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/1.058, allocations: 1.008 MB / 1.052 GB, free: 3.797 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004839/1.058, allocations: 0.9783 MB / 1.053 GB, free: 2.809 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002966/1.059, allocations: 96.7 kB / 1.053 GB, free: 2.715 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003/1.059, allocations: 278.5 kB / 1.053 GB, free: 2.637 MB / 0.6667 GB Notification: Performance of SimCode: time 5.61e-07/1.059, allocations: 0 / 1.053 GB, free: 2.637 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03447/1.093, allocations: 12.91 MB / 1.066 GB, free: 5.762 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002153/1.094, allocations: 185.3 kB / 1.066 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.116/3.209, allocations: 0 / 1.066 GB, free: 5.562 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)