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.274/2.274, allocations: 252.6 MB / 265.2 MB, free: 5.703 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.001504/0.001503, allocations: 179.9 kB / 324.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.087/2.087, allocations: 205.4 MB / 0.5754 GB, free: 10.41 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.001088/0.001088, allocations: 94.69 kB / 0.6797 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.363e-05/3.382e-05, allocations: 4 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2048, allocations: 106.2 MB / 0.8949 GB, free: 6.285 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9235/1.128, allocations: 141.1 MB / 1.033 GB, free: 9.52 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003421/1.129, allocations: 91.94 kB / 1.033 GB, free: 9.469 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06239/1.191, allocations: 13.96 MB / 1.046 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.493e-06/1.191, allocations: 0 / 1.046 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.602e-05/1.191, allocations: 19.98 kB / 1.046 GB, free: 13.7 MB / 0.6667 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.002249/1.194, allocations: 0.8433 MB / 1.047 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/1.194, allocations: 12.03 kB / 1.047 GB, free: 12.82 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000278/1.194, allocations: 71.16 kB / 1.047 GB, free: 12.75 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/1.195, allocations: 466.2 kB / 1.048 GB, free: 12.34 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.977e-05/1.195, allocations: 42.12 kB / 1.048 GB, free: 12.32 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/1.195, allocations: 57.67 kB / 1.048 GB, free: 12.28 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/1.197, allocations: 0.5392 MB / 1.048 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/1.197, allocations: 4 kB / 1.048 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.861e-05/1.197, allocations: 18.06 kB / 1.048 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.19e-05/1.197, allocations: 12 kB / 1.048 GB, free: 11.88 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/1.198, allocations: 416.6 kB / 1.049 GB, free: 11.62 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004048/1.202, allocations: 1.551 MB / 1.05 GB, free: 10.44 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/1.204, allocations: 466.3 kB / 1.051 GB, free: 10.13 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005414/1.204, allocations: 224.5 kB / 1.051 GB, free: 9.996 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 6.947e-05/1.204, allocations: 8.562 kB / 1.051 GB, free: 9.988 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00075/1.205, allocations: 299.1 kB / 1.051 GB, free: 9.762 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=63): time 3.587e-06/1.205, allocations: 0 / 1.051 GB, free: 9.762 MB / 0.6667 GB Notification: Performance of matching and sorting (n=63): time 0.001387/1.206, allocations: 461.6 kB / 1.052 GB, free: 9.41 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.701e-05/1.207, allocations: 119 kB / 1.052 GB, free: 9.273 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009199/1.207, allocations: 462.6 kB / 1.052 GB, free: 8.914 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001446/1.208, allocations: 52.7 kB / 1.052 GB, free: 8.871 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002726/1.208, allocations: 259.2 kB / 1.053 GB, free: 8.691 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002156/1.208, allocations: 155.3 kB / 1.053 GB, free: 8.562 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-05/1.208, allocations: 14.56 kB / 1.053 GB, free: 8.559 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001914/1.208, allocations: 362.3 kB / 1.053 GB, free: 8.219 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005343/1.209, allocations: 178.4 kB / 1.053 GB, free: 8.113 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007154/1.21, allocations: 310.8 kB / 1.054 GB, free: 7.852 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000545/1.21, allocations: 204.4 kB / 1.054 GB, free: 7.703 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/1.21, allocations: 4 kB / 1.054 GB, free: 7.699 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001655/1.212, allocations: 0.5793 MB / 1.054 GB, free: 7.242 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.665e-05/1.212, allocations: 36.77 kB / 1.054 GB, free: 7.203 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/1.212, allocations: 0 / 1.054 GB, free: 7.203 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.843e-05/1.212, allocations: 8 kB / 1.054 GB, free: 7.195 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006883/1.213, allocations: 91.44 kB / 1.054 GB, free: 7.109 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.894e-05/1.213, allocations: 4 kB / 1.054 GB, free: 7.105 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00083/1.214, allocations: 86.12 kB / 1.055 GB, free: 7.035 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.557e-05/1.214, allocations: 26.75 kB / 1.055 GB, free: 7.012 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.0002951/1.214, allocations: 181.9 kB / 1.055 GB, free: 6.852 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/1.214, allocations: 51.39 kB / 1.055 GB, free: 6.801 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001565/1.216, allocations: 0.5531 MB / 1.055 GB, free: 6.395 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/1.216, allocations: 4 kB / 1.055 GB, free: 6.391 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/1.216, allocations: 4 kB / 1.055 GB, free: 6.387 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/1.216, allocations: 3.938 kB / 1.055 GB, free: 6.383 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003241/1.219, allocations: 1.331 MB / 1.057 GB, free: 5.328 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/1.219, allocations: 0 / 1.057 GB, free: 5.328 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005118/1.22, allocations: 63.47 kB / 1.057 GB, free: 5.27 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.39e-05/1.22, allocations: 4 kB / 1.057 GB, free: 5.266 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.655e-05/1.22, allocations: 17.73 kB / 1.057 GB, free: 5.258 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/1.22, allocations: 0 / 1.057 GB, free: 5.258 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.22, allocations: 0 / 1.057 GB, free: 5.258 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/1.221, allocations: 0.6011 MB / 1.057 GB, free: 4.762 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002438/1.222, allocations: 142.5 kB / 1.057 GB, free: 4.609 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/1.222, allocations: 18.12 kB / 1.057 GB, free: 4.602 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006914/1.222, allocations: 62.88 kB / 1.058 GB, free: 4.547 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000315/1.223, allocations: 91.61 kB / 1.058 GB, free: 4.477 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.323e-05/1.223, allocations: 23.23 kB / 1.058 GB, free: 4.457 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0006335/1.223, allocations: 331.9 kB / 1.058 GB, free: 4.207 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.51e-07/1.223, allocations: 0 / 1.058 GB, free: 4.207 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008354/1.224, allocations: 156.4 kB / 1.058 GB, free: 4.078 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.001984/1.226, allocations: 0.6494 MB / 1.059 GB, free: 3.672 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001565/1.228, allocations: 0.5487 MB / 1.059 GB, free: 3.254 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.228, allocations: 0 / 1.059 GB, free: 3.254 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006792/1.229, allocations: 269 kB / 1.06 GB, free: 3.07 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008351/1.229, allocations: 85.33 kB / 1.06 GB, free: 3.012 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/1.232, allocations: 0.7747 MB / 1.06 GB, free: 2.355 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006673/1.232, allocations: 0.9076 MB / 1.061 GB, free: 1.438 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0006071/1.233, allocations: 96.53 kB / 1.061 GB, free: 1.34 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003059/1.233, allocations: 55.3 kB / 1.061 GB, free: 1.289 MB / 0.6667 GB Notification: Performance of SimCode: time 1.312e-06/1.233, allocations: 3.938 kB / 1.061 GB, free: 1.285 MB / 0.6667 GB Notification: Performance of Templates: time 0.02352/1.257, allocations: 7.296 MB / 1.069 GB, free: 10.07 MB / 0.6823 GB