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.426/2.426, allocations: 251.1 MB / 266.1 MB, free: 11.63 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.001524/0.001524, allocations: 179.7 kB / 325.6 MB, free: 2.852 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.371/2.371, allocations: 205.4 MB / 0.5766 GB, free: 21.14 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.001062/0.001063, allocations: 95.8 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004467/0.0004467, allocations: 11.06 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2008, allocations: 106.3 MB / 0.8989 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage): time 0.003658/0.2045, allocations: 2.355 MB / 0.9012 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003364/0.2079, allocations: 1.478 MB / 0.9026 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003527/0.2083, allocations: 7.938 kB / 0.9026 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004763/0.2088, allocations: 139.3 kB / 0.9028 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005462/0.2094, allocations: 147.5 kB / 0.9029 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001448/0.2108, allocations: 363.4 kB / 0.9033 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001008/0.2119, allocations: 479.6 kB / 0.9037 GB, free: 61 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006223/0.2125, allocations: 398.5 kB / 0.9041 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003161/0.2128, allocations: 235.1 kB / 0.9043 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003627/0.2132, allocations: 250.9 kB / 0.9046 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.795e-05/0.2133, allocations: 24 kB / 0.9046 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003239/0.2136, allocations: 87.84 kB / 0.9047 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001578/0.2138, allocations: 131.5 kB / 0.9048 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.214, allocations: 129.4 kB / 0.9049 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008779/0.2148, allocations: 0.7053 MB / 0.9056 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.2149, allocations: 0 / 0.9056 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2149, allocations: 3.938 kB / 0.9056 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.2149, allocations: 0 / 0.9056 GB, free: 59.05 MB / 0.6042 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.001982/0.2169, allocations: 0.8723 MB / 0.9065 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.2169, allocations: 12.03 kB / 0.9065 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001849/0.2171, allocations: 71.14 kB / 0.9065 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007779/0.2179, allocations: 449.9 kB / 0.907 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.326e-05/0.218, allocations: 45 kB / 0.907 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.2181, allocations: 59.98 kB / 0.9071 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/0.2197, allocations: 0.5622 MB / 0.9076 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.2198, allocations: 3.953 kB / 0.9076 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.907e-05/0.2198, allocations: 20 kB / 0.9076 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.2199, allocations: 12 kB / 0.9076 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001466/0.2213, allocations: 463.7 kB / 0.9081 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003601/0.225, allocations: 1.566 MB / 0.9096 GB, free: 54.76 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.2265, allocations: 0.5005 MB / 0.9101 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.267e-05/0.2266, allocations: 8.562 kB / 0.9101 GB, free: 54.24 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000871/0.2274, allocations: 318.9 kB / 0.9104 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=63): time 3.918e-06/0.2275, allocations: 0 / 0.9104 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=63): time 0.002139/0.2296, allocations: 0.6779 MB / 0.9111 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.329e-05/0.2297, allocations: 119.3 kB / 0.9112 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007209/0.2304, allocations: 0.5012 MB / 0.9117 GB, free: 52.58 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001068/0.2306, allocations: 53.69 kB / 0.9117 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002105/0.2308, allocations: 249.2 kB / 0.912 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001586/0.231, allocations: 157.8 kB / 0.9121 GB, free: 52.12 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.666e-05/0.231, allocations: 15.94 kB / 0.9121 GB, free: 52.11 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.2312, allocations: 374.8 kB / 0.9125 GB, free: 51.73 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006913/0.2319, allocations: 197.9 kB / 0.9127 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007533/0.2326, allocations: 328.8 kB / 0.913 GB, free: 51.18 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006638/0.2333, allocations: 220.8 kB / 0.9132 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.2333, allocations: 4 kB / 0.9132 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001787/0.2351, allocations: 0.6233 MB / 0.9138 GB, free: 50.32 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.816e-05/0.2352, allocations: 33.7 kB / 0.9139 GB, free: 50.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.2352, allocations: 3.953 kB / 0.9139 GB, free: 50.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/0.2353, allocations: 8 kB / 0.9139 GB, free: 50.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006158/0.2359, allocations: 83.81 kB / 0.9139 GB, free: 50.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.689e-05/0.2359, allocations: 8 kB / 0.914 GB, free: 50.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007263/0.2367, allocations: 107.4 kB / 0.9141 GB, free: 50.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.926e-05/0.2368, allocations: 24 kB / 0.9141 GB, free: 50.05 MB / 0.6042 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,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.con1.condition,chiStaCon.con1.enableFire,chiStaCon.con1.fire,$PRE.chiStaCon.con1.t_start,chiStaCon.con1.t_start,$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,chiStaCon.off.active,$PRE.chiStaCon.off.localActive,chiStaCon.off.localActive,$PRE.chiStaCon.off.newActive,chiStaCon.off.newActive,$PRE.chiStaCon.off.oldActive,chiStaCon.off.oldActive,$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.condition,chiStaCon.con2.enableFire,chiStaCon.con2.fire,$PRE.chiStaCon.con2.t_start,chiStaCon.con2.t_start,chiStaCon.con3.condition,chiStaCon.con3.enableFire,chiStaCon.con3.fire,$PRE.chiStaCon.con3.t_start,chiStaCon.con3.t_start,chiStaCon.con4.condition,chiStaCon.con4.enableFire,chiStaCon.con4.fire,$PRE.chiStaCon.con4.t_start,chiStaCon.con4.t_start,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.booToInt.y,chiStaCon.booToInt1.y,chiStaCon.addInt.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled,$PRE.TCHWSup.T_start,TCHWSup.T_start,$PRE.TCHWSup.count,TCHWSup.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004618/0.2372, allocations: 273.6 kB / 0.9143 GB, free: 49.77 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.2374, allocations: 47.44 kB / 0.9144 GB, free: 49.73 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001701/0.2391, allocations: 0.5786 MB / 0.915 GB, free: 49.14 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.2391, allocations: 15.89 kB / 0.915 GB, free: 49.12 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.2391, allocations: 0 / 0.915 GB, free: 49.12 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.2392, allocations: 3.984 kB / 0.915 GB, free: 49.12 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003181/0.2424, allocations: 1.336 MB / 0.9163 GB, free: 47.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.2424, allocations: 4 kB / 0.9163 GB, free: 47.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004544/0.2429, allocations: 63.91 kB / 0.9163 GB, free: 47.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.157e-05/0.2429, allocations: 4 kB / 0.9163 GB, free: 47.66 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.063e-05/0.243, allocations: 15.98 kB / 0.9164 GB, free: 47.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.734e-06/0.243, allocations: 0 / 0.9164 GB, free: 47.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.243, allocations: 0 / 0.9164 GB, free: 47.64 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0016/0.2446, allocations: 0.6434 MB / 0.917 GB, free: 46.98 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001482/0.2448, allocations: 136.3 kB / 0.9171 GB, free: 46.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.245, allocations: 16 kB / 0.9171 GB, free: 46.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006388/0.2456, allocations: 59.94 kB / 0.9172 GB, free: 46.75 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002924/0.2459, allocations: 96.42 kB / 0.9173 GB, free: 46.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.779e-05/0.246, allocations: 19.98 kB / 0.9173 GB, free: 46.64 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004885/0.2465, allocations: 339.1 kB / 0.9176 GB, free: 46.31 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2465, allocations: 0 / 0.9176 GB, free: 46.31 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007945/0.2473, allocations: 151.7 kB / 0.9178 GB, free: 46.16 MB / 0.6042 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,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.con1.condition,chiStaCon.con1.fire,chiStaCon.con1.t_start,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,chiStaCon.oneOn.newActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,chiStaCon.off.active,chiStaCon.off.newActive,chiStaCon.off.oldActive,chiStaCon.twoOn.newActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.con2.condition,chiStaCon.con2.fire,chiStaCon.con2.t_start,chiStaCon.con3.condition,chiStaCon.con3.fire,chiStaCon.con3.t_start,chiStaCon.con4.condition,chiStaCon.con4.fire,chiStaCon.con4.t_start,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.booToInt.y,chiStaCon.booToInt1.y,chiStaCon.addInt.y,cooMod.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 (69): * Single equations (assignments): 58 * 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.00202/0.2493, allocations: 0.7107 MB / 0.9185 GB, free: 45.73 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00179/0.2512, allocations: 0.5813 MB / 0.919 GB, free: 45.13 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.2512, allocations: 4.5 kB / 0.919 GB, free: 45.13 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008014/0.252, allocations: 283.1 kB / 0.9193 GB, free: 44.85 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00076/0.2528, allocations: 85.44 kB / 0.9194 GB, free: 44.77 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002383/0.2552, allocations: 1.143 MB / 0.9205 GB, free: 43.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.2557, allocations: 0.9087 MB / 0.9214 GB, free: 42.67 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005069/0.2562, allocations: 84.66 kB / 0.9215 GB, free: 42.58 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002774/0.2565, allocations: 55.42 kB / 0.9215 GB, free: 42.53 MB / 0.6042 GB Notification: Performance of SimCode: time 1.202e-06/0.2565, allocations: 0 / 0.9215 GB, free: 42.53 MB / 0.6042 GB Notification: Performance of Templates: time 0.02002/0.2765, allocations: 7.165 MB / 0.9285 GB, free: 35.45 MB / 0.6042 GB