Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,fileNamePrefix="Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.514/2.514, allocations: 287.3 MB / 302.3 MB, free: 8.336 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.001509/0.001509, allocations: 186.8 kB / 370.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.165/2.165, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001171/0.001171, allocations: 101 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004683/0.0004684, allocations: 11.88 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2056, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9392/1.145, allocations: 147.5 MB / 1.122 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003334/1.145, allocations: 101.6 kB / 1.122 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05596/1.201, allocations: 13.97 MB / 1.136 GB, free: 28.42 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.544e-06/1.201, allocations: 0 / 1.136 GB, free: 28.42 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.956e-05/1.201, allocations: 23.45 kB / 1.136 GB, free: 28.41 MB / 0.698 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.002628/1.204, allocations: 0.9198 MB / 1.137 GB, free: 27.68 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/1.204, allocations: 7.719 kB / 1.137 GB, free: 27.68 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002338/1.204, allocations: 92.64 kB / 1.137 GB, free: 27.63 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002231/1.205, allocations: 65.59 kB / 1.137 GB, free: 27.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/1.206, allocations: 478.4 kB / 1.138 GB, free: 27.28 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.342e-05/1.206, allocations: 44.56 kB / 1.138 GB, free: 27.28 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/1.206, allocations: 55.91 kB / 1.138 GB, free: 27.28 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/1.207, allocations: 0.57 MB / 1.138 GB, free: 27.08 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/1.208, allocations: 0 / 1.138 GB, free: 27.08 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.257e-05/1.208, allocations: 20.53 kB / 1.138 GB, free: 27.08 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/1.208, allocations: 19.14 kB / 1.138 GB, free: 27.07 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001596/1.209, allocations: 470.5 kB / 1.139 GB, free: 27 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003996/1.213, allocations: 1.545 MB / 1.14 GB, free: 26.24 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/1.215, allocations: 0.507 MB / 1.141 GB, free: 26.14 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.492e-05/1.215, allocations: 8.25 kB / 1.141 GB, free: 26.14 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009358/1.216, allocations: 326.2 kB / 1.141 GB, free: 26.02 MB / 0.698 GB Notification: Performance of pre-optimization done (n=63): time 4.459e-06/1.216, allocations: 4 kB / 1.141 GB, free: 26.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=63): time 0.002296/1.218, allocations: 0.6799 MB / 1.142 GB, free: 25.86 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/1.218, allocations: 126.2 kB / 1.142 GB, free: 25.73 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008608/1.219, allocations: 461.6 kB / 1.142 GB, free: 25.55 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001547/1.22, allocations: 55.3 kB / 1.142 GB, free: 25.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000241/1.22, allocations: 258.8 kB / 1.143 GB, free: 25.38 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001719/1.22, allocations: 152.6 kB / 1.143 GB, free: 25.29 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.854e-05/1.22, allocations: 13.78 kB / 1.143 GB, free: 25.29 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002005/1.22, allocations: 362.6 kB / 1.143 GB, free: 24.96 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007318/1.221, allocations: 209.6 kB / 1.143 GB, free: 24.93 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008141/1.222, allocations: 344 kB / 1.144 GB, free: 24.77 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007143/1.223, allocations: 224.2 kB / 1.144 GB, free: 24.72 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/1.223, allocations: 0 / 1.144 GB, free: 24.72 MB / 0.698 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001871/1.224, allocations: 0.6339 MB / 1.144 GB, free: 24.54 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.9e-05/1.225, allocations: 41.45 kB / 1.144 GB, free: 24.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/1.225, allocations: 3.812 kB / 1.144 GB, free: 24.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.707e-05/1.225, allocations: 3.906 kB / 1.144 GB, free: 24.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006041/1.225, allocations: 85.17 kB / 1.145 GB, free: 24.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/1.225, allocations: 3.875 kB / 1.145 GB, free: 24.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007904/1.226, allocations: 96.47 kB / 1.145 GB, free: 24.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.66e-05/1.226, allocations: 22.66 kB / 1.145 GB, free: 24.44 MB / 0.698 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 () * Number of clocked 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.0005947/1.227, allocations: 269 kB / 1.145 GB, free: 24.29 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/1.227, allocations: 46.66 kB / 1.145 GB, free: 24.27 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001882/1.229, allocations: 0.5952 MB / 1.146 GB, free: 24.12 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/1.229, allocations: 11.45 kB / 1.146 GB, free: 24.11 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/1.229, allocations: 0 / 1.146 GB, free: 24.11 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/1.229, allocations: 0 / 1.146 GB, free: 24.11 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003887/1.233, allocations: 1.378 MB / 1.147 GB, free: 23.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/1.233, allocations: 4 kB / 1.147 GB, free: 23.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004724/1.233, allocations: 65.58 kB / 1.147 GB, free: 23.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-06/1.233, allocations: 3.812 kB / 1.147 GB, free: 23.52 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.167e-05/1.233, allocations: 22.27 kB / 1.147 GB, free: 23.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.805e-06/1.234, allocations: 3.844 kB / 1.147 GB, free: 23.51 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.234, allocations: 0 / 1.147 GB, free: 23.51 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00171/1.235, allocations: 0.6464 MB / 1.148 GB, free: 23.27 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001976/1.235, allocations: 137.9 kB / 1.148 GB, free: 23.15 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/1.236, allocations: 22.36 kB / 1.148 GB, free: 23.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006432/1.236, allocations: 61.12 kB / 1.148 GB, free: 23.12 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002793/1.237, allocations: 95.86 kB / 1.148 GB, free: 23.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.185e-05/1.237, allocations: 23.28 kB / 1.148 GB, free: 23.08 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005497/1.237, allocations: 334.6 kB / 1.148 GB, free: 22.95 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.4e-07/1.237, allocations: 0 / 1.148 GB, free: 22.95 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000794/1.238, allocations: 153 kB / 1.148 GB, free: 22.94 MB / 0.698 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) * Number of clocked states: 0 () * 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.003974/1.242, allocations: 1.827 MB / 1.15 GB, free: 21.95 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001945/1.244, allocations: 0.5924 MB / 1.151 GB, free: 21.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/1.244, allocations: 0 / 1.151 GB, free: 21.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008417/1.245, allocations: 293.6 kB / 1.151 GB, free: 21.76 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008356/1.246, allocations: 86.62 kB / 1.151 GB, free: 21.73 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00882/1.255, allocations: 4.368 MB / 1.155 GB, free: 19.17 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006275/1.255, allocations: 0.9069 MB / 1.156 GB, free: 18.38 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006295/1.256, allocations: 98.47 kB / 1.156 GB, free: 18.33 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005454/1.256, allocations: 212.6 kB / 1.157 GB, free: 18.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.001e-06/1.256, allocations: 0 / 1.157 GB, free: 18.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0509/1.307, allocations: 12.39 MB / 1.169 GB, free: 6.762 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002608/1.308, allocations: 255.8 kB / 1.169 GB, free: 6.43 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.096/4.404, allocations: 0 / 1.169 GB, free: 6.43 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; mkfifo Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe >> ../files/Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage_fmu --startTime=0 --stopTime=1440 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage.fmu > Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe 2>&1)