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.001471/0.001471, allocations: 79.75 kB / 20.91 MB, free: 3.34 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.008588/0.008588, allocations: 165.4 kB / 24.36 MB, free: 8.469 MB / 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.9293/0.9293, allocations: 177.2 MB / 204.8 MB, free: 5.391 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.339/2.339, allocations: 438.8 MB / 0.6837 GB, free: 13.46 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.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.305e-06/2.305e-06, allocations: 0 / 0.839 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.443e-05/2.673e-05, allocations: 2.312 kB / 0.839 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.HeatPumps.Subsequences.Validation.RoutingPrimaryPumpStatus): time 0.002323/0.002349, allocations: 1.637 MB / 0.8406 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002481/0.004831, allocations: 2.116 MB / 0.8427 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002994/0.00513, allocations: 39.62 kB / 0.8427 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0005933/0.005723, allocations: 294.6 kB / 0.843 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002437/0.005967, allocations: 171.2 kB / 0.8432 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.007029, allocations: 0.5688 MB / 0.8437 GB, free: 9.871 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0008871/0.007916, allocations: 1.08 MB / 0.8448 GB, free: 8.789 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002608/0.008177, allocations: 200 kB / 0.845 GB, free: 8.582 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007254/0.008902, allocations: 0.5694 MB / 0.8455 GB, free: 8.012 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003303/0.009233, allocations: 283.3 kB / 0.8458 GB, free: 7.734 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.009359, allocations: 60 kB / 0.8459 GB, free: 7.676 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003358/0.009694, allocations: 167.7 kB / 0.846 GB, free: 7.512 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0002666/0.009961, allocations: 335.2 kB / 0.8463 GB, free: 7.184 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001916/0.01015, allocations: 223.4 kB / 0.8465 GB, free: 6.965 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0008051/0.01096, allocations: 0.7788 MB / 0.8473 GB, free: 6.184 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.01096, allocations: 0 / 0.8473 GB, free: 6.184 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.854e-06/0.01096, allocations: 0 / 0.8473 GB, free: 6.184 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.01097, allocations: 0 / 0.8473 GB, free: 6.184 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.001005/0.01198, allocations: 0.8428 MB / 0.8481 GB, free: 5.309 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.01201, allocations: 8.031 kB / 0.8481 GB, free: 5.301 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003061/0.01232, allocations: 96.83 kB / 0.8482 GB, free: 5.207 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005525/0.01287, allocations: 489.4 kB / 0.8487 GB, free: 4.703 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.822e-05/0.01291, allocations: 33.03 kB / 0.8487 GB, free: 4.672 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.458e-05/0.01297, allocations: 52.38 kB / 0.8488 GB, free: 4.621 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002942/0.01327, allocations: 269.1 kB / 0.849 GB, free: 4.332 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.01328, allocations: 192 / 0.849 GB, free: 4.332 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.0133, allocations: 16.38 kB / 0.8491 GB, free: 4.316 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.01331, allocations: 8.375 kB / 0.8491 GB, free: 4.309 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.01344, allocations: 106.2 kB / 0.8492 GB, free: 4.203 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.01456, allocations: 0.946 MB / 0.8501 GB, free: 3.223 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.01478, allocations: 308.3 kB / 0.8504 GB, free: 2.887 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.509e-05/0.01484, allocations: 46.55 kB / 0.8504 GB, free: 2.832 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/0.01485, allocations: 7.938 kB / 0.8504 GB, free: 2.824 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002081/0.01506, allocations: 218.6 kB / 0.8506 GB, free: 2.586 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=24): time 1.203e-06/0.01506, allocations: 4 kB / 0.8506 GB, free: 2.582 MB / 0.8073 GB Notification: Performance of matching and sorting (n=24): time 0.0003242/0.01538, allocations: 232.7 kB / 0.8509 GB, free: 2.344 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.326e-05/0.01544, allocations: 140.5 kB / 0.851 GB, free: 2.176 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003073/0.01575, allocations: 467 kB / 0.8514 GB, free: 1.707 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.124e-05/0.0158, allocations: 45.7 kB / 0.8515 GB, free: 1.656 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.01593, allocations: 214.8 kB / 0.8517 GB, free: 1.445 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.567e-05/0.01597, allocations: 51.61 kB / 0.8517 GB, free: 1.395 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.01611, allocations: 145.8 kB / 0.8519 GB, free: 1.246 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.01622, allocations: 374.6 kB / 0.8522 GB, free: 0.8711 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.095e-05/0.01627, allocations: 47.47 kB / 0.8523 GB, free: 0.8242 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006809/0.01695, allocations: 1.312 MB / 0.8536 GB, free: 15.12 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.01714, allocations: 253.2 kB / 0.8538 GB, free: 14.82 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.01714, allocations: 3.938 kB / 0.8538 GB, free: 14.81 MB / 0.823 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002746/0.01742, allocations: 266 kB / 0.8541 GB, free: 14.54 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.01743, allocations: 8 kB / 0.8541 GB, free: 14.54 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.01744, allocations: 4.078 kB / 0.8541 GB, free: 14.53 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.01745, allocations: 4 kB / 0.8541 GB, free: 14.53 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.01759, allocations: 59.89 kB / 0.8541 GB, free: 14.47 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.138e-06/0.0176, allocations: 15.92 kB / 0.8542 GB, free: 14.45 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003273/0.01792, allocations: 83.02 kB / 0.8542 GB, free: 14.38 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.01794, allocations: 19.98 kB / 0.8543 GB, free: 14.36 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.0001545/0.0181, allocations: 168.5 kB / 0.8544 GB, free: 14.18 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.869e-05/0.01813, allocations: 35.97 kB / 0.8544 GB, free: 14.14 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.755e-05/0.01819, allocations: 48.09 kB / 0.8545 GB, free: 14.09 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.0182, allocations: 4 kB / 0.8545 GB, free: 14.09 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.0182, allocations: 0 / 0.8545 GB, free: 14.09 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.0182, allocations: 4 kB / 0.8545 GB, free: 14.09 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.01842, allocations: 209.6 kB / 0.8547 GB, free: 13.86 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.01842, allocations: 0 / 0.8547 GB, free: 13.86 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.525e-05/0.01844, allocations: 15.92 kB / 0.8547 GB, free: 13.85 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.01844, allocations: 7.938 kB / 0.8547 GB, free: 13.84 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.01845, allocations: 4 kB / 0.8547 GB, free: 13.84 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.01845, allocations: 0 / 0.8547 GB, free: 13.84 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01845, allocations: 0 / 0.8547 GB, free: 13.84 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002061/0.01866, allocations: 233 kB / 0.8549 GB, free: 13.58 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.823e-05/0.01871, allocations: 55.59 kB / 0.855 GB, free: 13.52 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.01873, allocations: 0 / 0.855 GB, free: 13.52 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.126e-05/0.01878, allocations: 12.06 kB / 0.855 GB, free: 13.51 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.034e-05/0.01884, allocations: 38.8 kB / 0.8551 GB, free: 13.47 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.01886, allocations: 15.98 kB / 0.8551 GB, free: 13.46 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.000149/0.01901, allocations: 196.4 kB / 0.8553 GB, free: 13.27 MB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.01901, allocations: 0 / 0.8553 GB, free: 13.27 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003288/0.01934, allocations: 143.6 kB / 0.8554 GB, free: 13.12 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.0001897/0.01953, allocations: 145 kB / 0.8555 GB, free: 12.98 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002216/0.01975, allocations: 169.3 kB / 0.8557 GB, free: 12.81 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/0.01976, allocations: 4 kB / 0.8557 GB, free: 12.81 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 8.794e-05/0.01985, allocations: 87.5 kB / 0.8558 GB, free: 12.72 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.02003, allocations: 54.12 kB / 0.8558 GB, free: 12.67 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009531/0.02098, allocations: 0.9011 MB / 0.8567 GB, free: 11.72 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002064/0.02119, allocations: 276.1 kB / 0.857 GB, free: 11.42 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002372/0.02143, allocations: 157.3 kB / 0.8571 GB, free: 11.27 MB / 0.823 GB Notification: Performance of SimCode: time 7.82e-07/0.02143, allocations: 4 kB / 0.8571 GB, free: 11.26 MB / 0.823 GB Notification: Performance of Templates: time 0.008454/0.02988, allocations: 8.018 MB / 0.865 GB, free: 3.383 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 > Buildings_latest_Buildings.Templates.Plants.Controls.HeatPumps.Subsequences.Validation.RoutingPrimaryPumpStatus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.534268626943231]