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.0008911/0.0008911, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0008932/0.0008932, allocations: 177 kB / 23.36 MB, free: 1.129 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.996/0.996, allocations: 177.2 MB / 203.8 MB, free: 5.484 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.483/2.483, allocations: 438.8 MB / 0.6827 GB, free: 13.61 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.244e-06/2.244e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.35e-05/2.575e-05, allocations: 4.422 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.HeatPumps.Subsequences.Validation.RoutingPrimaryPumpStatus): time 0.002633/0.002659, allocations: 1.633 MB / 0.8402 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002715/0.005374, allocations: 2.143 MB / 0.8423 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002673/0.005641, allocations: 39.62 kB / 0.8423 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0006004/0.006241, allocations: 302.6 kB / 0.8426 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002266/0.006468, allocations: 163.3 kB / 0.8428 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.007498, allocations: 0.5842 MB / 0.8434 GB, free: 9.316 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0009229/0.008421, allocations: 1.08 MB / 0.8444 GB, free: 8.234 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002954/0.008716, allocations: 199.9 kB / 0.8446 GB, free: 8.031 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007761/0.009492, allocations: 0.5695 MB / 0.8452 GB, free: 7.461 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000396/0.009888, allocations: 283.3 kB / 0.8454 GB, free: 7.184 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 9.849e-05/0.009987, allocations: 56 kB / 0.8455 GB, free: 7.129 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004344/0.01042, allocations: 171.7 kB / 0.8456 GB, free: 6.961 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0006909/0.01111, allocations: 331.2 kB / 0.846 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0002133/0.01133, allocations: 227.4 kB / 0.8462 GB, free: 6.414 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0008855/0.01221, allocations: 0.775 MB / 0.8469 GB, free: 5.637 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.01222, allocations: 0 / 0.8469 GB, free: 5.637 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.344e-06/0.01222, allocations: 3.938 kB / 0.8469 GB, free: 5.633 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.01223, allocations: 0 / 0.8469 GB, free: 5.633 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.001187/0.01342, allocations: 0.8428 MB / 0.8478 GB, free: 4.758 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.01346, allocations: 8.625 kB / 0.8478 GB, free: 4.75 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000391/0.01385, allocations: 96.83 kB / 0.8479 GB, free: 4.656 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006436/0.0145, allocations: 485.5 kB / 0.8483 GB, free: 4.156 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.799e-05/0.01454, allocations: 41.02 kB / 0.8484 GB, free: 4.117 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.052e-05/0.01462, allocations: 48.38 kB / 0.8484 GB, free: 4.07 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003411/0.01496, allocations: 269.2 kB / 0.8487 GB, free: 3.781 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.01497, allocations: 4.125 kB / 0.8487 GB, free: 3.777 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.01499, allocations: 12.38 kB / 0.8487 GB, free: 3.766 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.015, allocations: 8.375 kB / 0.8487 GB, free: 3.758 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.01514, allocations: 104.6 kB / 0.8488 GB, free: 3.656 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.0163, allocations: 0.9381 MB / 0.8497 GB, free: 2.684 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002574/0.01656, allocations: 316.3 kB / 0.85 GB, free: 2.34 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.968e-05/0.01662, allocations: 42.56 kB / 0.85 GB, free: 2.289 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.01663, allocations: 4 kB / 0.85 GB, free: 2.285 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002415/0.01687, allocations: 239.7 kB / 0.8503 GB, free: 2.035 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=24): time 1.282e-06/0.01687, allocations: 0 / 0.8503 GB, free: 2.035 MB / 0.8073 GB Notification: Performance of matching and sorting (n=24): time 0.000342/0.01721, allocations: 232.7 kB / 0.8505 GB, free: 1.797 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.265e-05/0.01728, allocations: 148.4 kB / 0.8506 GB, free: 1.621 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003232/0.0176, allocations: 459.1 kB / 0.8511 GB, free: 1.16 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.536e-05/0.01765, allocations: 49.69 kB / 0.8511 GB, free: 1.105 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.01779, allocations: 210.9 kB / 0.8513 GB, free: 0.8945 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.01782, allocations: 55.61 kB / 0.8514 GB, free: 0.8398 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/0.01797, allocations: 149.8 kB / 0.8515 GB, free: 0.6875 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.01808, allocations: 370.7 kB / 0.8519 GB, free: 324 kB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.667e-05/0.01813, allocations: 43.45 kB / 0.8519 GB, free: 280 kB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008336/0.01897, allocations: 1.307 MB / 0.8532 GB, free: 14.58 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.01916, allocations: 261.9 kB / 0.8534 GB, free: 14.26 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.706e-06/0.01917, allocations: 3.938 kB / 0.8534 GB, free: 14.26 MB / 0.823 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002722/0.01944, allocations: 265 kB / 0.8537 GB, free: 13.99 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.01946, allocations: 8.438 kB / 0.8537 GB, free: 13.98 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.515e-06/0.01946, allocations: 8 kB / 0.8537 GB, free: 13.97 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.01948, allocations: 4 kB / 0.8537 GB, free: 13.97 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.01962, allocations: 55.91 kB / 0.8538 GB, free: 13.91 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-06/0.01963, allocations: 11.88 kB / 0.8538 GB, free: 13.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003479/0.01998, allocations: 83.7 kB / 0.8539 GB, free: 13.82 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.01999, allocations: 8 kB / 0.8539 GB, free: 13.81 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.0001529/0.02015, allocations: 176.5 kB / 0.854 GB, free: 13.63 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.467e-05/0.02019, allocations: 35.95 kB / 0.8541 GB, free: 13.59 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.813e-05/0.02025, allocations: 48.09 kB / 0.8541 GB, free: 13.55 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.02025, allocations: 4 kB / 0.8541 GB, free: 13.54 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.02026, allocations: 0 / 0.8541 GB, free: 13.54 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.02026, allocations: 4 kB / 0.8541 GB, free: 13.54 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.02047, allocations: 213.6 kB / 0.8543 GB, free: 13.31 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.02047, allocations: 0 / 0.8543 GB, free: 13.31 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.669e-05/0.02049, allocations: 11.94 kB / 0.8543 GB, free: 13.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.02049, allocations: 3.938 kB / 0.8543 GB, free: 13.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.0205, allocations: 15.98 kB / 0.8544 GB, free: 13.28 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.0205, allocations: 0 / 0.8544 GB, free: 13.28 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.02051, allocations: 0 / 0.8544 GB, free: 13.28 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002057/0.02071, allocations: 221.5 kB / 0.8546 GB, free: 13.03 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.706e-05/0.02076, allocations: 55.55 kB / 0.8546 GB, free: 12.98 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.02078, allocations: 0 / 0.8546 GB, free: 12.98 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.794e-05/0.02084, allocations: 12.05 kB / 0.8546 GB, free: 12.96 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.461e-05/0.02091, allocations: 46.73 kB / 0.8547 GB, free: 12.92 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.02093, allocations: 12 kB / 0.8547 GB, free: 12.91 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001591/0.02109, allocations: 200.4 kB / 0.8549 GB, free: 12.71 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.02109, allocations: 0 / 0.8549 GB, free: 12.71 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003095/0.02139, allocations: 135.7 kB / 0.855 GB, free: 12.58 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.0001877/0.02158, allocations: 142.8 kB / 0.8552 GB, free: 12.43 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002237/0.02181, allocations: 170.3 kB / 0.8553 GB, free: 12.26 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.02181, allocations: 4 kB / 0.8553 GB, free: 12.25 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 8.048e-05/0.02189, allocations: 88.89 kB / 0.8554 GB, free: 12.16 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001931/0.02209, allocations: 54.17 kB / 0.8555 GB, free: 12.11 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008756/0.02296, allocations: 0.8347 MB / 0.8563 GB, free: 11.23 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.655e-05/0.02305, allocations: 137.2 kB / 0.8564 GB, free: 11.08 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001289/0.02318, allocations: 67.19 kB / 0.8565 GB, free: 11.02 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002285/0.0234, allocations: 161.2 kB / 0.8566 GB, free: 10.86 MB / 0.823 GB Notification: Performance of SimCode: time 9.22e-07/0.02341, allocations: 0 / 0.8566 GB, free: 10.86 MB / 0.823 GB Notification: Performance of Templates: time 0.01112/0.03453, allocations: 8.215 MB / 0.8646 GB, free: 2.844 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 -s gbode -gbm=radauIIA3 -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.457906349096447]