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.518/2.518, allocations: 284.9 MB / 292.4 MB, free: 10.59 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.001503/0.001503, allocations: 172.8 kB / 360.6 MB, free: 7.336 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.126/2.126, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001115/0.001115, allocations: 91.06 kB / 0.7321 GB, free: 44.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.476e-05/2.476e-05, allocations: 4 kB / 0.8509 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.88/0.8801, allocations: 115.3 MB / 0.9634 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2537/1.134, allocations: 146.7 MB / 1.107 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003267/1.134, allocations: 91.14 kB / 1.107 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.06039/1.195, allocations: 13.79 MB / 1.12 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.894e-06/1.195, allocations: 0 / 1.12 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.77e-05/1.195, allocations: 16.66 kB / 1.12 GB, free: 11.92 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.002216/1.197, allocations: 0.8436 MB / 1.121 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/1.197, allocations: 8.031 kB / 1.121 GB, free: 11 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003152/1.197, allocations: 74.09 kB / 1.121 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/1.199, allocations: 472.6 kB / 1.122 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.42e-05/1.199, allocations: 24 kB / 1.122 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/1.199, allocations: 36 kB / 1.122 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001219/1.2, allocations: 395.9 kB / 1.122 GB, free: 9.98 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/1.201, allocations: 489.9 kB / 1.123 GB, free: 9.484 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/1.201, allocations: 0 / 1.123 GB, free: 9.484 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.094e-05/1.202, allocations: 0 / 1.123 GB, free: 9.484 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.179e-05/1.202, allocations: 12 kB / 1.123 GB, free: 9.473 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004138/1.206, allocations: 1.449 MB / 1.124 GB, free: 7.98 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/1.207, allocations: 441.4 kB / 1.124 GB, free: 7.535 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004973/1.207, allocations: 196.6 kB / 1.125 GB, free: 7.344 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.638e-05/1.207, allocations: 12.8 kB / 1.125 GB, free: 7.332 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007248/1.208, allocations: 273.9 kB / 1.125 GB, free: 7.055 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=63): time 4.258e-06/1.208, allocations: 2.812 kB / 1.125 GB, free: 7.055 MB / 0.7292 GB Notification: Performance of matching and sorting (n=63): time 0.001345/1.21, allocations: 422.5 kB / 1.125 GB, free: 6.633 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.587e-05/1.21, allocations: 123.4 kB / 1.125 GB, free: 6.488 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008786/1.211, allocations: 436.8 kB / 1.126 GB, free: 6.059 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001544/1.211, allocations: 41.7 kB / 1.126 GB, free: 6.012 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003553/1.211, allocations: 257.1 kB / 1.126 GB, free: 5.754 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002778/1.211, allocations: 153.9 kB / 1.126 GB, free: 5.602 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.463e-05/1.212, allocations: 0 / 1.126 GB, free: 5.602 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002649/1.212, allocations: 358.8 kB / 1.127 GB, free: 5.242 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005267/1.212, allocations: 173.5 kB / 1.127 GB, free: 5.074 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006084/1.213, allocations: 286.5 kB / 1.127 GB, free: 4.758 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005045/1.213, allocations: 164.5 kB / 1.127 GB, free: 4.598 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/1.213, allocations: 0 / 1.127 GB, free: 4.598 MB / 0.7292 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001456/1.215, allocations: 0.4956 MB / 1.128 GB, free: 4.098 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.167e-05/1.215, allocations: 33.95 kB / 1.128 GB, free: 4.059 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/1.215, allocations: 8 kB / 1.128 GB, free: 4.051 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.826e-05/1.215, allocations: 7.953 kB / 1.128 GB, free: 4.043 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006559/1.216, allocations: 83.83 kB / 1.128 GB, free: 3.961 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/1.216, allocations: 11.98 kB / 1.128 GB, free: 3.949 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007772/1.217, allocations: 63.7 kB / 1.128 GB, free: 3.887 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.07e-05/1.217, allocations: 35.86 kB / 1.128 GB, free: 3.852 MB / 0.7292 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.0002572/1.217, allocations: 149.8 kB / 1.128 GB, free: 3.699 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001178/1.218, allocations: 429 kB / 1.128 GB, free: 3.277 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/1.218, allocations: 59.38 kB / 1.128 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001483/1.22, allocations: 0.4987 MB / 1.129 GB, free: 2.707 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/1.22, allocations: 4 kB / 1.129 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.22, allocations: 4 kB / 1.129 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/1.22, allocations: 3.984 kB / 1.129 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003154/1.223, allocations: 1.204 MB / 1.13 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/1.223, allocations: 4 kB / 1.13 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004906/1.224, allocations: 61.2 kB / 1.13 GB, free: 1.387 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.445e-05/1.224, allocations: 5.438 kB / 1.13 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.017e-05/1.224, allocations: 11.98 kB / 1.13 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/1.224, allocations: 3.938 kB / 1.13 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.224, allocations: 0 / 1.13 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/1.225, allocations: 0.5576 MB / 1.131 GB, free: 0.793 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002206/1.225, allocations: 140.5 kB / 1.131 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/1.225, allocations: 11.98 kB / 1.131 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006856/1.226, allocations: 51.94 kB / 1.131 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003146/1.227, allocations: 88.42 kB / 1.131 GB, free: 500 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.957e-05/1.227, allocations: 24 kB / 1.131 GB, free: 476 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000563/1.227, allocations: 310.9 kB / 1.131 GB, free: 168 kB / 0.7292 GB Notification: Performance of sort global known variables: time 4.81e-07/1.227, allocations: 0 / 1.131 GB, free: 168 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009032/1.228, allocations: 135.8 kB / 1.131 GB, free: 32 kB / 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: 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.003456/1.232, allocations: 1.615 MB / 1.133 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001527/1.233, allocations: 0.5094 MB / 1.134 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/1.233, allocations: 0 / 1.134 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0007355/1.234, allocations: 250 kB / 1.134 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008949/1.235, allocations: 74.3 kB / 1.134 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003046/1.238, allocations: 0.8718 MB / 1.135 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006945/1.239, allocations: 0.9082 MB / 1.136 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005995/1.239, allocations: 93.55 kB / 1.136 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005517/1.24, allocations: 211.3 kB / 1.136 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of SimCode: time 1.192e-06/1.24, allocations: 4 kB / 1.136 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06352/1.303, allocations: 11.71 MB / 1.147 GB, free: 192 kB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004979/1.304, allocations: 202.7 kB / 1.148 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.905/4.209, allocations: 0 / 1.148 GB, free: 15.91 MB / 0.7605 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)