Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.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.StandBy,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.698/1.698, allocations: 289.9 MB / 297.4 MB, free: 6.34 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.002006/0.002007, allocations: 180.9 kB / 366.7 MB, free: 1.621 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.59/1.59, allocations: 205.2 MB / 0.626 GB, free: 7.137 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.0008402/0.0008403, allocations: 87.39 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.488e-05/3.498e-05, allocations: 4 kB / 0.8598 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6769/0.677, allocations: 116.3 MB / 0.9733 GB, free: 76.17 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2024/0.8795, allocations: 145.7 MB / 1.116 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003849/0.8799, allocations: 87.94 kB / 1.116 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0475/0.9275, allocations: 16.97 MB / 1.132 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.973e-06/0.9275, allocations: 0 / 1.132 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.702e-05/0.9276, allocations: 23.98 kB / 1.132 GB, free: 3.242 MB / 0.7292 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.0018/0.9294, allocations: 0.9002 MB / 1.133 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.9295, allocations: 8.031 kB / 1.133 GB, free: 2.273 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003256/0.9298, allocations: 98.81 kB / 1.133 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.9309, allocations: 0.5007 MB / 1.134 GB, free: 1.637 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.161e-05/0.931, allocations: 55.02 kB / 1.134 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.801e-05/0.9311, allocations: 35.98 kB / 1.134 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006213/0.9317, allocations: 294.5 kB / 1.134 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008187/0.9326, allocations: 477.6 kB / 1.135 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.9326, allocations: 0 / 1.135 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.013e-05/0.9326, allocations: 3.953 kB / 1.135 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.9327, allocations: 14.91 kB / 1.135 GB, free: 0.7266 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002621/0.9353, allocations: 1.99 MB / 1.137 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004356/0.9357, allocations: 259.6 kB / 1.137 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002013/0.936, allocations: 130.5 kB / 1.137 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.372e-05/0.936, allocations: 12 kB / 1.137 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003596/0.9364, allocations: 187.6 kB / 1.137 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=41): time 2.274e-06/0.9364, allocations: 0 / 1.137 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of matching and sorting (n=41): time 0.0006499/0.937, allocations: 328.3 kB / 1.137 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.798e-05/0.9371, allocations: 110.8 kB / 1.138 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008565/0.938, allocations: 0.6166 MB / 1.138 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.355e-05/0.9381, allocations: 41.69 kB / 1.138 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003146/0.9384, allocations: 388.5 kB / 1.139 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.9385, allocations: 94.75 kB / 1.139 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.938e-05/0.9385, allocations: 0 / 1.139 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.9387, allocations: 329.9 kB / 1.139 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.9389, allocations: 117.5 kB / 1.139 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003287/0.9392, allocations: 286.5 kB / 1.139 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/0.9395, allocations: 124.7 kB / 1.139 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.9395, allocations: 4 kB / 1.139 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007235/0.9402, allocations: 439.3 kB / 1.14 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.9402, allocations: 4 kB / 1.14 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.693e-05/0.9403, allocations: 4 kB / 1.14 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.026e-05/0.9403, allocations: 11.94 kB / 1.14 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/0.9406, allocations: 75.83 kB / 1.14 GB, free: 11 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.662e-05/0.9407, allocations: 4 kB / 1.14 GB, free: 11 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003401/0.941, allocations: 43.73 kB / 1.14 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.726e-05/0.9411, allocations: 32.08 kB / 1.14 GB, free: 10.92 MB / 0.7448 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 () * 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.0001758/0.9413, allocations: 144.4 kB / 1.14 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005277/0.9418, allocations: 328.2 kB / 1.141 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.9419, allocations: 75.14 kB / 1.141 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007134/0.9426, allocations: 389.5 kB / 1.141 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.9427, allocations: 9.125 kB / 1.141 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.9427, allocations: 0 / 1.141 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.086e-06/0.9427, allocations: 3.984 kB / 1.141 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001583/0.9443, allocations: 0.9988 MB / 1.142 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.9443, allocations: 0 / 1.142 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.9444, allocations: 35.92 kB / 1.142 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-05/0.9445, allocations: 3.938 kB / 1.142 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.018e-05/0.9445, allocations: 11.98 kB / 1.142 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.9445, allocations: 0 / 1.142 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.9445, allocations: 0.875 kB / 1.142 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007099/0.9453, allocations: 475.2 kB / 1.142 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001728/0.9454, allocations: 160.1 kB / 1.143 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.797e-05/0.9455, allocations: 2.438 kB / 1.143 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.9457, allocations: 19.98 kB / 1.143 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.9459, allocations: 48.36 kB / 1.143 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.624e-05/0.9459, allocations: 19.98 kB / 1.143 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0006148/0.9466, allocations: 463.1 kB / 1.143 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9466, allocations: 0 / 1.143 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006146/0.9472, allocations: 111.9 kB / 1.143 GB, free: 7.578 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 (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) * 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.002005/0.9492, allocations: 1.317 MB / 1.145 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006587/0.9499, allocations: 343.2 kB / 1.145 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.9499, allocations: 3.938 kB / 1.145 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002431/0.9501, allocations: 161.6 kB / 1.145 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006152/0.9508, allocations: 98.34 kB / 1.145 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002292/0.9531, allocations: 1.011 MB / 1.146 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006187/0.9537, allocations: 0.9734 MB / 1.147 GB, free: 3.73 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003462/0.9541, allocations: 101.4 kB / 1.147 GB, free: 3.637 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003866/0.9544, allocations: 275.3 kB / 1.147 GB, free: 3.367 MB / 0.7448 GB Notification: Performance of SimCode: time 5.21e-07/0.9545, allocations: 4 kB / 1.147 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04294/0.9974, allocations: 12.91 MB / 1.16 GB, free: 6.66 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001998/0.9977, allocations: 166.1 kB / 1.16 GB, free: 6.469 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.452/3.45, allocations: 0 / 1.16 GB, free: 6.469 MB / 0.7605 GB (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1)