Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChillerStage.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.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChillerStage,fileNamePrefix="Buildings_8_Buildings_Experimental_DHC_CentralPlants_Cooling_Controls_Validation_ChillerStage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChillerStage,fileNamePrefix="Buildings_8_Buildings_Experimental_DHC_CentralPlants_Cooling_Controls_Validation_ChillerStage",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.658/1.658, allocations: 289.9 MB / 297.4 MB, free: 6.391 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.001038/0.001038, allocations: 168.9 kB / 366.7 MB, free: 1.672 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.672/1.672, allocations: 205.3 MB / 0.626 GB, free: 7.18 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.0008577/0.0008577, allocations: 83.77 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.026e-05/2.03e-05, allocations: 0 / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7059/0.706, allocations: 116.3 MB / 0.9734 GB, free: 76.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.011/1.717, allocations: 371.7 MB / 1.336 GB, free: 175.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/1.717, allocations: 103.5 kB / 1.336 GB, free: 175.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.04685/1.764, allocations: 23.12 MB / 1.359 GB, free: 163.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.084e-06/1.764, allocations: 0 / 1.359 GB, free: 163.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.128e-05/1.764, allocations: 15.94 kB / 1.359 GB, free: 163.7 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001019/1.765, allocations: 0.7774 MB / 1.36 GB, free: 162.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/1.766, allocations: 8.031 kB / 1.36 GB, free: 162.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/1.766, allocations: 67.25 kB / 1.36 GB, free: 162.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01073/1.776, allocations: 6.044 MB / 1.366 GB, free: 158.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.227e-05/1.776, allocations: 23.31 kB / 1.366 GB, free: 158.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.28e-05/1.777, allocations: 37.77 kB / 1.366 GB, free: 158.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006757/1.777, allocations: 378.1 kB / 1.366 GB, free: 157.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006878/1.778, allocations: 486.2 kB / 1.367 GB, free: 157.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/1.778, allocations: 0 / 1.367 GB, free: 157.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.063e-05/1.778, allocations: 7.984 kB / 1.367 GB, free: 157.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/1.778, allocations: 12 kB / 1.367 GB, free: 157.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001832/1.78, allocations: 1.397 MB / 1.368 GB, free: 156.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005023/1.78, allocations: 365.5 kB / 1.368 GB, free: 156.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002115/1.781, allocations: 170.3 kB / 1.369 GB, free: 156.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/1.781, allocations: 16.66 kB / 1.369 GB, free: 156.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003176/1.781, allocations: 231.2 kB / 1.369 GB, free: 155.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=55): time 2.365e-06/1.781, allocations: 0 / 1.369 GB, free: 155.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=55): time 0.0005531/1.782, allocations: 367 kB / 1.369 GB, free: 155.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/1.782, allocations: 93.47 kB / 1.369 GB, free: 155.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002981/1.782, allocations: 326.1 kB / 1.37 GB, free: 155.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.576e-05/1.782, allocations: 42.36 kB / 1.37 GB, free: 155.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/1.782, allocations: 240.5 kB / 1.37 GB, free: 155 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.192e-05/1.782, allocations: 132.7 kB / 1.37 GB, free: 154.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.005e-05/1.782, allocations: 0 / 1.37 GB, free: 154.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.7e-05/1.782, allocations: 361.4 kB / 1.37 GB, free: 154.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/1.782, allocations: 149 kB / 1.37 GB, free: 154.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/1.783, allocations: 255.1 kB / 1.371 GB, free: 154.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002009/1.783, allocations: 145.2 kB / 1.371 GB, free: 154.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/1.783, allocations: 4 kB / 1.371 GB, free: 154.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0005545/1.783, allocations: 437.7 kB / 1.371 GB, free: 153.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/1.783, allocations: 9.25 kB / 1.371 GB, free: 153.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/1.784, allocations: 0 / 1.371 GB, free: 153.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/1.784, allocations: 12.03 kB / 1.371 GB, free: 153.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/1.784, allocations: 67.2 kB / 1.371 GB, free: 153.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/1.784, allocations: 12.19 kB / 1.371 GB, free: 153.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/1.784, allocations: 47.38 kB / 1.371 GB, free: 153.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.271e-05/1.784, allocations: 26.12 kB / 1.371 GB, free: 153.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.chiStaCon.offToOne.enableFire,$PRE.chiStaCon.oneToTwo.enableFire,$PRE.chiStaCon.twoToOne.enableFire,$PRE.chiStaCon.oneToOff.enableFire,$whenCondition5,$PRE.on.combiTimeTable.nextTimeEvent,chiStaCon.stateGraphRoot.resume,chiStaCon.stateGraphRoot.suspend,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.on,chiStaCon.y[1],$PRE.chiStaCon.off.localActive,chiStaCon.off.localActive,$PRE.chiStaCon.off.newActive,chiStaCon.off.newActive,$PRE.chiStaCon.off.oldActive,chiStaCon.off.oldActive,chiStaCon.off.active,$PRE.chiStaCon.oneOn.localActive,chiStaCon.oneOn.localActive,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,$PRE.chiStaCon.oneOn.newActive,chiStaCon.oneOn.newActive,$PRE.chiStaCon.oneOn.oldActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,$PRE.chiStaCon.twoOn.localActive,chiStaCon.twoOn.localActive,$PRE.chiStaCon.twoOn.newActive,chiStaCon.twoOn.newActive,$PRE.chiStaCon.twoOn.oldActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.offToOne.enableFire,chiStaCon.offToOne.fire,$PRE.chiStaCon.offToOne.t_start,chiStaCon.offToOne.t_start,chiStaCon.oneToTwo.enableFire,chiStaCon.oneToTwo.fire,$PRE.chiStaCon.oneToTwo.t_start,chiStaCon.oneToTwo.t_start,chiStaCon.twoToOne.enableFire,chiStaCon.twoToOne.fire,$PRE.chiStaCon.twoToOne.t_start,chiStaCon.twoToOne.t_start,chiStaCon.oneToOff.enableFire,chiStaCon.oneToOff.fire,$PRE.chiStaCon.oneToOff.t_start,chiStaCon.oneToOff.t_start,$PRE.chiStaCon.thrOneToTwo.y,chiStaCon.thrOneToTwo.y,chiStaCon.TwoToOne.y,on.combiTimeTable.nextTimeEvent,$PRE.on.combiTimeTable.nextTimeEventScaled,on.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 79 * 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.0001286/1.784, allocations: 157.7 kB / 1.372 GB, free: 153.6 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004552/1.785, allocations: 364.7 kB / 1.372 GB, free: 153.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.696e-05/1.785, allocations: 39.53 kB / 1.372 GB, free: 153.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006631/1.785, allocations: 434.5 kB / 1.372 GB, free: 152.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/1.785, allocations: 8 kB / 1.372 GB, free: 152.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.785, allocations: 0 / 1.372 GB, free: 152.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/1.785, allocations: 7.938 kB / 1.372 GB, free: 152.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/1.787, allocations: 1.077 MB / 1.373 GB, free: 152 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/1.787, allocations: 0 / 1.373 GB, free: 152 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/1.787, allocations: 47.59 kB / 1.373 GB, free: 152 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/1.787, allocations: 3.953 kB / 1.373 GB, free: 152 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/1.787, allocations: 10.25 kB / 1.373 GB, free: 152 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/1.787, allocations: 0 / 1.373 GB, free: 152 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.787, allocations: 4 kB / 1.373 GB, free: 152 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005499/1.788, allocations: 0.4978 MB / 1.374 GB, free: 151.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.612e-05/1.788, allocations: 124 kB / 1.374 GB, free: 151.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.054e-05/1.788, allocations: 11.94 kB / 1.374 GB, free: 151.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/1.788, allocations: 23.98 kB / 1.374 GB, free: 151.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/1.788, allocations: 75.08 kB / 1.374 GB, free: 151.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-05/1.788, allocations: 23.73 kB / 1.374 GB, free: 151.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001763/1.788, allocations: 224.1 kB / 1.374 GB, free: 151.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.5e-07/1.788, allocations: 0 / 1.374 GB, free: 151.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000439/1.789, allocations: 115.5 kB / 1.375 GB, free: 151 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 44 (chiStaCon.twoToOne.enableFire,chiStaCon.oneToOff.enableFire,chiStaCon.offToOne.enableFire,chiStaCon.oneToTwo.enableFire,chiStaCon.twoOn.localActive,chiStaCon.oneOn.localActive,chiStaCon.off.localActive,$cse2,$cse3,$cse4,$cse5,$cse6,$cse7,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.on,chiStaCon.y[1],chiStaCon.off.newActive,chiStaCon.off.oldActive,chiStaCon.off.active,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,chiStaCon.oneOn.newActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,chiStaCon.twoOn.newActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.offToOne.fire,chiStaCon.offToOne.t_start,chiStaCon.oneToTwo.fire,chiStaCon.oneToTwo.t_start,chiStaCon.twoToOne.fire,chiStaCon.twoToOne.t_start,chiStaCon.oneToOff.fire,chiStaCon.oneToOff.t_start,chiStaCon.thrOneToTwo.y,chiStaCon.TwoToOne.y,on.combiTimeTable.nextTimeEvent,on.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 6 (on.combiTimeTable.nextTimeEvent,chiStaCon.off.newActive,chiStaCon.oneOn.newActive,chiStaCon.twoOn.newActive,chiStaCon.thrOneToTwo.y,on.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.001481/1.79, allocations: 1.34 MB / 1.376 GB, free: 149.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000535/1.791, allocations: 411.5 kB / 1.376 GB, free: 149.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.791, allocations: 0 / 1.376 GB, free: 149.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002399/1.791, allocations: 210.9 kB / 1.376 GB, free: 149.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004194/1.792, allocations: 75.44 kB / 1.376 GB, free: 149.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/1.793, allocations: 0.7295 MB / 1.377 GB, free: 148.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/1.793, allocations: 0.8726 MB / 1.378 GB, free: 147.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002294/1.793, allocations: 79.25 kB / 1.378 GB, free: 147.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002466/1.794, allocations: 186.5 kB / 1.378 GB, free: 147.7 MB / 0.8542 GB Notification: Performance of SimCode: time 2.7e-07/1.794, allocations: 0 / 1.378 GB, free: 147.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02692/1.82, allocations: 10.17 MB / 1.388 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001487/1.821, allocations: 202.3 kB / 1.388 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.12/3.94, allocations: 0 / 1.388 GB, free: 137.4 MB / 0.8542 GB (rm -f Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChillerStage.pipe ; mkfifo Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChillerStage.pipe ; head -c 1048576 < Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChillerStage.pipe >> ../files/Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChillerStage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Experimental_DHC_CentralPlants_Cooling_Controls_Validation_ChillerStage_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Experimental_DHC_CentralPlants_Cooling_Controls_Validation_ChillerStage.fmu > Buildings_8_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChillerStage.pipe 2>&1)