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.166/2.166, allocations: 251.1 MB / 266.1 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001602/0.001602, allocations: 177.3 kB / 325.6 MB, free: 2.828 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.453/2.453, allocations: 205.4 MB / 0.5766 GB, free: 20.75 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.001177/0.001177, allocations: 99.64 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004696/0.0004696, allocations: 15.47 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2015, allocations: 106.2 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3249/0.5265, allocations: 141.2 MB / 1.037 GB, free: 4.059 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005266/0.5271, allocations: 95.94 kB / 1.037 GB, free: 3.965 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.09528/0.6224, allocations: 14.01 MB / 1.051 GB, free: 5.898 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.386e-06/0.6224, allocations: 0 / 1.051 GB, free: 5.898 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001021/0.6226, allocations: 15.94 kB / 1.051 GB, free: 5.883 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.003769/0.6263, allocations: 0.9134 MB / 1.051 GB, free: 4.902 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.852e-05/0.6264, allocations: 8.031 kB / 1.051 GB, free: 4.895 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004611/0.6269, allocations: 75.14 kB / 1.052 GB, free: 4.82 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001849/0.6288, allocations: 469.8 kB / 1.052 GB, free: 4.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001356/0.629, allocations: 41 kB / 1.052 GB, free: 4.281 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002528/0.6292, allocations: 59.98 kB / 1.052 GB, free: 4.223 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002802/0.6321, allocations: 0.5699 MB / 1.053 GB, free: 3.633 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.426e-05/0.6322, allocations: 0 / 1.053 GB, free: 3.633 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001263/0.6323, allocations: 20 kB / 1.053 GB, free: 3.613 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.555e-05/0.6323, allocations: 12 kB / 1.053 GB, free: 3.602 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002717/0.6351, allocations: 471.7 kB / 1.053 GB, free: 3.141 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006531/0.6417, allocations: 1.551 MB / 1.055 GB, free: 1.535 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00275/0.6445, allocations: 0.4983 MB / 1.055 GB, free: 1.027 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001212/0.6446, allocations: 12.55 kB / 1.055 GB, free: 1.016 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001596/0.6463, allocations: 326.9 kB / 1.055 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of pre-optimization done (n=63): time 1.067e-05/0.6463, allocations: 0 / 1.055 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of matching and sorting (n=63): time 0.6116/1.258, allocations: 0.6842 MB / 1.056 GB, free: 146.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.537e-05/1.258, allocations: 111.9 kB / 1.056 GB, free: 146 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/1.259, allocations: 458.9 kB / 1.057 GB, free: 145.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002052/1.259, allocations: 57.28 kB / 1.057 GB, free: 145.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002318/1.26, allocations: 251.3 kB / 1.057 GB, free: 145.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001825/1.26, allocations: 158 kB / 1.057 GB, free: 145.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.774e-05/1.26, allocations: 12.09 kB / 1.057 GB, free: 145.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001409/1.26, allocations: 371 kB / 1.057 GB, free: 145.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007764/1.261, allocations: 207.7 kB / 1.058 GB, free: 145.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007977/1.262, allocations: 336.3 kB / 1.058 GB, free: 145.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006988/1.262, allocations: 222.9 kB / 1.058 GB, free: 145.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/1.262, allocations: 0 / 1.058 GB, free: 145.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001792/1.264, allocations: 0.6335 MB / 1.059 GB, free: 145.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.463e-05/1.264, allocations: 35.58 kB / 1.059 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/1.264, allocations: 2.625 kB / 1.059 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.07e-05/1.264, allocations: 5.844 kB / 1.059 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006185/1.265, allocations: 86.89 kB / 1.059 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.664e-05/1.265, allocations: 13.97 kB / 1.059 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007089/1.266, allocations: 86.22 kB / 1.059 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.366e-05/1.266, allocations: 28.38 kB / 1.059 GB, free: 145.1 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.000498/1.266, allocations: 263.6 kB / 1.059 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/1.266, allocations: 48.41 kB / 1.059 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001764/1.268, allocations: 0.5951 MB / 1.06 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/1.268, allocations: 9.688 kB / 1.06 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/1.268, allocations: 0.8594 kB / 1.06 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/1.268, allocations: 3.844 kB / 1.06 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003269/1.272, allocations: 1.377 MB / 1.061 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/1.272, allocations: 0 / 1.061 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005021/1.272, allocations: 72.09 kB / 1.061 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.069e-05/1.272, allocations: 3.109 kB / 1.061 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.442e-05/1.272, allocations: 18.72 kB / 1.061 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.974e-06/1.272, allocations: 3.828 kB / 1.061 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.272, allocations: 2.062 kB / 1.061 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/1.274, allocations: 0.6408 MB / 1.062 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001787/1.274, allocations: 147 kB / 1.062 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/1.274, allocations: 17.55 kB / 1.062 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006627/1.275, allocations: 65.69 kB / 1.062 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003169/1.275, allocations: 95.08 kB / 1.062 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.858e-05/1.275, allocations: 23.69 kB / 1.062 GB, free: 144.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005817/1.276, allocations: 335.4 kB / 1.063 GB, free: 144.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.41e-07/1.276, allocations: 0 / 1.063 GB, free: 144.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008648/1.277, allocations: 156 kB / 1.063 GB, free: 144.2 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.002063/1.279, allocations: 0.7311 MB / 1.064 GB, free: 144 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002033/1.281, allocations: 0.6003 MB / 1.064 GB, free: 143.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.85e-06/1.281, allocations: 0 / 1.064 GB, free: 143.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000871/1.282, allocations: 288.6 kB / 1.064 GB, free: 143.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008518/1.283, allocations: 89.27 kB / 1.064 GB, free: 143.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00287/1.286, allocations: 1.16 MB / 1.066 GB, free: 143.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006053/1.286, allocations: 0.9025 MB / 1.067 GB, free: 142.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006403/1.287, allocations: 88.31 kB / 1.067 GB, free: 142.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003078/1.287, allocations: 60.38 kB / 1.067 GB, free: 142.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.262e-06/1.287, allocations: 0 / 1.067 GB, free: 142.7 MB / 0.698 GB Notification: Performance of Templates: time 0.025/1.312, allocations: 7.284 MB / 1.074 GB, free: 142.2 MB / 0.698 GB