Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage") translateModel(Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.551/1.551, allocations: 297.8 MB / 313.7 MB, free: 88 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009319/0.0009317, allocations: 174.2 kB / 384.6 MB, free: 10.81 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.244/1.244, allocations: 223.2 MB / 0.6626 GB, free: 4.238 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007818/0.0007818, allocations: 96.91 kB / 0.7808 GB, free: 50.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003527/0.0003527, allocations: 10.16 kB / 0.9088 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6052/0.6056, allocations: 120.3 MB / 1.026 GB, free: 55.93 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1788/0.7845, allocations: 147.1 MB / 1.17 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/0.7847, allocations: 91.31 kB / 1.17 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.0228/0.8075, allocations: 9.732 MB / 1.18 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.923e-06/0.8076, allocations: 0 / 1.18 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.68e-05/0.8076, allocations: 20.38 kB / 1.18 GB, free: 5.043 MB / 0.7448 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.001018/0.8086, allocations: 0.7511 MB / 1.18 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.8087, allocations: 12.03 kB / 1.18 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.917e-05/0.8088, allocations: 56.28 kB / 1.18 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004457/0.8092, allocations: 399.1 kB / 1.181 GB, free: 3.734 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.181e-05/0.8093, allocations: 41.38 kB / 1.181 GB, free: 3.695 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.655e-05/0.8094, allocations: 52.38 kB / 1.181 GB, free: 3.645 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000859/0.8102, allocations: 0.526 MB / 1.181 GB, free: 3.105 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.8102, allocations: 192 / 1.181 GB, free: 3.105 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.216e-05/0.8103, allocations: 23.88 kB / 1.181 GB, free: 3.082 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.8103, allocations: 15.98 kB / 1.181 GB, free: 3.066 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008403/0.8112, allocations: 451.8 kB / 1.182 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001897/0.8131, allocations: 1.425 MB / 1.183 GB, free: 1.156 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008603/0.8139, allocations: 0.4949 MB / 1.184 GB, free: 0.6562 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003637/0.8143, allocations: 226.7 kB / 1.184 GB, free: 444 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.492e-05/0.8144, allocations: 12.38 kB / 1.184 GB, free: 432 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004968/0.8149, allocations: 290.9 kB / 1.184 GB, free: 132 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=58): time 3.035e-06/0.8149, allocations: 1.781 kB / 1.184 GB, free: 132 kB / 0.7448 GB Notification: Performance of matching and sorting (n=58): time 0.001159/0.816, allocations: 0.6234 MB / 1.185 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.8161, allocations: 67.97 kB / 1.185 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003153/0.8164, allocations: 347.4 kB / 1.185 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.341e-05/0.8165, allocations: 49.7 kB / 1.185 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.8166, allocations: 213.2 kB / 1.185 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.8167, allocations: 142.2 kB / 1.186 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.61e-05/0.8167, allocations: 12 kB / 1.186 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.8169, allocations: 358.8 kB / 1.186 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003738/0.8172, allocations: 189.2 kB / 1.186 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004129/0.8177, allocations: 281.9 kB / 1.186 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006689/0.8183, allocations: 425.9 kB / 1.187 GB, free: 13.37 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.8184, allocations: 0 / 1.187 GB, free: 13.37 MB / 0.7605 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0009608/0.8193, allocations: 0.5919 MB / 1.187 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.8194, allocations: 29.92 kB / 1.187 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.8194, allocations: 11.94 kB / 1.187 GB, free: 12.72 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.8194, allocations: 4 kB / 1.187 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002833/0.8197, allocations: 82.19 kB / 1.187 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.8197, allocations: 4 kB / 1.187 GB, free: 12.63 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003038/0.82, allocations: 80.92 kB / 1.188 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.828e-05/0.8201, allocations: 27.98 kB / 1.188 GB, free: 12.53 MB / 0.7605 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.00024/0.8203, allocations: 242 kB / 1.188 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.129e-05/0.8204, allocations: 43.47 kB / 1.188 GB, free: 12.24 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009307/0.8213, allocations: 0.5292 MB / 1.188 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.8213, allocations: 8 kB / 1.188 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.8213, allocations: 0 / 1.188 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.8214, allocations: 3.984 kB / 1.188 GB, free: 11.69 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/0.823, allocations: 1.235 MB / 1.19 GB, free: 10.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.8231, allocations: 3.938 kB / 1.19 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/0.8233, allocations: 63.89 kB / 1.19 GB, free: 10.33 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.8233, allocations: 4 kB / 1.19 GB, free: 10.33 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.907e-05/0.8233, allocations: 12.73 kB / 1.19 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.8233, allocations: 1.219 kB / 1.19 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.8234, allocations: 7.938 kB / 1.19 GB, free: 10.31 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008337/0.8242, allocations: 0.5852 MB / 1.19 GB, free: 9.707 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 7.622e-05/0.8243, allocations: 124.5 kB / 1.19 GB, free: 9.566 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.17e-05/0.8243, allocations: 15.98 kB / 1.19 GB, free: 9.551 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002921/0.8246, allocations: 71.08 kB / 1.19 GB, free: 9.484 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.8248, allocations: 84.38 kB / 1.191 GB, free: 9.402 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.498e-05/0.8248, allocations: 22.14 kB / 1.191 GB, free: 9.383 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001889/0.825, allocations: 217.9 kB / 1.191 GB, free: 9.168 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.5e-07/0.825, allocations: 4 kB / 1.191 GB, free: 9.164 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003603/0.8254, allocations: 108 kB / 1.191 GB, free: 9.059 MB / 0.7605 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.0007788/0.8262, allocations: 400.1 kB / 1.191 GB, free: 8.863 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0008854/0.8271, allocations: 0.5541 MB / 1.192 GB, free: 8.297 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.8271, allocations: 0 / 1.192 GB, free: 8.297 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000428/0.8275, allocations: 276 kB / 1.192 GB, free: 8.027 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.828, allocations: 66.77 kB / 1.192 GB, free: 7.961 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.8292, allocations: 0.9781 MB / 1.193 GB, free: 6.957 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.8296, allocations: 0.8459 MB / 1.194 GB, free: 6.086 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.000224/0.8298, allocations: 71.66 kB / 1.194 GB, free: 6.02 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.83, allocations: 43.42 kB / 1.194 GB, free: 5.977 MB / 0.7605 GB Notification: Performance of SimCode: time 2.51e-07/0.83, allocations: 0 / 1.194 GB, free: 5.977 MB / 0.7605 GB Notification: Performance of Templates: time 0.008749/0.8387, allocations: 5.251 MB / 1.199 GB, free: 0.9219 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage.makefile (rm -f Buildings_latest_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage.pipe ; mkfifo Buildings_latest_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage.pipe >> ../files/Buildings_latest_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage.sim & ./Buildings_latest_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Applications.BaseClasses.Controls.Validation.VariableSpeedPumpStage.pipe 2>&1)