Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.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.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage",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.653/1.653, allocations: 285.4 MB / 298 MB, free: 5.996 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.001307/0.001308, allocations: 184.8 kB / 366.4 MB, free: 2.066 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.46/1.46, allocations: 205.1 MB / 0.6248 GB, free: 7.723 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.0008619/0.0008619, allocations: 99.62 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.91e-05/2.928e-05, allocations: 0 / 0.8584 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6312/0.6312, allocations: 115.3 MB / 0.971 GB, free: 77.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1985/0.8298, allocations: 147.5 MB / 1.115 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/0.8301, allocations: 95.94 kB / 1.115 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03737/0.8675, allocations: 13.94 MB / 1.129 GB, free: 6.156 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.733e-06/0.8676, allocations: 0 / 1.129 GB, free: 6.156 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.648e-05/0.8676, allocations: 16 kB / 1.129 GB, free: 6.141 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001338/0.869, allocations: 0.8554 MB / 1.13 GB, free: 5.227 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.869, allocations: 8.031 kB / 1.13 GB, free: 5.219 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00012/0.8692, allocations: 90.52 kB / 1.13 GB, free: 5.121 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/0.8693, allocations: 75.14 kB / 1.13 GB, free: 5.047 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007511/0.8701, allocations: 468.3 kB / 1.13 GB, free: 4.547 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.22e-05/0.8701, allocations: 45 kB / 1.13 GB, free: 4.504 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.134e-05/0.8702, allocations: 71.2 kB / 1.13 GB, free: 4.438 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009163/0.8711, allocations: 0.5272 MB / 1.131 GB, free: 3.891 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.8712, allocations: 0 / 1.131 GB, free: 3.891 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.382e-05/0.8712, allocations: 23.95 kB / 1.131 GB, free: 3.867 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.8712, allocations: 15.94 kB / 1.131 GB, free: 3.852 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007481/0.872, allocations: 423.8 kB / 1.131 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002446/0.8745, allocations: 1.543 MB / 1.133 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007247/0.8752, allocations: 469.9 kB / 1.133 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000332/0.8755, allocations: 206.5 kB / 1.133 GB, free: 1.164 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.521e-05/0.8756, allocations: 13.5 kB / 1.133 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005141/0.8761, allocations: 299 kB / 1.134 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=63): time 3.136e-06/0.8761, allocations: 4 kB / 1.134 GB, free: 0.8477 MB / 0.7292 GB Notification: Performance of matching and sorting (n=63): time 0.0008421/0.877, allocations: 462.4 kB / 1.134 GB, free: 396 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.86e-05/0.8771, allocations: 115.4 kB / 1.134 GB, free: 256 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005719/0.8777, allocations: 462.5 kB / 1.135 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.743e-05/0.8777, allocations: 53.7 kB / 1.135 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.8779, allocations: 253.1 kB / 1.135 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.8781, allocations: 150 kB / 1.135 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/0.8781, allocations: 12 kB / 1.135 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.8783, allocations: 374.8 kB / 1.136 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003088/0.8786, allocations: 181.5 kB / 1.136 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004053/0.879, allocations: 302.8 kB / 1.136 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000334/0.8794, allocations: 199.8 kB / 1.136 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.8794, allocations: 3.938 kB / 1.136 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0009355/0.8803, allocations: 0.5871 MB / 1.137 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.039e-05/0.8804, allocations: 37.66 kB / 1.137 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.8804, allocations: 4 kB / 1.137 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.722e-05/0.8804, allocations: 4 kB / 1.137 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003678/0.8808, allocations: 83.81 kB / 1.137 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.8808, allocations: 8 kB / 1.137 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004043/0.8812, allocations: 90.09 kB / 1.137 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-05/0.8813, allocations: 35.97 kB / 1.137 GB, free: 13.37 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 68 ($PRE.chiStaCon.con1.enableFire,$PRE.chiStaCon.con2.enableFire,$PRE.chiStaCon.con3.enableFire,$PRE.chiStaCon.con4.enableFire,$whenCondition5,$PRE.cooMod.combiTimeTable.nextTimeEvent,chiStaCon.stateGraphRoot.resume,chiStaCon.stateGraphRoot.suspend,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.cooMod,chiStaCon.con1.enableFire,chiStaCon.con1.fire,$PRE.chiStaCon.con1.t_start,chiStaCon.con1.t_start,chiStaCon.con1.condition,$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.off.localActive,chiStaCon.off.localActive,$PRE.chiStaCon.off.newActive,chiStaCon.off.newActive,$PRE.chiStaCon.off.oldActive,chiStaCon.off.oldActive,chiStaCon.off.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.con2.enableFire,chiStaCon.con2.fire,$PRE.chiStaCon.con2.t_start,chiStaCon.con2.t_start,chiStaCon.con2.condition,chiStaCon.con3.enableFire,chiStaCon.con3.fire,$PRE.chiStaCon.con3.t_start,chiStaCon.con3.t_start,chiStaCon.con3.condition,chiStaCon.con4.enableFire,chiStaCon.con4.fire,$PRE.chiStaCon.con4.t_start,chiStaCon.con4.t_start,chiStaCon.con4.condition,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.addInt.u1,chiStaCon.addInt.u2,chiStaCon.addInt.y,cooMod.combiTimeTable.nextTimeEvent,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled,$PRE.TCHWSup.T_start,TCHWSup.T_start,$PRE.TCHWSup.count,TCHWSup.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 1 * 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.0001836/0.8815, allocations: 166.4 kB / 1.137 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.842e-05/0.8816, allocations: 55.28 kB / 1.137 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009402/0.8825, allocations: 0.5573 MB / 1.138 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.8825, allocations: 8 kB / 1.138 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.8825, allocations: 0 / 1.138 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.8826, allocations: 3.984 kB / 1.138 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001939/0.8845, allocations: 1.329 MB / 1.139 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.8845, allocations: 0 / 1.139 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002544/0.8848, allocations: 63.84 kB / 1.139 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/0.8848, allocations: 4 kB / 1.139 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.985e-05/0.8849, allocations: 15.98 kB / 1.139 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.8849, allocations: 4 kB / 1.139 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.8849, allocations: 0 / 1.139 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007821/0.8857, allocations: 0.5967 MB / 1.14 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.8858, allocations: 136.4 kB / 1.14 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.409e-05/0.8859, allocations: 25.75 kB / 1.14 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003606/0.8863, allocations: 59.94 kB / 1.14 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001949/0.8865, allocations: 96.42 kB / 1.14 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.798e-05/0.8865, allocations: 19.98 kB / 1.14 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003637/0.8869, allocations: 329.2 kB / 1.14 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.532e-06/0.8869, allocations: 4 kB / 1.14 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005384/0.8874, allocations: 159.8 kB / 1.141 GB, free: 9.652 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: 51 (chiStaCon.con3.enableFire,chiStaCon.con4.enableFire,chiStaCon.con1.enableFire,chiStaCon.con2.enableFire,chiStaCon.twoOn.localActive,chiStaCon.off.localActive,chiStaCon.oneOn.localActive,$cse2,$cse3,$cse4,$cse5,$cse6,$cse7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.cooMod,chiStaCon.con1.fire,chiStaCon.con1.t_start,chiStaCon.con1.condition,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,chiStaCon.oneOn.newActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,chiStaCon.off.newActive,chiStaCon.off.oldActive,chiStaCon.off.active,chiStaCon.twoOn.newActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.con2.fire,chiStaCon.con2.t_start,chiStaCon.con2.condition,chiStaCon.con3.fire,chiStaCon.con3.t_start,chiStaCon.con3.condition,chiStaCon.con4.fire,chiStaCon.con4.t_start,chiStaCon.con4.condition,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.addInt.u1,chiStaCon.addInt.u2,chiStaCon.addInt.y,cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled,TCHWSup.T_start,TCHWSup.count) * Number of discrete states: 6 (TCHWSup.count,cooMod.combiTimeTable.nextTimeEvent,chiStaCon.oneOn.newActive,chiStaCon.off.newActive,chiStaCon.twoOn.newActive,cooMod.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.002381/0.8898, allocations: 1.69 MB / 1.142 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0009291/0.8908, allocations: 0.5514 MB / 1.143 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.8908, allocations: 6.312 kB / 1.143 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003974/0.8912, allocations: 267.2 kB / 1.143 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005149/0.8917, allocations: 83.17 kB / 1.143 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.8936, allocations: 0.9203 MB / 1.144 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004902/0.8941, allocations: 0.9048 MB / 1.145 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003046/0.8944, allocations: 92.69 kB / 1.145 GB, free: 5.324 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003442/0.8948, allocations: 215.3 kB / 1.145 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of SimCode: time 7.92e-07/0.8948, allocations: 0 / 1.145 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02671/0.9215, allocations: 12.45 MB / 1.157 GB, free: 8.969 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000204/0.9217, allocations: 234.8 kB / 1.158 GB, free: 8.656 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.377/3.299, allocations: 2.406 kB / 1.158 GB, free: 8.656 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage_fmu --startTime=0 --stopTime=1440 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage.fmu > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe 2>&1)