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.741/1.741, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.001132/0.001132, allocations: 185 kB / 377.1 MB, free: 1.516 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.508/1.508, allocations: 205.4 MB / 0.6366 GB, free: 8.551 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.0009009/0.0009007, allocations: 94.19 kB / 0.7509 GB, free: 63.19 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003543/0.0003543, allocations: 12 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2873, allocations: 116.3 MB / 0.9884 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7742/1.062, allocations: 146.5 MB / 1.131 GB, free: 29.84 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003229/1.062, allocations: 90.16 kB / 1.132 GB, free: 29.76 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04727/1.109, allocations: 17.23 MB / 1.148 GB, free: 17.47 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.477e-06/1.109, allocations: 4 kB / 1.148 GB, free: 17.46 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.898e-05/1.109, allocations: 16 kB / 1.148 GB, free: 17.45 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.001725/1.111, allocations: 1.025 MB / 1.149 GB, free: 16.44 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.936e-05/1.111, allocations: 16.02 kB / 1.149 GB, free: 16.43 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001325/1.111, allocations: 90.75 kB / 1.149 GB, free: 16.34 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001338/1.111, allocations: 92.28 kB / 1.15 GB, free: 16.25 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009206/1.112, allocations: 0.5001 MB / 1.15 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/1.113, allocations: 71.77 kB / 1.15 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.357e-05/1.113, allocations: 56.8 kB / 1.15 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/1.114, allocations: 0.5423 MB / 1.151 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/1.114, allocations: 7.938 kB / 1.151 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.747e-05/1.114, allocations: 20 kB / 1.151 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/1.114, allocations: 12 kB / 1.151 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006275/1.114, allocations: 342.2 kB / 1.151 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002431/1.117, allocations: 2.077 MB / 1.153 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005101/1.117, allocations: 299.8 kB / 1.153 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/1.117, allocations: 7.984 kB / 1.153 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003947/1.118, allocations: 207.7 kB / 1.154 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=41): time 2.785e-06/1.118, allocations: 0 / 1.154 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=41): time 0.0008418/1.119, allocations: 479.6 kB / 1.154 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/1.119, allocations: 108.5 kB / 1.154 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000866/1.12, allocations: 0.678 MB / 1.155 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.519e-05/1.12, allocations: 47.16 kB / 1.155 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003178/1.12, allocations: 384.4 kB / 1.155 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.374e-05/1.12, allocations: 98.89 kB / 1.155 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-05/1.12, allocations: 16 kB / 1.155 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001089/1.12, allocations: 329.5 kB / 1.156 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002446/1.121, allocations: 136.6 kB / 1.156 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003976/1.121, allocations: 308 kB / 1.156 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002709/1.121, allocations: 146.2 kB / 1.156 GB, free: 9.914 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/1.121, allocations: 0 / 1.156 GB, free: 9.914 MB / 0.7292 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008737/1.122, allocations: 0.4967 MB / 1.157 GB, free: 9.445 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/1.122, allocations: 9.875 kB / 1.157 GB, free: 9.438 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/1.122, allocations: 4 kB / 1.157 GB, free: 9.434 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.155e-05/1.122, allocations: 8 kB / 1.157 GB, free: 9.426 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002736/1.122, allocations: 70.47 kB / 1.157 GB, free: 9.367 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-05/1.123, allocations: 13.16 kB / 1.157 GB, free: 9.355 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002783/1.123, allocations: 57.47 kB / 1.157 GB, free: 9.305 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.74e-05/1.123, allocations: 25.78 kB / 1.157 GB, free: 9.281 MB / 0.7292 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.0003881/1.123, allocations: 275.5 kB / 1.157 GB, free: 9.023 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.251e-05/1.123, allocations: 75.06 kB / 1.157 GB, free: 8.949 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008212/1.124, allocations: 444.5 kB / 1.158 GB, free: 8.566 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/1.124, allocations: 4 kB / 1.158 GB, free: 8.562 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/1.124, allocations: 4.656 kB / 1.158 GB, free: 8.559 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/1.124, allocations: 3.328 kB / 1.158 GB, free: 8.559 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001677/1.126, allocations: 1.097 MB / 1.159 GB, free: 7.582 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/1.126, allocations: 4 kB / 1.159 GB, free: 7.578 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/1.126, allocations: 36.67 kB / 1.159 GB, free: 7.547 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/1.126, allocations: 0 / 1.159 GB, free: 7.547 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.964e-05/1.126, allocations: 9.594 kB / 1.159 GB, free: 7.539 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/1.126, allocations: 4.938 kB / 1.159 GB, free: 7.535 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/1.126, allocations: 5.5 kB / 1.159 GB, free: 7.531 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005995/1.127, allocations: 0.4936 MB / 1.159 GB, free: 7.055 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001583/1.127, allocations: 158.7 kB / 1.159 GB, free: 6.887 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.235e-05/1.127, allocations: 14.19 kB / 1.159 GB, free: 6.875 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/1.127, allocations: 29.58 kB / 1.159 GB, free: 6.852 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/1.127, allocations: 46.2 kB / 1.159 GB, free: 6.824 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-05/1.127, allocations: 18.06 kB / 1.16 GB, free: 6.809 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0006093/1.128, allocations: 0.5112 MB / 1.16 GB, free: 6.375 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.222e-06/1.128, allocations: 0 / 1.16 GB, free: 6.375 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005602/1.129, allocations: 125.1 kB / 1.16 GB, free: 6.254 MB / 0.7292 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.00199/1.131, allocations: 1.413 MB / 1.162 GB, free: 4.973 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006775/1.131, allocations: 384.8 kB / 1.162 GB, free: 4.602 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/1.131, allocations: 1.125 kB / 1.162 GB, free: 4.602 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000278/1.132, allocations: 182.4 kB / 1.162 GB, free: 4.422 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000628/1.132, allocations: 122.1 kB / 1.162 GB, free: 4.305 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006203/1.138, allocations: 6.643 MB / 1.169 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006581/1.139, allocations: 0.9734 MB / 1.17 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004169/1.14, allocations: 106.8 kB / 1.17 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003975/1.14, allocations: 275.3 kB / 1.17 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of SimCode: time 1.462e-06/1.14, allocations: 0 / 1.17 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03297/1.173, allocations: 14.07 MB / 1.184 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002079/1.173, allocations: 217.9 kB / 1.184 GB, free: 13.94 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.623/3.796, allocations: 0 / 1.184 GB, free: 13.94 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)