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.ConstantSpeedPumpStage.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.ConstantSpeedPumpStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.228/2.228, 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.001682/0.001682, allocations: 189.4 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.721/2.721, allocations: 205.4 MB / 0.5766 GB, free: 21.17 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.001156/0.001155, allocations: 100.2 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004561/0.0004561, allocations: 16.19 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2226, 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.ConstantSpeedPumpStage): time 0.004656/0.2273, allocations: 2.355 MB / 0.9012 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.006855/0.2342, allocations: 1.584 MB / 0.9027 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004936/0.2348, allocations: 7.938 kB / 0.9027 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005855/0.2354, allocations: 187.2 kB / 0.9029 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006707/0.2361, allocations: 187.5 kB / 0.9031 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001979/0.2381, allocations: 487.4 kB / 0.9036 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001216/0.2393, allocations: 0.5151 MB / 0.9041 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007641/0.2401, allocations: 443 kB / 0.9045 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003859/0.2405, allocations: 255 kB / 0.9047 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004165/0.241, allocations: 286.8 kB / 0.905 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.123e-05/0.2411, allocations: 28 kB / 0.905 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003961/0.2415, allocations: 115.8 kB / 0.9051 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000192/0.2417, allocations: 167.4 kB / 0.9053 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001839/0.2419, allocations: 137.3 kB / 0.9054 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.243, allocations: 0.7911 MB / 0.9062 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.243, allocations: 0 / 0.9062 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.334e-06/0.243, allocations: 0 / 0.9062 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.29e-05/0.243, allocations: 0 / 0.9062 GB, free: 58.44 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001983/0.245, allocations: 0.9576 MB / 0.9071 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.2451, allocations: 12.03 kB / 0.9072 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001966/0.2453, allocations: 82.97 kB / 0.9072 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.2463, allocations: 0.527 MB / 0.9077 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.693e-05/0.2464, allocations: 45 kB / 0.9078 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.2465, allocations: 55.98 kB / 0.9078 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.248, allocations: 0.5678 MB / 0.9084 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.248, allocations: 3.953 kB / 0.9084 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.213e-05/0.2481, allocations: 23.98 kB / 0.9084 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.2481, allocations: 16 kB / 0.9084 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.2494, allocations: 443.7 kB / 0.9089 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003279/0.2527, allocations: 1.578 MB / 0.9104 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001571/0.2543, allocations: 0.5068 MB / 0.9109 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.619e-05/0.2544, allocations: 17.56 kB / 0.9109 GB, free: 53.42 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007461/0.2551, allocations: 303 kB / 0.9112 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=65): time 4.077e-06/0.2552, allocations: 0 / 0.9112 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=65): time 0.001922/0.2571, allocations: 0.6817 MB / 0.9119 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.738e-05/0.2572, allocations: 162.8 kB / 0.912 GB, free: 52.23 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.2583, allocations: 0.7172 MB / 0.9127 GB, free: 51.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.606e-05/0.2584, allocations: 57.69 kB / 0.9128 GB, free: 51.44 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002521/0.2586, allocations: 297.2 kB / 0.9131 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/0.2588, allocations: 161.8 kB / 0.9132 GB, free: 50.98 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-05/0.2589, allocations: 16 kB / 0.9132 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.259, allocations: 382.8 kB / 0.9136 GB, free: 50.58 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005645/0.2596, allocations: 189.9 kB / 0.9138 GB, free: 50.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006745/0.2603, allocations: 364.2 kB / 0.9141 GB, free: 49.99 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005675/0.2608, allocations: 183.2 kB / 0.9143 GB, free: 49.82 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.2609, allocations: 0 / 0.9143 GB, free: 49.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001519/0.2624, allocations: 0.5941 MB / 0.9149 GB, free: 49.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.2624, allocations: 10.19 kB / 0.9149 GB, free: 49.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.2625, allocations: 0 / 0.9149 GB, free: 49.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.516e-05/0.2625, allocations: 15.95 kB / 0.9149 GB, free: 49.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005755/0.2631, allocations: 87.83 kB / 0.915 GB, free: 49.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.559e-05/0.2631, allocations: 11.94 kB / 0.915 GB, free: 49.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004711/0.2636, allocations: 71.41 kB / 0.9151 GB, free: 49.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-05/0.2637, allocations: 24 kB / 0.9151 GB, free: 49 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 69 ($PRE.conSpePumSta.con1.enableFire,$PRE.conSpePumSta.con2.enableFire,$PRE.conSpePumSta.con3.enableFire,$PRE.conSpePumSta.con4.enableFire,$whenCondition6,$PRE.chiNumOn.combiTimeTable.nextTimeEvent,$whenCondition5,$PRE.cooMod.combiTimeTable.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,conSpePumSta.con1.condition,conSpePumSta.con1.enableFire,conSpePumSta.con1.fire,$PRE.conSpePumSta.con1.t_start,conSpePumSta.con1.t_start,$PRE.conSpePumSta.oneOn.localActive,conSpePumSta.oneOn.localActive,conSpePumSta.oneOn.inPort[2].occupied,conSpePumSta.oneOn.outPort[2].available,$PRE.conSpePumSta.oneOn.newActive,conSpePumSta.oneOn.newActive,$PRE.conSpePumSta.oneOn.oldActive,conSpePumSta.oneOn.oldActive,conSpePumSta.oneOn.active,conSpePumSta.off.active,$PRE.conSpePumSta.off.localActive,conSpePumSta.off.localActive,$PRE.conSpePumSta.off.newActive,conSpePumSta.off.newActive,$PRE.conSpePumSta.off.oldActive,conSpePumSta.off.oldActive,$PRE.conSpePumSta.twoOn.localActive,conSpePumSta.twoOn.localActive,$PRE.conSpePumSta.twoOn.newActive,conSpePumSta.twoOn.newActive,$PRE.conSpePumSta.twoOn.oldActive,conSpePumSta.twoOn.oldActive,conSpePumSta.twoOn.active,conSpePumSta.con2.condition,conSpePumSta.con2.enableFire,conSpePumSta.con2.fire,$PRE.conSpePumSta.con2.t_start,conSpePumSta.con2.t_start,conSpePumSta.con3.condition,conSpePumSta.con3.enableFire,conSpePumSta.con3.fire,$PRE.conSpePumSta.con3.t_start,conSpePumSta.con3.t_start,conSpePumSta.con4.condition,conSpePumSta.con4.enableFire,conSpePumSta.con4.fire,$PRE.conSpePumSta.con4.t_start,conSpePumSta.con4.t_start,conSpePumSta.stateGraphRoot.activeSteps,conSpePumSta.booToInt.y,conSpePumSta.booToInt1.y,conSpePumSta.addInt.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled,chiNumOn.y,chiNumOn.combiTimeTable.nextTimeEvent,$PRE.chiNumOn.combiTimeTable.nextTimeEventScaled,chiNumOn.combiTimeTable.nextTimeEventScaled,conSpePumSta.stateGraphRoot.resume,conSpePumSta.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * 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.0005019/0.2642, allocations: 305.7 kB / 0.9154 GB, free: 48.68 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.2643, allocations: 59.25 kB / 0.9154 GB, free: 48.62 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001582/0.2659, allocations: 0.5973 MB / 0.916 GB, free: 48.02 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.2659, allocations: 11.89 kB / 0.916 GB, free: 48.01 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.266, allocations: 3.984 kB / 0.916 GB, free: 48 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.266, allocations: 4 kB / 0.916 GB, free: 48 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003006/0.269, allocations: 1.413 MB / 0.9174 GB, free: 46.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.2691, allocations: 0 / 0.9174 GB, free: 46.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004022/0.2695, allocations: 51.91 kB / 0.9175 GB, free: 46.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/0.2695, allocations: 4 kB / 0.9175 GB, free: 46.47 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.022e-05/0.2695, allocations: 15.98 kB / 0.9175 GB, free: 46.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.845e-06/0.2696, allocations: 7.938 kB / 0.9175 GB, free: 46.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2696, allocations: 0 / 0.9175 GB, free: 46.45 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/0.271, allocations: 0.646 MB / 0.9181 GB, free: 45.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001591/0.2712, allocations: 152.2 kB / 0.9183 GB, free: 45.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.2713, allocations: 16 kB / 0.9183 GB, free: 45.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000427/0.2718, allocations: 31.97 kB / 0.9183 GB, free: 45.57 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002619/0.2721, allocations: 84.53 kB / 0.9184 GB, free: 45.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.821e-05/0.2721, allocations: 27.98 kB / 0.9184 GB, free: 45.46 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007238/0.2729, allocations: 0.491 MB / 0.9189 GB, free: 44.98 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.2e-07/0.2729, allocations: 0 / 0.9189 GB, free: 44.98 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007897/0.2737, allocations: 171.6 kB / 0.9191 GB, free: 44.81 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: 52 (conSpePumSta.con3.enableFire,conSpePumSta.con4.enableFire,conSpePumSta.con1.enableFire,conSpePumSta.con2.enableFire,conSpePumSta.twoOn.localActive,conSpePumSta.off.localActive,conSpePumSta.oneOn.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,conSpePumSta.con1.condition,conSpePumSta.con1.fire,conSpePumSta.con1.t_start,conSpePumSta.oneOn.inPort[2].occupied,conSpePumSta.oneOn.outPort[2].available,conSpePumSta.oneOn.newActive,conSpePumSta.oneOn.oldActive,conSpePumSta.oneOn.active,conSpePumSta.off.active,conSpePumSta.off.newActive,conSpePumSta.off.oldActive,conSpePumSta.twoOn.newActive,conSpePumSta.twoOn.oldActive,conSpePumSta.twoOn.active,conSpePumSta.con2.condition,conSpePumSta.con2.fire,conSpePumSta.con2.t_start,conSpePumSta.con3.condition,conSpePumSta.con3.fire,conSpePumSta.con3.t_start,conSpePumSta.con4.condition,conSpePumSta.con4.fire,conSpePumSta.con4.t_start,conSpePumSta.stateGraphRoot.activeSteps,conSpePumSta.booToInt.y,conSpePumSta.booToInt1.y,conSpePumSta.addInt.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled,chiNumOn.y,chiNumOn.combiTimeTable.nextTimeEvent,chiNumOn.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 7 (chiNumOn.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEvent,conSpePumSta.oneOn.newActive,conSpePumSta.off.newActive,conSpePumSta.twoOn.newActive,chiNumOn.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 60 * 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.002064/0.2758, allocations: 0.7176 MB / 0.9198 GB, free: 44.38 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001483/0.2773, allocations: 0.5131 MB / 0.9203 GB, free: 43.87 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.2773, allocations: 0.5625 kB / 0.9203 GB, free: 43.87 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006938/0.278, allocations: 283.6 kB / 0.9205 GB, free: 43.59 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008573/0.2789, allocations: 110.2 kB / 0.9206 GB, free: 43.48 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/0.2814, allocations: 1.344 MB / 0.922 GB, free: 42.11 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004856/0.2819, allocations: 0.9557 MB / 0.9229 GB, free: 41.12 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005476/0.2825, allocations: 112.9 kB / 0.923 GB, free: 41.01 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002983/0.2828, allocations: 59.42 kB / 0.9231 GB, free: 40.95 MB / 0.6042 GB Notification: Performance of SimCode: time 1.172e-06/0.2828, allocations: 0 / 0.9231 GB, free: 40.95 MB / 0.6042 GB Notification: Performance of Templates: time 0.02204/0.3049, allocations: 8.171 MB / 0.931 GB, free: 32.87 MB / 0.6042 GB