Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 108.6 kB / 16.38 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 186.7 kB / 17.31 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.352/1.352, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.803/1.803, allocations: 292.3 MB / 0.5496 GB, free: 17.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001701/0.001702, allocations: 71.25 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2547, allocations: 114.5 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage): time 0.005464/0.2602, allocations: 2.733 MB / 0.7875 GB, free: 436 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3868/0.6471, allocations: 1.583 MB / 0.789 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000302/0.6474, allocations: 12.84 kB / 0.789 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004192/0.6479, allocations: 161.7 kB / 0.7892 GB, free: 46.54 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003631/0.6483, allocations: 169.3 kB / 0.7894 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009405/0.6492, allocations: 482.2 kB / 0.7898 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006414/0.6499, allocations: 0.8529 MB / 0.7906 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004803/0.6504, allocations: 0.4897 MB / 0.7911 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002409/0.6506, allocations: 310.3 kB / 0.7914 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002675/0.6509, allocations: 338.7 kB / 0.7917 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.109e-05/0.651, allocations: 74.81 kB / 0.7918 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000242/0.6512, allocations: 166.6 kB / 0.792 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.6514, allocations: 193.8 kB / 0.7922 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001959/0.6516, allocations: 317.9 kB / 0.7925 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006702/0.6523, allocations: 0.9569 MB / 0.7934 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.6523, allocations: 2.688 kB / 0.7934 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6523, allocations: 0 / 0.7934 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.6523, allocations: 0 / 0.7934 GB, free: 46.12 MB / 0.6544 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.001299/0.6536, allocations: 0.9943 MB / 0.7944 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.6536, allocations: 10.19 kB / 0.7944 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.6538, allocations: 71.66 kB / 0.7944 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004587/0.6542, allocations: 471.8 kB / 0.7949 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.686e-05/0.6543, allocations: 51.47 kB / 0.7949 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.522e-05/0.6544, allocations: 57.31 kB / 0.795 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008449/0.6552, allocations: 0.5658 MB / 0.7956 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.6552, allocations: 0.5312 kB / 0.7956 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.492e-05/0.6553, allocations: 20.91 kB / 0.7956 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.6553, allocations: 10.31 kB / 0.7956 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008047/0.6561, allocations: 457.7 kB / 0.796 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002128/0.6582, allocations: 1.533 MB / 0.7975 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008252/0.6591, allocations: 0.4921 MB / 0.798 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003614/0.6595, allocations: 230.2 kB / 0.7982 GB, free: 44 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.611e-05/0.6595, allocations: 8.156 kB / 0.7982 GB, free: 44 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005321/0.6601, allocations: 316.4 kB / 0.7985 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=63): time 3.086e-06/0.6601, allocations: 2.484 kB / 0.7985 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of matching and sorting (n=63): time 0.001301/0.6614, allocations: 0.6641 MB / 0.7992 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/0.6614, allocations: 118.8 kB / 0.7993 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005815/0.662, allocations: 0.5021 MB / 0.7998 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.466e-05/0.6621, allocations: 56.22 kB / 0.7998 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.6623, allocations: 248.3 kB / 0.8001 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.6624, allocations: 157.8 kB / 0.8002 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002122/0.6626, allocations: 155.7 kB / 0.8004 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.6627, allocations: 371.5 kB / 0.8007 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004162/0.6631, allocations: 198.5 kB / 0.8009 GB, free: 42.42 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005116/0.6637, allocations: 326.5 kB / 0.8012 GB, free: 42.23 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007169/0.6644, allocations: 447.7 kB / 0.8017 GB, free: 41.99 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.6644, allocations: 3.312 kB / 0.8017 GB, free: 41.99 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001173/0.6656, allocations: 0.6122 MB / 0.8023 GB, free: 41.73 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.581e-05/0.6656, allocations: 36.97 kB / 0.8023 GB, free: 41.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.6656, allocations: 2 kB / 0.8023 GB, free: 41.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.645e-05/0.6657, allocations: 10.3 kB / 0.8023 GB, free: 41.69 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003661/0.666, allocations: 87.73 kB / 0.8024 GB, free: 41.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.6661, allocations: 7.672 kB / 0.8024 GB, free: 41.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004143/0.6665, allocations: 87.34 kB / 0.8025 GB, free: 41.64 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-05/0.6666, allocations: 28.38 kB / 0.8025 GB, free: 41.63 MB / 0.6544 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,$PRE.cooMod.combiTimeTable.nextTimeEvent,$whenCondition5,TCHWSup.count,$PRE.TCHWSup.count,TCHWSup.T_start,$PRE.TCHWSup.T_start,cooMod.combiTimeTable.nextTimeEventScaled,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEvent,cooMod.y,chiStaCon.addInt.y,chiStaCon.booToInt1.y,chiStaCon.booToInt.y,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.con4.t_start,$PRE.chiStaCon.con4.t_start,chiStaCon.con4.fire,chiStaCon.con4.enableFire,chiStaCon.con4.localCondition,chiStaCon.con3.t_start,$PRE.chiStaCon.con3.t_start,chiStaCon.con3.fire,chiStaCon.con3.enableFire,chiStaCon.con3.localCondition,chiStaCon.con2.t_start,$PRE.chiStaCon.con2.t_start,chiStaCon.con2.fire,chiStaCon.con2.enableFire,chiStaCon.con2.localCondition,chiStaCon.twoOn.active,chiStaCon.twoOn.oldActive,$PRE.chiStaCon.twoOn.oldActive,chiStaCon.twoOn.newActive,$PRE.chiStaCon.twoOn.newActive,chiStaCon.twoOn.localActive,$PRE.chiStaCon.twoOn.localActive,chiStaCon.off.oldActive,$PRE.chiStaCon.off.oldActive,chiStaCon.off.newActive,$PRE.chiStaCon.off.newActive,chiStaCon.off.localActive,$PRE.chiStaCon.off.localActive,chiStaCon.off.active,chiStaCon.oneOn.active,chiStaCon.oneOn.oldActive,$PRE.chiStaCon.oneOn.oldActive,chiStaCon.oneOn.newActive,$PRE.chiStaCon.oneOn.newActive,chiStaCon.oneOn.outPort[2].available,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.localActive,$PRE.chiStaCon.oneOn.localActive,chiStaCon.con1.t_start,$PRE.chiStaCon.con1.t_start,chiStaCon.con1.fire,chiStaCon.con1.enableFire,chiStaCon.con1.localCondition,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition6,chiStaCon.stateGraphRoot.resume,chiStaCon.stateGraphRoot.suspend) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003032/0.6669, allocations: 267.1 kB / 0.8028 GB, free: 41.45 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.692e-05/0.667, allocations: 52.89 kB / 0.8028 GB, free: 41.42 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/0.6681, allocations: 0.5664 MB / 0.8034 GB, free: 41.19 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.6681, allocations: 5.422 kB / 0.8034 GB, free: 41.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.6681, allocations: 4 kB / 0.8034 GB, free: 41.19 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.984e-05/0.6682, allocations: 127.4 kB / 0.8035 GB, free: 41.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.316e-05/0.6683, allocations: 18.52 kB / 0.8035 GB, free: 41.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003286/0.6686, allocations: 44.38 kB / 0.8035 GB, free: 41.04 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002115/0.6688, allocations: 88.31 kB / 0.8036 GB, free: 41.02 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001366/0.6702, allocations: 0.643 MB / 0.8043 GB, free: 40.75 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001144/0.6714, allocations: 0.7069 MB / 0.805 GB, free: 40.36 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004953/0.6719, allocations: 273.8 kB / 0.8052 GB, free: 40.26 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004435/0.6723, allocations: 344.4 kB / 0.8055 GB, free: 40.11 MB / 0.6544 GB Notification: Performance of Backend: time 5.91e-07/0.6723, allocations: 0 / 0.8055 GB, free: 40.11 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00287/0.6752, allocations: 1.12 MB / 0.8066 GB, free: 39.8 MB / 0.6544 GB Notification: Performance of SimCode: time 0.001723/0.677, allocations: 1.327 MB / 0.8079 GB, free: 38.86 MB / 0.6544 GB Notification: Performance of Templates: time 0.01697/0.6939, allocations: 8.592 MB / 0.8163 GB, free: 38.31 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.makefile (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.sim & ./Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe 2>&1)