Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.704/1.704, allocations: 288.3 MB / 303.2 MB, free: 8.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 193.8 kB / 371.9 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.789/1.789, allocations: 205.4 MB / 0.6306 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 109 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004387/0.0004387, allocations: 10.28 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2756, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9554/1.231, allocations: 143.9 MB / 1.12 GB, free: 16.25 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/1.231, allocations: 98.92 kB / 1.12 GB, free: 16.25 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02287/1.254, allocations: 9.562 MB / 1.129 GB, free: 30.57 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.693e-06/1.254, allocations: 0 / 1.129 GB, free: 30.57 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.517e-05/1.254, allocations: 19.62 kB / 1.129 GB, free: 30.56 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001259/1.256, allocations: 0.7582 MB / 1.13 GB, free: 29.95 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/1.256, allocations: 15.61 kB / 1.13 GB, free: 29.94 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/1.256, allocations: 66.19 kB / 1.13 GB, free: 29.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005175/1.256, allocations: 369.6 kB / 1.131 GB, free: 29.62 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.352e-05/1.256, allocations: 41.44 kB / 1.131 GB, free: 29.62 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.896e-05/1.256, allocations: 59.64 kB / 1.131 GB, free: 29.62 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009172/1.257, allocations: 0.5188 MB / 1.131 GB, free: 29.46 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/1.257, allocations: 0 / 1.131 GB, free: 29.46 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.686e-05/1.257, allocations: 21.88 kB / 1.131 GB, free: 29.46 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/1.258, allocations: 11.64 kB / 1.131 GB, free: 29.45 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007884/1.258, allocations: 457.8 kB / 1.132 GB, free: 29.38 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00203/1.26, allocations: 1.431 MB / 1.133 GB, free: 28.65 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008492/1.261, allocations: 0.4905 MB / 1.133 GB, free: 28.56 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.764e-05/1.261, allocations: 4.312 kB / 1.133 GB, free: 28.56 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005442/1.262, allocations: 297.7 kB / 1.134 GB, free: 28.44 MB / 0.698 GB Notification: Performance of pre-optimization done (n=58): time 2.144e-06/1.262, allocations: 0 / 1.134 GB, free: 28.44 MB / 0.698 GB Notification: Performance of matching and sorting (n=58): time 0.00121/1.263, allocations: 0.6265 MB / 1.134 GB, free: 28.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/1.263, allocations: 63.19 kB / 1.134 GB, free: 28.24 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003768/1.263, allocations: 312 kB / 1.135 GB, free: 28.09 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.185e-05/1.264, allocations: 52.41 kB / 1.135 GB, free: 28.06 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/1.264, allocations: 221 kB / 1.135 GB, free: 27.92 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/1.264, allocations: 146.5 kB / 1.135 GB, free: 27.83 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.593e-05/1.264, allocations: 6.812 kB / 1.135 GB, free: 27.83 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001691/1.264, allocations: 362.1 kB / 1.136 GB, free: 27.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003665/1.264, allocations: 193 kB / 1.136 GB, free: 27.47 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003989/1.265, allocations: 276.2 kB / 1.136 GB, free: 27.37 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003844/1.265, allocations: 213.6 kB / 1.136 GB, free: 27.31 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/1.265, allocations: 3.984 kB / 1.136 GB, free: 27.31 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0009528/1.266, allocations: 0.5793 MB / 1.137 GB, free: 27.15 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.825e-05/1.266, allocations: 40.23 kB / 1.137 GB, free: 27.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/1.266, allocations: 0 / 1.137 GB, free: 27.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/1.266, allocations: 7.688 kB / 1.137 GB, free: 27.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003072/1.267, allocations: 78.05 kB / 1.137 GB, free: 27.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/1.267, allocations: 3.844 kB / 1.137 GB, free: 27.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003451/1.267, allocations: 80.25 kB / 1.137 GB, free: 27.06 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-05/1.267, allocations: 21.22 kB / 1.137 GB, free: 27.06 MB / 0.698 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,varSpePumSta.stateGraphRoot.resume,varSpePumSta.stateGraphRoot.suspend,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varSpePumSta.con1.enableFire,varSpePumSta.con1.fire,$PRE.varSpePumSta.con1.t_start,varSpePumSta.con1.t_start,varSpePumSta.con1.condition,$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,$PRE.varSpePumSta.off.localActive,varSpePumSta.off.localActive,$PRE.varSpePumSta.off.newActive,varSpePumSta.off.newActive,$PRE.varSpePumSta.off.oldActive,varSpePumSta.off.oldActive,varSpePumSta.off.active,$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.enableFire,varSpePumSta.con2.fire,$PRE.varSpePumSta.con2.t_start,varSpePumSta.con2.t_start,varSpePumSta.con2.condition,varSpePumSta.con3.enableFire,varSpePumSta.con3.fire,$PRE.varSpePumSta.con3.t_start,varSpePumSta.con3.t_start,varSpePumSta.con3.condition,varSpePumSta.con4.enableFire,varSpePumSta.con4.fire,$PRE.varSpePumSta.con4.t_start,varSpePumSta.con4.t_start,varSpePumSta.con4.condition,varSpePumSta.stateGraphRoot.activeSteps,varSpePumSta.addInt.u1,varSpePumSta.addInt.u2,varSpePumSta.addInt.y,$PRE.speSig.T_start,speSig.T_start,$PRE.speSig.count,speSig.count) * 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.0002834/1.267, allocations: 248.3 kB / 1.137 GB, free: 26.91 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.286e-05/1.267, allocations: 34.94 kB / 1.137 GB, free: 26.89 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009245/1.268, allocations: 0.542 MB / 1.138 GB, free: 26.75 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/1.268, allocations: 3.688 kB / 1.138 GB, free: 26.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/1.268, allocations: 4 kB / 1.138 GB, free: 26.75 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/1.268, allocations: 7.828 kB / 1.138 GB, free: 26.75 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001811/1.27, allocations: 1.238 MB / 1.139 GB, free: 26.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/1.27, allocations: 0 / 1.139 GB, free: 26.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002266/1.27, allocations: 61.17 kB / 1.139 GB, free: 26.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/1.27, allocations: 7.812 kB / 1.139 GB, free: 26.19 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/1.271, allocations: 10.14 kB / 1.139 GB, free: 26.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/1.271, allocations: 3.688 kB / 1.139 GB, free: 26.18 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.271, allocations: 0 / 1.139 GB, free: 26.18 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009229/1.271, allocations: 0.5908 MB / 1.14 GB, free: 25.96 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/1.272, allocations: 123.8 kB / 1.14 GB, free: 25.84 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.172e-05/1.272, allocations: 10.91 kB / 1.14 GB, free: 25.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003195/1.272, allocations: 70.05 kB / 1.14 GB, free: 25.82 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/1.272, allocations: 84.41 kB / 1.14 GB, free: 25.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.249e-05/1.272, allocations: 22.39 kB / 1.14 GB, free: 25.78 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002092/1.272, allocations: 212.5 kB / 1.14 GB, free: 25.68 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.272, allocations: 3.688 kB / 1.14 GB, free: 25.68 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004482/1.273, allocations: 110.3 kB / 1.14 GB, free: 25.67 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: 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.fire,varSpePumSta.con1.t_start,varSpePumSta.con1.condition,varSpePumSta.oneOn.inPort[2].occupied,varSpePumSta.oneOn.outPort[2].available,varSpePumSta.oneOn.newActive,varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.active,varSpePumSta.off.newActive,varSpePumSta.off.oldActive,varSpePumSta.off.active,varSpePumSta.twoOn.newActive,varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.active,varSpePumSta.con2.fire,varSpePumSta.con2.t_start,varSpePumSta.con2.condition,varSpePumSta.con3.fire,varSpePumSta.con3.t_start,varSpePumSta.con3.condition,varSpePumSta.con4.fire,varSpePumSta.con4.t_start,varSpePumSta.con4.condition,varSpePumSta.stateGraphRoot.activeSteps,varSpePumSta.addInt.u1,varSpePumSta.addInt.u2,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.0009439/1.274, allocations: 415.8 kB / 1.141 GB, free: 25.47 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001005/1.275, allocations: 0.5538 MB / 1.141 GB, free: 25.33 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.275, allocations: 448 / 1.141 GB, free: 25.33 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004509/1.275, allocations: 274.5 kB / 1.141 GB, free: 25.29 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/1.276, allocations: 53.09 kB / 1.141 GB, free: 25.27 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/1.277, allocations: 0.9729 MB / 1.142 GB, free: 24.71 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005198/1.278, allocations: 0.8514 MB / 1.143 GB, free: 23.95 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002673/1.278, allocations: 69.7 kB / 1.143 GB, free: 23.92 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/1.278, allocations: 46.42 kB / 1.143 GB, free: 23.91 MB / 0.698 GB Notification: Performance of SimCode: time 1.172e-06/1.278, allocations: 0 / 1.143 GB, free: 23.91 MB / 0.698 GB Notification: Performance of Templates: time 0.009846/1.288, allocations: 5.22 MB / 1.148 GB, free: 21.38 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.makefile (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.sim & ./Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe 2>&1)