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.599/1.599, allocations: 285.6 MB / 293.1 MB, free: 10.25 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.00103/0.00103, allocations: 176.9 kB / 361.4 MB, free: 6.852 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.565/1.565, allocations: 205.2 MB / 0.62 GB, free: 11.61 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.0008676/0.0008676, allocations: 90.61 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.812e-05/2.796e-05, allocations: 8 kB / 0.8518 GB, free: 2.594 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6537/0.6537, allocations: 115.3 MB / 0.9645 GB, free: 78.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1919/0.8457, allocations: 144.7 MB / 1.106 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/0.846, allocations: 94.94 kB / 1.106 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.04678/0.8928, allocations: 16.96 MB / 1.122 GB, free: 9.984 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8929, allocations: 0 / 1.122 GB, free: 9.984 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.967e-05/0.893, allocations: 16 kB / 1.122 GB, free: 9.969 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.001777/0.8948, allocations: 0.908 MB / 1.123 GB, free: 9 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.8948, allocations: 8.031 kB / 1.123 GB, free: 8.992 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002868/0.8951, allocations: 106.7 kB / 1.123 GB, free: 8.887 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009749/0.8961, allocations: 0.4929 MB / 1.124 GB, free: 8.352 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.109e-05/0.8962, allocations: 51.02 kB / 1.124 GB, free: 8.297 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.8963, allocations: 36 kB / 1.124 GB, free: 8.262 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000581/0.8969, allocations: 294.5 kB / 1.124 GB, free: 7.973 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007833/0.8977, allocations: 473.6 kB / 1.125 GB, free: 7.465 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.8977, allocations: 6.562 kB / 1.125 GB, free: 7.461 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.673e-05/0.8978, allocations: 15.94 kB / 1.125 GB, free: 7.445 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.301e-05/0.8978, allocations: 12 kB / 1.125 GB, free: 7.434 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002452/0.9003, allocations: 1.987 MB / 1.127 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004346/0.9007, allocations: 255.6 kB / 1.127 GB, free: 5.105 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/0.9009, allocations: 136.5 kB / 1.127 GB, free: 4.973 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.901, allocations: 7.984 kB / 1.127 GB, free: 4.965 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003265/0.9013, allocations: 194.9 kB / 1.127 GB, free: 4.762 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=41): time 3.436e-06/0.9013, allocations: 0 / 1.127 GB, free: 4.762 MB / 0.7292 GB Notification: Performance of matching and sorting (n=41): time 0.0006186/0.902, allocations: 328.3 kB / 1.128 GB, free: 4.434 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.942e-05/0.902, allocations: 110.8 kB / 1.128 GB, free: 4.301 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008/0.9029, allocations: 0.6205 MB / 1.128 GB, free: 3.672 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.375e-05/0.9029, allocations: 33.7 kB / 1.128 GB, free: 3.633 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002934/0.9032, allocations: 380.6 kB / 1.129 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.9033, allocations: 98.78 kB / 1.129 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.028e-05/0.9034, allocations: 4 kB / 1.129 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.9035, allocations: 337.9 kB / 1.129 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/0.9037, allocations: 109.6 kB / 1.129 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003071/0.904, allocations: 290.4 kB / 1.13 GB, free: 2.359 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/0.9042, allocations: 124.7 kB / 1.13 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.9043, allocations: 4 kB / 1.13 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0006806/0.9049, allocations: 438.8 kB / 1.13 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.905, allocations: 8.562 kB / 1.13 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.905, allocations: 8 kB / 1.13 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.905, allocations: 8 kB / 1.13 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002697/0.9053, allocations: 67.84 kB / 1.13 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.978e-05/0.9053, allocations: 11.98 kB / 1.13 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003019/0.9056, allocations: 39.67 kB / 1.13 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.206e-05/0.9057, allocations: 27.22 kB / 1.13 GB, free: 1.633 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 () * 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.000156/0.9059, allocations: 150 kB / 1.13 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004873/0.9064, allocations: 328.6 kB / 1.131 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.034e-05/0.9065, allocations: 71.16 kB / 1.131 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007053/0.9072, allocations: 393.2 kB / 1.131 GB, free: 0.6914 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.9072, allocations: 8 kB / 1.131 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.9072, allocations: 48 / 1.131 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.9072, allocations: 7.984 kB / 1.131 GB, free: 0.6758 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/0.9087, allocations: 0.9987 MB / 1.132 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.9087, allocations: 0 / 1.132 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.9089, allocations: 34.47 kB / 1.132 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.9089, allocations: 4 kB / 1.132 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.9089, allocations: 4 kB / 1.132 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.9089, allocations: 7.094 kB / 1.132 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.909, allocations: 4 kB / 1.132 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006654/0.9096, allocations: 467.2 kB / 1.133 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.9098, allocations: 160.1 kB / 1.133 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.054e-05/0.9099, allocations: 0 / 1.133 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.9101, allocations: 19.98 kB / 1.133 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.9102, allocations: 48.36 kB / 1.133 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.199e-05/0.9103, allocations: 16 kB / 1.133 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005302/0.9108, allocations: 467.1 kB / 1.133 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9108, allocations: 0 / 1.133 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005441/0.9114, allocations: 111.9 kB / 1.133 GB, free: 14.29 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.001778/0.9131, allocations: 1.308 MB / 1.135 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000593/0.9138, allocations: 347.1 kB / 1.135 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.9138, allocations: 0 / 1.135 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002451/0.914, allocations: 165.6 kB / 1.135 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005888/0.9146, allocations: 104.2 kB / 1.135 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.9166, allocations: 1.019 MB / 1.136 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005954/0.9172, allocations: 0.9755 MB / 1.137 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003377/0.9176, allocations: 92.72 kB / 1.137 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003735/0.9179, allocations: 279.3 kB / 1.138 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of SimCode: time 2.61e-07/0.918, allocations: 0 / 1.138 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03525/0.9532, allocations: 12.91 MB / 1.15 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002079/0.9535, allocations: 177.5 kB / 1.15 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.267/3.22, allocations: 4 kB / 1.15 GB, free: 13.2 MB / 0.7605 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)