Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.376/2.376, allocations: 253.2 MB / 260.6 MB, free: 7.57 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001405/0.001405, allocations: 183.4 kB / 319.9 MB, free: 3.055 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.056/2.056, allocations: 205.6 MB / 0.5708 GB, free: 15.21 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001619/0.001619, allocations: 93.19 kB / 0.6751 GB, free: 4.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.342e-05/2.357e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2037, allocations: 106.2 MB / 0.8887 GB, free: 11.83 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8836/1.087, allocations: 141.4 MB / 1.027 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003555/1.088, allocations: 95.59 kB / 1.027 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06529/1.153, allocations: 13.8 MB / 1.04 GB, free: 0.5312 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.056e-06/1.153, allocations: 0 / 1.04 GB, free: 0.5312 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001004/1.153, allocations: 16 kB / 1.04 GB, free: 0.5156 MB / 0.6511 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.003078/1.156, allocations: 0.8416 MB / 1.041 GB, free: 15.66 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.473e-05/1.156, allocations: 12.02 kB / 1.041 GB, free: 15.64 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003674/1.157, allocations: 71.16 kB / 1.041 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001692/1.159, allocations: 462.4 kB / 1.042 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.257e-05/1.159, allocations: 23.05 kB / 1.042 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001809/1.159, allocations: 43.06 kB / 1.042 GB, free: 15.1 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001848/1.161, allocations: 389.8 kB / 1.042 GB, free: 14.87 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/1.163, allocations: 487.5 kB / 1.043 GB, free: 14.51 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.097e-05/1.163, allocations: 4 kB / 1.043 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/1.163, allocations: 3.938 kB / 1.043 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.434e-05/1.163, allocations: 12 kB / 1.043 GB, free: 14.49 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006036/1.169, allocations: 1.463 MB / 1.044 GB, free: 13.38 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/1.171, allocations: 430.2 kB / 1.044 GB, free: 13.1 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000669/1.171, allocations: 195.7 kB / 1.045 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 9.754e-05/1.172, allocations: 16.27 kB / 1.045 GB, free: 12.97 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00096/1.173, allocations: 280 kB / 1.045 GB, free: 12.76 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=63): time 5.78e-06/1.173, allocations: 0 / 1.045 GB, free: 12.76 MB / 0.6667 GB Notification: Performance of matching and sorting (n=63): time 0.001713/1.174, allocations: 416.1 kB / 1.045 GB, free: 12.44 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/1.174, allocations: 122.7 kB / 1.045 GB, free: 12.3 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/1.176, allocations: 447.7 kB / 1.046 GB, free: 11.96 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001483/1.176, allocations: 39.02 kB / 1.046 GB, free: 11.92 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003532/1.176, allocations: 246.9 kB / 1.046 GB, free: 11.74 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000283/1.176, allocations: 151.5 kB / 1.046 GB, free: 11.62 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.507e-05/1.176, allocations: 4 kB / 1.046 GB, free: 11.61 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000262/1.177, allocations: 364 kB / 1.047 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006765/1.177, allocations: 167.1 kB / 1.047 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009442/1.178, allocations: 290.8 kB / 1.047 GB, free: 10.94 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000746/1.179, allocations: 158.4 kB / 1.047 GB, free: 10.84 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/1.179, allocations: 0 / 1.047 GB, free: 10.84 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002278/1.182, allocations: 0.5021 MB / 1.048 GB, free: 10.45 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.715e-05/1.182, allocations: 44.64 kB / 1.048 GB, free: 10.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/1.182, allocations: 4 kB / 1.048 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.58e-05/1.182, allocations: 8 kB / 1.048 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006923/1.182, allocations: 82.52 kB / 1.048 GB, free: 10.31 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/1.182, allocations: 8 kB / 1.048 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007361/1.183, allocations: 67.69 kB / 1.048 GB, free: 10.24 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-05/1.183, allocations: 23.5 kB / 1.048 GB, free: 10.22 MB / 0.6667 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.0002584/1.184, allocations: 155.4 kB / 1.048 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/1.184, allocations: 51.44 kB / 1.048 GB, free: 10.02 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001502/1.185, allocations: 0.5089 MB / 1.049 GB, free: 9.625 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/1.185, allocations: 11.94 kB / 1.049 GB, free: 9.613 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/1.185, allocations: 0 / 1.049 GB, free: 9.613 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/1.185, allocations: 3.984 kB / 1.049 GB, free: 9.609 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002967/1.188, allocations: 1.213 MB / 1.05 GB, free: 8.652 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/1.188, allocations: 0 / 1.05 GB, free: 8.652 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004978/1.189, allocations: 59.47 kB / 1.05 GB, free: 8.598 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.093e-05/1.189, allocations: 3.938 kB / 1.05 GB, free: 8.594 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.95e-05/1.189, allocations: 11.61 kB / 1.05 GB, free: 8.586 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.215e-06/1.189, allocations: 8 kB / 1.05 GB, free: 8.578 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/1.189, allocations: 0 / 1.05 GB, free: 8.578 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/1.19, allocations: 0.5635 MB / 1.05 GB, free: 8.105 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001871/1.19, allocations: 140.3 kB / 1.051 GB, free: 7.957 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/1.191, allocations: 0 / 1.051 GB, free: 7.957 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006638/1.191, allocations: 59.88 kB / 1.051 GB, free: 7.902 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002974/1.192, allocations: 87.92 kB / 1.051 GB, free: 7.832 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.397e-05/1.192, allocations: 23.92 kB / 1.051 GB, free: 7.812 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005377/1.192, allocations: 315.5 kB / 1.051 GB, free: 7.582 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.81e-07/1.192, allocations: 0 / 1.051 GB, free: 7.582 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008548/1.193, allocations: 135.6 kB / 1.051 GB, free: 7.453 MB / 0.6667 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.001819/1.195, allocations: 0.5897 MB / 1.052 GB, free: 7.027 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001353/1.196, allocations: 0.513 MB / 1.052 GB, free: 6.652 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.196, allocations: 0.5 kB / 1.052 GB, free: 6.652 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006279/1.197, allocations: 258.5 kB / 1.052 GB, free: 6.469 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000797/1.198, allocations: 73.12 kB / 1.053 GB, free: 6.41 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/1.2, allocations: 0.7434 MB / 1.053 GB, free: 5.77 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006333/1.201, allocations: 0.9083 MB / 1.054 GB, free: 4.84 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0005849/1.201, allocations: 92.44 kB / 1.054 GB, free: 4.75 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002924/1.201, allocations: 55.17 kB / 1.054 GB, free: 4.699 MB / 0.6667 GB Notification: Performance of SimCode: time 1.092e-06/1.201, allocations: 0 / 1.054 GB, free: 4.699 MB / 0.6667 GB Notification: Performance of Templates: time 0.0223/1.224, allocations: 6.909 MB / 1.061 GB, free: 13.87 MB / 0.6823 GB