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.635/1.635, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001334/0.001334, allocations: 185.1 kB / 326.5 MB, free: 2.234 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.989/1.989, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.001089/0.001089, allocations: 97.78 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003479/0.0003479, allocations: 10.06 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2005, allocations: 106.3 MB / 0.9002 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1696/0.3702, allocations: 139.1 MB / 1.036 GB, free: 4.52 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/0.3705, allocations: 99.94 kB / 1.036 GB, free: 4.422 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04578/0.4163, allocations: 17.19 MB / 1.053 GB, free: 3.074 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.385e-06/0.4163, allocations: 4 kB / 1.053 GB, free: 3.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.856e-05/0.4164, allocations: 16 kB / 1.053 GB, free: 3.055 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001865/0.4183, allocations: 1.011 MB / 1.054 GB, free: 1.977 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.4183, allocations: 12.03 kB / 1.054 GB, free: 1.965 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001524/0.4185, allocations: 90.52 kB / 1.054 GB, free: 1.867 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002256/0.4187, allocations: 94.88 kB / 1.054 GB, free: 1.773 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009282/0.4197, allocations: 0.4887 MB / 1.055 GB, free: 1.246 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-05/0.4197, allocations: 74.64 kB / 1.055 GB, free: 1.168 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.322e-05/0.4198, allocations: 48 kB / 1.055 GB, free: 1.121 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008907/0.4207, allocations: 0.5424 MB / 1.055 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.4208, allocations: 3.953 kB / 1.055 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.421e-05/0.4208, allocations: 24 kB / 1.055 GB, free: 0.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.4208, allocations: 12 kB / 1.055 GB, free: 500 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006634/0.4215, allocations: 359.7 kB / 1.056 GB, free: 144 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4174/0.8389, allocations: 2.059 MB / 1.058 GB, free: 143.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005461/0.8395, allocations: 314.7 kB / 1.058 GB, free: 143.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.8396, allocations: 3.609 kB / 1.058 GB, free: 143.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003449/0.8399, allocations: 223.3 kB / 1.058 GB, free: 143.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=42): time 3.527e-06/0.8399, allocations: 0 / 1.058 GB, free: 143.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=42): time 0.0007877/0.8407, allocations: 480.3 kB / 1.059 GB, free: 143.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.8408, allocations: 113.9 kB / 1.059 GB, free: 143.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007522/0.8415, allocations: 0.6712 MB / 1.059 GB, free: 142.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.582e-05/0.8416, allocations: 46.08 kB / 1.059 GB, free: 142.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000214/0.8418, allocations: 369.1 kB / 1.06 GB, free: 142.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.033e-05/0.8419, allocations: 104.6 kB / 1.06 GB, free: 142.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.005e-05/0.8419, allocations: 13.22 kB / 1.06 GB, free: 142.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.603e-05/0.842, allocations: 328.7 kB / 1.06 GB, free: 142.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002289/0.8422, allocations: 134 kB / 1.06 GB, free: 142.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003058/0.8425, allocations: 323.8 kB / 1.061 GB, free: 142.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002469/0.8428, allocations: 146.1 kB / 1.061 GB, free: 142.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.8428, allocations: 2.906 kB / 1.061 GB, free: 142.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007061/0.8435, allocations: 0.5115 MB / 1.061 GB, free: 142.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.8435, allocations: 13.73 kB / 1.061 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.8436, allocations: 3.484 kB / 1.061 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.8436, allocations: 8.406 kB / 1.061 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/0.8438, allocations: 80.73 kB / 1.061 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.8438, allocations: 10.3 kB / 1.061 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/0.8441, allocations: 56.56 kB / 1.061 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-05/0.8442, allocations: 27.56 kB / 1.061 GB, free: 142.1 MB / 0.698 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 () * Number of clocked 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.0002986/0.8445, allocations: 273.3 kB / 1.062 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.204e-05/0.8446, allocations: 77.78 kB / 1.062 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006881/0.8453, allocations: 447.9 kB / 1.062 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.8453, allocations: 8.188 kB / 1.062 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.8453, allocations: 3.172 kB / 1.062 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.8453, allocations: 2.438 kB / 1.062 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001484/0.8468, allocations: 1.107 MB / 1.063 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.8468, allocations: 3.625 kB / 1.063 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.8469, allocations: 33.97 kB / 1.063 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.8469, allocations: 0.7031 kB / 1.063 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.612e-05/0.847, allocations: 12.53 kB / 1.063 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.847, allocations: 0 / 1.063 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.847, allocations: 5.875 kB / 1.063 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005766/0.8476, allocations: 0.5023 MB / 1.064 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.8477, allocations: 157.5 kB / 1.064 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.967e-05/0.8478, allocations: 14.94 kB / 1.064 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.848, allocations: 24.98 kB / 1.064 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.8481, allocations: 48.22 kB / 1.064 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.13e-05/0.8482, allocations: 21.28 kB / 1.064 GB, free: 141.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005215/0.8487, allocations: 0.5003 MB / 1.065 GB, free: 141.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8487, allocations: 0 / 1.065 GB, free: 141.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004905/0.8492, allocations: 136.6 kB / 1.065 GB, free: 141.2 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: 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) * Number of clocked states: 0 () * 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.00165/0.8508, allocations: 1.423 MB / 1.066 GB, free: 140.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007158/0.8516, allocations: 402.1 kB / 1.066 GB, free: 140.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.8516, allocations: 0.875 kB / 1.066 GB, free: 140.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003229/0.8519, allocations: 180.1 kB / 1.067 GB, free: 140.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006294/0.8526, allocations: 111.8 kB / 1.067 GB, free: 140.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006277/0.8588, allocations: 6.776 MB / 1.073 GB, free: 136.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005005/0.8594, allocations: 0.9785 MB / 1.074 GB, free: 135.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003879/0.8598, allocations: 101.4 kB / 1.074 GB, free: 135.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000344/0.8601, allocations: 279.8 kB / 1.075 GB, free: 135.4 MB / 0.698 GB Notification: Performance of SimCode: time 6.362e-06/0.8601, allocations: 0 / 1.075 GB, free: 135.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03751/0.8977, allocations: 13.99 MB / 1.088 GB, free: 133.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001457/0.8978, allocations: 234.3 kB / 1.089 GB, free: 133.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.401/3.298, allocations: 0 / 1.089 GB, free: 133.5 MB / 0.698 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)