Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.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.001321/0.001321, allocations: 85.45 kB / 21.62 MB, free: 2.84 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.001404/0.001404, allocations: 174 kB / 25.05 MB, free: 9.152 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.9297/0.9297, allocations: 177.2 MB / 205.5 MB, free: 5.43 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.825/1.825, allocations: 389.6 MB / 0.6363 GB, free: 12.28 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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.Pumps.Primary.Validation.EnableLeadHeadered,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered") translateModel(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.7761 GB, free: 5.285 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.618e-05, allocations: 7.266 kB / 0.7761 GB, free: 5.281 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered): time 0.002569/0.002595, allocations: 1.893 MB / 0.778 GB, free: 3.414 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002321/0.004915, allocations: 2.07 MB / 0.78 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001739/0.005089, allocations: 40.34 kB / 0.78 GB, free: 1.293 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002897/0.005379, allocations: 137.6 kB / 0.7802 GB, free: 1.164 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.133e-05/0.00547, allocations: 32.41 kB / 0.7802 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006308/0.006101, allocations: 352.6 kB / 0.7805 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0005428/0.006644, allocations: 0.7918 MB / 0.7813 GB, free: 0 / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003282/0.006972, allocations: 266.4 kB / 0.7816 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005523/0.007524, allocations: 379.4 kB / 0.7819 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.007748, allocations: 243.4 kB / 0.7822 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.759e-05/0.007815, allocations: 64 kB / 0.7822 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.007938, allocations: 71.98 kB / 0.7823 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.479e-05/0.008022, allocations: 139.5 kB / 0.7824 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.008151, allocations: 185.3 kB / 0.7826 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004245/0.008576, allocations: 0.5296 MB / 0.7831 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.008579, allocations: 0 / 0.7831 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.82e-07/0.00858, allocations: 0 / 0.7831 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.008586, allocations: 4.812 kB / 0.7831 GB, free: 14.14 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: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.0007487/0.009335, allocations: 0.7227 MB / 0.7838 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.009371, allocations: 8.75 kB / 0.7838 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.792e-05/0.009459, allocations: 81.61 kB / 0.7839 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003602/0.009819, allocations: 334.8 kB / 0.7842 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.82e-05/0.009857, allocations: 44.12 kB / 0.7843 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.392e-05/0.009921, allocations: 52.38 kB / 0.7843 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003058/0.01023, allocations: 283.7 kB / 0.7846 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.01024, allocations: 192 / 0.7846 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/0.01026, allocations: 16.38 kB / 0.7846 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.01027, allocations: 12.38 kB / 0.7846 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.0104, allocations: 106.8 kB / 0.7847 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008159/0.01122, allocations: 0.6954 MB / 0.7854 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.01142, allocations: 155.3 kB / 0.7855 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.406e-05/0.01146, allocations: 36.84 kB / 0.7856 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.01148, allocations: 6.156 kB / 0.7856 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/0.01166, allocations: 188.4 kB / 0.7858 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=36): time 1.593e-06/0.01166, allocations: 0 / 0.7858 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=36): time 0.0002817/0.01194, allocations: 202.4 kB / 0.786 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.01198, allocations: 72.38 kB / 0.786 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.01215, allocations: 276.7 kB / 0.7863 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.062e-05/0.01219, allocations: 41.7 kB / 0.7863 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.197e-05/0.01228, allocations: 218.4 kB / 0.7865 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.327e-05/0.01234, allocations: 95.28 kB / 0.7866 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.01247, allocations: 122.7 kB / 0.7868 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.01258, allocations: 346.7 kB / 0.7871 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.01273, allocations: 127.8 kB / 0.7872 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002067/0.01294, allocations: 317.8 kB / 0.7875 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/0.01315, allocations: 225.5 kB / 0.7877 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.01316, allocations: 0.875 kB / 0.7877 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003387/0.01349, allocations: 378.9 kB / 0.7881 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.43e-05/0.01354, allocations: 67.39 kB / 0.7881 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.01354, allocations: 0 / 0.7881 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.01356, allocations: 4.656 kB / 0.7882 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.01367, allocations: 35.86 kB / 0.7882 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.01367, allocations: 5.531 kB / 0.7882 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.01383, allocations: 60.66 kB / 0.7883 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.693e-05/0.01386, allocations: 19.98 kB / 0.7883 GB, free: 8.566 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,enaParMod.lat.y,$PRE.enaParMod.lat.y,enaParMod.lat.clr,enaParMod.lat.u,enaParMod.cloParMod[2].y,enaParMod.cloParMod[1].y,enaParTwo.lat.y,$PRE.enaParTwo.lat.y,enaParTwo.lat.clr,enaParTwo.lat.u,enaSerMod.opeSerMod[2].y,enaSerMod.opeSerMod[1].y,enaSerMod.lat.y,$PRE.enaSerMod.lat.y,enaSerMod.lat.clr,enaSerMod.lat.u,enaSerTwo.lat.y,$PRE.enaSerTwo.lat.y,enaSerTwo.lat.clr,enaSerTwo.lat.u,u1ValIso[2].y,$PRE.u1ValIso[2].y,u1ValIso[1].y,$PRE.u1ValIso[1].y,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 2 * 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.0001325/0.01399, allocations: 161 kB / 0.7884 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.01402, allocations: 32.5 kB / 0.7885 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.48e-05/0.01407, allocations: 38.95 kB / 0.7885 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.01407, allocations: 4.562 kB / 0.7885 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.01408, allocations: 5.312 kB / 0.7885 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.01408, allocations: 0 / 0.7885 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000746/0.01483, allocations: 475 kB / 0.789 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.01483, allocations: 3.984 kB / 0.789 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.48e-05/0.01491, allocations: 29.2 kB / 0.789 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.01492, allocations: 0 / 0.789 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.01493, allocations: 11.98 kB / 0.789 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.01494, allocations: 1.531 kB / 0.789 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01494, allocations: 0 / 0.789 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.01521, allocations: 341.2 kB / 0.7893 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.532e-05/0.01523, allocations: 32.31 kB / 0.7894 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.01525, allocations: 8 kB / 0.7894 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.687e-05/0.01532, allocations: 17.08 kB / 0.7894 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.456e-05/0.01537, allocations: 27.89 kB / 0.7894 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.01539, allocations: 11.98 kB / 0.7894 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.603e-05/0.01545, allocations: 83.8 kB / 0.7895 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01545, allocations: 0 / 0.7895 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002299/0.01568, allocations: 124.9 kB / 0.7896 GB, free: 7.148 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (uValIso[1].y,uValIso[2].y) * Number of discrete variables: 30 (enaSerTwo.lat.u,enaSerTwo.lat.clr,enaParTwo.lat.u,enaParTwo.lat.clr,enaParMod.lat.u,enaParMod.lat.clr,enaSerMod.lat.u,enaSerMod.lat.clr,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,u1ValIso[1].y,u1ValIso[2].y,enaSerTwo.lat.y,enaSerMod.lat.y,enaSerMod.opeSerMod[1].y,enaSerMod.opeSerMod[2].y,enaParTwo.lat.y,enaParMod.cloParMod[1].y,enaParMod.cloParMod[2].y,enaParMod.lat.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0001528/0.01583, allocations: 108.4 kB / 0.7897 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003152/0.01615, allocations: 373.7 kB / 0.7901 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.01615, allocations: 4 kB / 0.7901 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.313e-05/0.01624, allocations: 88.75 kB / 0.7902 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.01659, allocations: 145.7 kB / 0.7903 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007713/0.01736, allocations: 0.7106 MB / 0.791 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.383e-05/0.01744, allocations: 129.1 kB / 0.7911 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.681e-05/0.01753, allocations: 49.69 kB / 0.7912 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002425/0.01778, allocations: 157.2 kB / 0.7913 GB, free: 5.324 MB / 0.7448 GB Notification: Performance of SimCode: time 7.71e-07/0.01778, allocations: 0 / 0.7913 GB, free: 5.324 MB / 0.7448 GB Notification: Performance of Templates: time 0.009598/0.02737, allocations: 7.448 MB / 0.7986 GB, free: 14.16 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.pipe ; mkfifo Buildings_13_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.pipe >> ../files/Buildings_13_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.sim & ./Buildings_13_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.909427064470947]