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.VariableSpeedPumpStage.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.VariableSpeedPumpStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.472/2.472, 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.002083/0.002083, allocations: 175.5 kB / 325.6 MB, free: 2.84 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.76/2.76, 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.001527/0.001527, allocations: 96.47 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007287/0.0007288, allocations: 12.31 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2329, allocations: 106.3 MB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage): time 0.003179/0.2362, allocations: 2.039 MB / 0.9009 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002201/0.2384, allocations: 1.159 MB / 0.902 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001828/0.2386, allocations: 11.94 kB / 0.902 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003109/0.2389, allocations: 87.52 kB / 0.9021 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003125/0.2393, allocations: 91.73 kB / 0.9022 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006768/0.24, allocations: 214 kB / 0.9024 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005914/0.2406, allocations: 411.6 kB / 0.9028 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005157/0.2411, allocations: 345.5 kB / 0.9031 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002536/0.2414, allocations: 187.3 kB / 0.9033 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002843/0.2417, allocations: 211 kB / 0.9035 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.364e-05/0.2417, allocations: 20 kB / 0.9035 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.2419, allocations: 47.98 kB / 0.9036 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.242, allocations: 99.58 kB / 0.9037 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.244e-05/0.2421, allocations: 105.5 kB / 0.9038 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00065/0.2428, allocations: 0.5806 MB / 0.9043 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.063e-06/0.2428, allocations: 0 / 0.9043 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2428, allocations: 4 kB / 0.9043 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.2428, allocations: 0 / 0.9043 GB, free: 60.34 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001583/0.2444, allocations: 0.7375 MB / 0.905 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.2445, allocations: 8.031 kB / 0.9051 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001418/0.2446, allocations: 63.33 kB / 0.9051 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005878/0.2452, allocations: 367.2 kB / 0.9055 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.114e-05/0.2453, allocations: 52.92 kB / 0.9055 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.2454, allocations: 52 kB / 0.9056 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/0.2468, allocations: 0.5176 MB / 0.9061 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.2468, allocations: 4 kB / 0.9061 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.96e-05/0.2469, allocations: 27.88 kB / 0.9061 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.2469, allocations: 8 kB / 0.9061 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/0.2483, allocations: 455.7 kB / 0.9065 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002899/0.2512, allocations: 1.442 MB / 0.908 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/0.2527, allocations: 492.9 kB / 0.9084 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.398e-05/0.2528, allocations: 4.438 kB / 0.9084 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007971/0.2536, allocations: 294.8 kB / 0.9087 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=58): time 3.727e-06/0.2536, allocations: 0 / 0.9087 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=58): time 0.001921/0.2555, allocations: 0.6195 MB / 0.9093 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.2556, allocations: 71.89 kB / 0.9094 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000429/0.256, allocations: 342.7 kB / 0.9097 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.274e-05/0.2561, allocations: 49.7 kB / 0.9098 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.2563, allocations: 217.1 kB / 0.91 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/0.2564, allocations: 154 kB / 0.9101 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-05/0.2565, allocations: 12 kB / 0.9101 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.823e-05/0.2566, allocations: 350.8 kB / 0.9105 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006572/0.2573, allocations: 193.2 kB / 0.9106 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006944/0.258, allocations: 274 kB / 0.9109 GB, free: 53.35 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006159/0.2586, allocations: 208.8 kB / 0.9111 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.2586, allocations: 7.938 kB / 0.9111 GB, free: 53.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001599/0.2602, allocations: 0.5842 MB / 0.9117 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.196e-05/0.2603, allocations: 29.7 kB / 0.9117 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.2603, allocations: 4 kB / 0.9117 GB, free: 52.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.2604, allocations: 4 kB / 0.9117 GB, free: 52.49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000559/0.2609, allocations: 80.05 kB / 0.9118 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.68e-05/0.261, allocations: 7.953 kB / 0.9118 GB, free: 52.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006523/0.2616, allocations: 95.53 kB / 0.9119 GB, free: 52.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-05/0.2617, allocations: 24 kB / 0.9119 GB, free: 52.29 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 62 ($PRE.varSpePumSta.con1.enableFire,$PRE.varSpePumSta.con2.enableFire,$PRE.varSpePumSta.con3.enableFire,$PRE.varSpePumSta.con4.enableFire,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varSpePumSta.con1.condition,varSpePumSta.con1.enableFire,varSpePumSta.con1.fire,$PRE.varSpePumSta.con1.t_start,varSpePumSta.con1.t_start,$PRE.varSpePumSta.oneOn.localActive,varSpePumSta.oneOn.localActive,varSpePumSta.oneOn.inPort[2].occupied,varSpePumSta.oneOn.outPort[2].available,$PRE.varSpePumSta.oneOn.newActive,varSpePumSta.oneOn.newActive,$PRE.varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.active,varSpePumSta.off.active,$PRE.varSpePumSta.off.localActive,varSpePumSta.off.localActive,$PRE.varSpePumSta.off.newActive,varSpePumSta.off.newActive,$PRE.varSpePumSta.off.oldActive,varSpePumSta.off.oldActive,$PRE.varSpePumSta.twoOn.localActive,varSpePumSta.twoOn.localActive,$PRE.varSpePumSta.twoOn.newActive,varSpePumSta.twoOn.newActive,$PRE.varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.active,varSpePumSta.con2.condition,varSpePumSta.con2.enableFire,varSpePumSta.con2.fire,$PRE.varSpePumSta.con2.t_start,varSpePumSta.con2.t_start,varSpePumSta.con3.condition,varSpePumSta.con3.enableFire,varSpePumSta.con3.fire,$PRE.varSpePumSta.con3.t_start,varSpePumSta.con3.t_start,varSpePumSta.con4.condition,varSpePumSta.con4.enableFire,varSpePumSta.con4.fire,$PRE.varSpePumSta.con4.t_start,varSpePumSta.con4.t_start,varSpePumSta.stateGraphRoot.activeSteps,varSpePumSta.booToInt.y,varSpePumSta.booToInt1.y,varSpePumSta.addInt.y,$PRE.speSig.T_start,speSig.T_start,$PRE.speSig.count,speSig.count,varSpePumSta.stateGraphRoot.resume,varSpePumSta.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * 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.0003891/0.2621, allocations: 241.6 kB / 0.9121 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.053e-05/0.2622, allocations: 39.53 kB / 0.9122 GB, free: 52 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001545/0.2638, allocations: 0.5341 MB / 0.9127 GB, free: 51.46 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.2638, allocations: 4 kB / 0.9127 GB, free: 51.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.2638, allocations: 8 kB / 0.9127 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.2638, allocations: 7.938 kB / 0.9127 GB, free: 51.44 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002742/0.2666, allocations: 1.211 MB / 0.9139 GB, free: 50.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.2666, allocations: 7.984 kB / 0.9139 GB, free: 50.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004358/0.2671, allocations: 59.86 kB / 0.914 GB, free: 50.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/0.2671, allocations: 8 kB / 0.914 GB, free: 50.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.795e-05/0.2672, allocations: 15.98 kB / 0.914 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.2672, allocations: 3.938 kB / 0.914 GB, free: 50.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.2672, allocations: 4 kB / 0.914 GB, free: 50.08 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.2686, allocations: 0.589 MB / 0.9146 GB, free: 49.47 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.061e-05/0.2687, allocations: 116.5 kB / 0.9147 GB, free: 49.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.233e-05/0.2688, allocations: 19.94 kB / 0.9147 GB, free: 49.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005937/0.2694, allocations: 63.94 kB / 0.9148 GB, free: 49.26 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002548/0.2697, allocations: 80.45 kB / 0.9148 GB, free: 49.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.84e-05/0.2697, allocations: 19.98 kB / 0.9149 GB, free: 49.16 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002827/0.27, allocations: 221.9 kB / 0.9151 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.81e-07/0.27, allocations: 0 / 0.9151 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006316/0.2707, allocations: 123.7 kB / 0.9152 GB, free: 48.82 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: 47 (varSpePumSta.con3.enableFire,varSpePumSta.con4.enableFire,varSpePumSta.con1.enableFire,varSpePumSta.con2.enableFire,varSpePumSta.twoOn.localActive,varSpePumSta.off.localActive,varSpePumSta.oneOn.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varSpePumSta.con1.condition,varSpePumSta.con1.fire,varSpePumSta.con1.t_start,varSpePumSta.oneOn.inPort[2].occupied,varSpePumSta.oneOn.outPort[2].available,varSpePumSta.oneOn.newActive,varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.active,varSpePumSta.off.active,varSpePumSta.off.newActive,varSpePumSta.off.oldActive,varSpePumSta.twoOn.newActive,varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.active,varSpePumSta.con2.condition,varSpePumSta.con2.fire,varSpePumSta.con2.t_start,varSpePumSta.con3.condition,varSpePumSta.con3.fire,varSpePumSta.con3.t_start,varSpePumSta.con4.condition,varSpePumSta.con4.fire,varSpePumSta.con4.t_start,varSpePumSta.stateGraphRoot.activeSteps,varSpePumSta.booToInt.y,varSpePumSta.booToInt1.y,varSpePumSta.addInt.y,speSig.T_start,speSig.count) * Number of discrete states: 4 (speSig.count,varSpePumSta.oneOn.newActive,varSpePumSta.off.newActive,varSpePumSta.twoOn.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.001109/0.2718, allocations: 407 kB / 0.9156 GB, free: 48.55 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001502/0.2733, allocations: 0.5541 MB / 0.9161 GB, free: 47.98 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.2733, allocations: 448 / 0.9161 GB, free: 47.98 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007085/0.274, allocations: 271.1 kB / 0.9164 GB, free: 47.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005118/0.2746, allocations: 59.73 kB / 0.9164 GB, free: 47.66 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/0.2765, allocations: 0.9627 MB / 0.9174 GB, free: 46.67 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.2769, allocations: 0.8559 MB / 0.9182 GB, free: 45.79 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003665/0.2773, allocations: 68.14 kB / 0.9183 GB, free: 45.72 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000227/0.2775, allocations: 47.42 kB / 0.9183 GB, free: 45.67 MB / 0.6042 GB Notification: Performance of SimCode: time 7.41e-07/0.2776, allocations: 0 / 0.9183 GB, free: 45.67 MB / 0.6042 GB Notification: Performance of Templates: time 0.01472/0.2923, allocations: 5.209 MB / 0.9234 GB, free: 40.52 MB / 0.6042 GB