Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.HeatPumps.Subsequences.Validation.RoutingPrimaryPumpStatus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009216/0.0009216, allocations: 72.95 kB / 20.73 MB, free: 3.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 173 kB / 24.15 MB, free: 356 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9305/0.9305, allocations: 177.1 MB / 204.6 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.435/2.435, allocations: 438.8 MB / 0.6834 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Plants.Controls.HeatPumps.Subsequences.Validation.RoutingPrimaryPumpStatus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.HeatPumps.Subsequences.Validation.RoutingPrimaryPumpStatus") translateModel(Buildings.Templates.Plants.Controls.HeatPumps.Subsequences.Validation.RoutingPrimaryPumpStatus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.HeatPumps.Subsequences.Validation.RoutingPrimaryPumpStatus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.925e-06/2.925e-06, allocations: 0 / 0.8394 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.418e-05/2.71e-05, allocations: 5.266 kB / 0.8394 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.HeatPumps.Subsequences.Validation.RoutingPrimaryPumpStatus): time 0.002325/0.002352, allocations: 1.633 MB / 0.841 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003245/0.005597, allocations: 2.143 MB / 0.8431 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002148/0.005812, allocations: 35.62 kB / 0.8431 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0006099/0.006422, allocations: 298.6 kB / 0.8434 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001971/0.006619, allocations: 175.2 kB / 0.8436 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.007628, allocations: 0.5765 MB / 0.8441 GB, free: 9.332 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.001049/0.008677, allocations: 1.072 MB / 0.8452 GB, free: 8.258 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003051/0.008982, allocations: 199.9 kB / 0.8454 GB, free: 8.055 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006663/0.009648, allocations: 0.5772 MB / 0.8459 GB, free: 7.477 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003318/0.00998, allocations: 283.3 kB / 0.8462 GB, free: 7.199 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.01008, allocations: 56 kB / 0.8462 GB, free: 7.145 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002616/0.01034, allocations: 163.8 kB / 0.8464 GB, free: 6.984 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0003261/0.01067, allocations: 335.2 kB / 0.8467 GB, free: 6.656 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0002614/0.01093, allocations: 227.4 kB / 0.8469 GB, free: 6.434 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0008374/0.01177, allocations: 0.771 MB / 0.8477 GB, free: 5.66 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.01177, allocations: 0 / 0.8477 GB, free: 5.66 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.333e-06/0.01177, allocations: 0 / 0.8477 GB, free: 5.66 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.01178, allocations: 4 kB / 0.8477 GB, free: 5.656 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001075/0.01286, allocations: 0.8389 MB / 0.8485 GB, free: 4.785 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.0129, allocations: 12.62 kB / 0.8485 GB, free: 4.773 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003805/0.01328, allocations: 96.83 kB / 0.8486 GB, free: 4.68 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006691/0.01394, allocations: 489.4 kB / 0.8491 GB, free: 4.176 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.635e-05/0.01399, allocations: 37.02 kB / 0.8491 GB, free: 4.141 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.01409, allocations: 48.38 kB / 0.8492 GB, free: 4.094 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004135/0.01451, allocations: 277.1 kB / 0.8494 GB, free: 3.797 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.01452, allocations: 192 / 0.8494 GB, free: 3.797 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.08e-05/0.01455, allocations: 12.38 kB / 0.8494 GB, free: 3.785 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.01456, allocations: 12.38 kB / 0.8495 GB, free: 3.773 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001979/0.01476, allocations: 100.2 kB / 0.8495 GB, free: 3.676 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00144/0.0162, allocations: 0.9499 MB / 0.8505 GB, free: 2.691 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/0.01643, allocations: 304.3 kB / 0.8508 GB, free: 2.359 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.433e-05/0.01652, allocations: 46.56 kB / 0.8508 GB, free: 2.305 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.01653, allocations: 3.938 kB / 0.8508 GB, free: 2.301 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003028/0.01683, allocations: 232.1 kB / 0.851 GB, free: 2.055 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=24): time 2.074e-06/0.01684, allocations: 4 kB / 0.851 GB, free: 2.051 MB / 0.8073 GB Notification: Performance of matching and sorting (n=24): time 0.0004266/0.01726, allocations: 228.8 kB / 0.8513 GB, free: 1.816 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.472e-05/0.01734, allocations: 144.4 kB / 0.8514 GB, free: 1.645 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004413/0.01778, allocations: 467 kB / 0.8518 GB, free: 1.176 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.664e-05/0.01785, allocations: 45.69 kB / 0.8519 GB, free: 1.125 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/0.01802, allocations: 214.8 kB / 0.8521 GB, free: 0.9102 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.73e-05/0.01807, allocations: 51.61 kB / 0.8521 GB, free: 0.8594 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002072/0.01828, allocations: 153.8 kB / 0.8523 GB, free: 0.7031 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.01843, allocations: 366.7 kB / 0.8526 GB, free: 344 kB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.494e-05/0.0185, allocations: 43.45 kB / 0.8527 GB, free: 300 kB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007513/0.01926, allocations: 1.315 MB / 0.854 GB, free: 14.59 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/0.01953, allocations: 262.4 kB / 0.8542 GB, free: 14.27 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.01953, allocations: 3.938 kB / 0.8542 GB, free: 14.27 MB / 0.823 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003759/0.01991, allocations: 256.8 kB / 0.8545 GB, free: 14.01 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.01993, allocations: 8.062 kB / 0.8545 GB, free: 14 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.01994, allocations: 4 kB / 0.8545 GB, free: 14 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.01995, allocations: 8 kB / 0.8545 GB, free: 13.99 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.02014, allocations: 55.91 kB / 0.8545 GB, free: 13.93 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.02015, allocations: 11.94 kB / 0.8545 GB, free: 13.92 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004665/0.02061, allocations: 79.69 kB / 0.8546 GB, free: 13.84 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.02064, allocations: 16 kB / 0.8546 GB, free: 13.83 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition8,$whenCondition7,u1PumHdr.intTimTab.idx,$PRE.u1PumHdr.intTimTab.idx,u1PumHdr.intTimTab.y[2],$PRE.u1PumHdr.intTimTab.y[2],u1PumHdr.intTimTab.y[1],$PRE.u1PumHdr.intTimTab.y[1],rouPumHdr.y1[2],rouPumHdr.y1[1],$whenCondition6,$whenCondition5,u1PumDedHp.intTimTab.idx,$PRE.u1PumDedHp.intTimTab.idx,u1PumDedHp.intTimTab.y[2],$PRE.u1PumDedHp.intTimTab.y[2],u1PumDedHp.intTimTab.y[1],$PRE.u1PumDedHp.intTimTab.y[1],rouPumDedHp.y1[2],rouPumDedHp.y1[1],$whenCondition2,$whenCondition1,u1PumDedPhpMix.intTimTab.idx,$PRE.u1PumDedPhpMix.intTimTab.idx,u1PumDedPhpMix.intTimTab.y[1],$PRE.u1PumDedPhpMix.intTimTab.y[1],rouPumDedHpPhp.y1[2],$whenCondition4,$whenCondition3,u1PumDedHpMix.intTimTab.idx,$PRE.u1PumDedHpMix.intTimTab.idx,u1PumDedHpMix.intTimTab.y[1],$PRE.u1PumDedHpMix.intTimTab.y[1],rouPumDedHpPhp.y1[1],rouPumDedHpPhp.pumPriDedHpPhp.con[1].y,rouPumDedHpPhp.pumPriDedHpPhp.con[2].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002079/0.02085, allocations: 172.4 kB / 0.8548 GB, free: 13.65 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.235e-05/0.02091, allocations: 39.95 kB / 0.8548 GB, free: 13.61 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.167e-05/0.02099, allocations: 48.09 kB / 0.8549 GB, free: 13.56 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.021, allocations: 4 kB / 0.8549 GB, free: 13.56 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.021, allocations: 0 / 0.8549 GB, free: 13.56 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.021, allocations: 0 / 0.8549 GB, free: 13.56 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/0.02127, allocations: 217.6 kB / 0.8551 GB, free: 13.33 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.02128, allocations: 0 / 0.8551 GB, free: 13.33 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.408e-05/0.0213, allocations: 8.125 kB / 0.8551 GB, free: 13.32 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.02131, allocations: 15.94 kB / 0.8551 GB, free: 13.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.02133, allocations: 3.984 kB / 0.8551 GB, free: 13.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.02133, allocations: 4 kB / 0.8551 GB, free: 13.3 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.02133, allocations: 0 / 0.8551 GB, free: 13.3 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002839/0.02161, allocations: 225.5 kB / 0.8553 GB, free: 13.04 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.917e-05/0.02168, allocations: 51.55 kB / 0.8554 GB, free: 12.99 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.664e-05/0.02172, allocations: 4 kB / 0.8554 GB, free: 12.99 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.971e-05/0.0218, allocations: 11.98 kB / 0.8554 GB, free: 12.98 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.048e-05/0.02188, allocations: 38.8 kB / 0.8554 GB, free: 12.94 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/0.0219, allocations: 11.98 kB / 0.8555 GB, free: 12.93 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0002142/0.02212, allocations: 200.4 kB / 0.8556 GB, free: 12.73 MB / 0.823 GB Notification: Performance of sort global known variables: time 9e-08/0.02212, allocations: 8 kB / 0.8556 GB, free: 12.72 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004081/0.02253, allocations: 123.7 kB / 0.8558 GB, free: 12.6 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition8,$whenCondition7,rouPumHdr.y1[1],rouPumHdr.y1[2],u1PumHdr.intTimTab.y[1],u1PumHdr.intTimTab.y[2],u1PumHdr.intTimTab.idx,$whenCondition6,$whenCondition5,rouPumDedHp.y1[1],rouPumDedHp.y1[2],u1PumDedHp.intTimTab.y[1],u1PumDedHp.intTimTab.y[2],u1PumDedHp.intTimTab.idx,$whenCondition2,$whenCondition1,rouPumDedHpPhp.y1[2],u1PumDedPhpMix.intTimTab.y[1],u1PumDedPhpMix.intTimTab.idx,$whenCondition4,$whenCondition3,rouPumDedHpPhp.y1[1],u1PumDedHpMix.intTimTab.y[1],u1PumDedHpMix.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002124/0.02274, allocations: 150.8 kB / 0.8559 GB, free: 12.44 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002725/0.02301, allocations: 178.2 kB / 0.8561 GB, free: 12.27 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/0.02302, allocations: 8.062 kB / 0.8561 GB, free: 12.26 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.02313, allocations: 65.08 kB / 0.8562 GB, free: 12.19 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.02339, allocations: 62.17 kB / 0.8562 GB, free: 12.13 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009392/0.02433, allocations: 0.8452 MB / 0.857 GB, free: 11.25 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.02445, allocations: 141.2 kB / 0.8572 GB, free: 11.09 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001697/0.02462, allocations: 63.3 kB / 0.8572 GB, free: 11.03 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002951/0.02492, allocations: 153.2 kB / 0.8574 GB, free: 10.88 MB / 0.823 GB Notification: Performance of SimCode: time 5.91e-07/0.02492, allocations: 0 / 0.8574 GB, free: 10.88 MB / 0.823 GB Notification: Performance of Templates: time 0.01221/0.03713, allocations: 8.222 MB / 0.8654 GB, free: 2.852 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.HeatPumps.Subsequences.Validation.RoutingPrimaryPumpStatus.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.HeatPumps.Subsequences.Validation.RoutingPrimaryPumpStatus.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.HeatPumps.Subsequences.Validation.RoutingPrimaryPumpStatus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.HeatPumps.Subsequences.Validation.RoutingPrimaryPumpStatus.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.HeatPumps.Subsequences.Validation.RoutingPrimaryPumpStatus.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.HeatPumps.Subsequences.Validation.RoutingPrimaryPumpStatus -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.HeatPumps.Subsequences.Validation.RoutingPrimaryPumpStatus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.517181660979986]