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.002479/0.002479, allocations: 80.45 kB / 19.96 MB, free: 4.605 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.002768/0.002768, allocations: 173.2 kB / 23.24 MB, free: 1.324 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 1.598/1.598, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 178] 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 3.273/3.273, allocations: 389.5 MB / 0.6343 GB, free: 12.6 MB / 0.6042 GB " [Timeout remaining time 176] 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 2.685e-06/2.685e-06, allocations: 0 / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.628e-05/3.896e-05, allocations: 5.656 kB / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered): time 0.004088/0.004127, allocations: 1.802 MB / 1.003 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.003676/0.007803, allocations: 2 MB / 1.005 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002842/0.008087, allocations: 35.69 kB / 1.005 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0004064/0.008494, allocations: 143 kB / 1.005 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.008628, allocations: 31.72 kB / 1.005 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009215/0.00955, allocations: 354.4 kB / 1.005 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0009473/0.0105, allocations: 0.7853 MB / 1.006 GB, free: 7.887 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004967/0.01099, allocations: 268.2 kB / 1.006 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005056/0.0115, allocations: 371.4 kB / 1.007 GB, free: 7.25 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000405/0.0119, allocations: 247.4 kB / 1.007 GB, free: 7.008 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001331/0.01204, allocations: 64 kB / 1.007 GB, free: 6.945 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001745/0.01221, allocations: 83.91 kB / 1.007 GB, free: 6.863 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001797/0.01239, allocations: 139.6 kB / 1.007 GB, free: 6.727 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0002805/0.01267, allocations: 191.5 kB / 1.007 GB, free: 6.539 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001103/0.01377, allocations: 0.8725 MB / 1.008 GB, free: 5.664 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.01378, allocations: 0 / 1.008 GB, free: 5.664 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.643e-06/0.01378, allocations: 0 / 1.008 GB, free: 5.664 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.01379, allocations: 0 / 1.008 GB, free: 5.664 MB / 0.9636 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.001644/0.01543, allocations: 0.833 MB / 1.009 GB, free: 4.785 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.01548, allocations: 8.75 kB / 1.009 GB, free: 4.777 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.01563, allocations: 72.55 kB / 1.009 GB, free: 4.707 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.01677, allocations: 423.8 kB / 1.01 GB, free: 4.266 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.256e-05/0.01683, allocations: 41.38 kB / 1.01 GB, free: 4.223 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.01694, allocations: 60.36 kB / 1.01 GB, free: 4.164 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.01798, allocations: 0.53 MB / 1.01 GB, free: 3.633 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.018, allocations: 192 / 1.01 GB, free: 3.633 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.346e-05/0.01804, allocations: 16.38 kB / 1.01 GB, free: 3.617 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.01805, allocations: 12.38 kB / 1.01 GB, free: 3.605 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000851/0.01891, allocations: 451.6 kB / 1.011 GB, free: 3.168 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001969/0.02087, allocations: 1.055 MB / 1.012 GB, free: 2.078 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008185/0.02169, allocations: 374.2 kB / 1.012 GB, free: 1.703 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003395/0.02203, allocations: 164.7 kB / 1.012 GB, free: 1.539 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 3.458e-05/0.02207, allocations: 4 kB / 1.012 GB, free: 1.535 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005946/0.02266, allocations: 320.5 kB / 1.012 GB, free: 1.211 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=36): time 1.783e-06/0.02266, allocations: 0 / 1.012 GB, free: 1.211 MB / 0.9636 GB Notification: Performance of matching and sorting (n=36): time 0.001338/0.024, allocations: 0.6105 MB / 1.013 GB, free: 0.5938 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.632e-05/0.02409, allocations: 63.39 kB / 1.013 GB, free: 0.5195 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004087/0.0245, allocations: 325.7 kB / 1.013 GB, free: 200 kB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 5.865e-05/0.02456, allocations: 41.7 kB / 1.014 GB, free: 152 kB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002467/0.0248, allocations: 249.3 kB / 1.014 GB, free: 15.9 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.02491, allocations: 87.31 kB / 1.014 GB, free: 15.82 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002376/0.02515, allocations: 133.6 kB / 1.014 GB, free: 15.68 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002132/0.02536, allocations: 342.8 kB / 1.014 GB, free: 15.34 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006179/0.02598, allocations: 343.6 kB / 1.015 GB, free: 14.99 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007685/0.02675, allocations: 0.5126 MB / 1.015 GB, free: 14.41 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000846/0.02759, allocations: 456 kB / 1.016 GB, free: 13.93 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.02759, allocations: 3.938 kB / 1.016 GB, free: 13.93 MB / 0.9792 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0017/0.02929, allocations: 0.7867 MB / 1.016 GB, free: 13.11 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 8.042e-05/0.02937, allocations: 69.58 kB / 1.016 GB, free: 13.04 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.02939, allocations: 7.938 kB / 1.016 GB, free: 13.03 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.0294, allocations: 0 / 1.016 GB, free: 13.03 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.02961, allocations: 43.89 kB / 1.016 GB, free: 12.98 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.02962, allocations: 4 kB / 1.016 GB, free: 12.98 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005014/0.03013, allocations: 115.6 kB / 1.017 GB, free: 12.87 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.434e-05/0.03018, allocations: 20 kB / 1.017 GB, free: 12.85 MB / 0.9792 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.00034/0.03052, allocations: 244.3 kB / 1.017 GB, free: 12.6 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.469e-05/0.03057, allocations: 31.8 kB / 1.017 GB, free: 12.57 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.831e-05/0.03066, allocations: 42.91 kB / 1.017 GB, free: 12.52 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.03067, allocations: 11.94 kB / 1.017 GB, free: 12.51 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.03068, allocations: 0 / 1.017 GB, free: 12.51 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.03068, allocations: 3.984 kB / 1.017 GB, free: 12.51 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001706/0.03239, allocations: 0.9278 MB / 1.018 GB, free: 11.54 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.03239, allocations: 3.984 kB / 1.018 GB, free: 11.54 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.03257, allocations: 39.89 kB / 1.018 GB, free: 11.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.03258, allocations: 0 / 1.018 GB, free: 11.5 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.69e-05/0.0326, allocations: 8 kB / 1.018 GB, free: 11.49 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.03261, allocations: 11.98 kB / 1.018 GB, free: 11.48 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.03261, allocations: 0 / 1.018 GB, free: 11.48 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.034, allocations: 0.7587 MB / 1.019 GB, free: 10.7 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 4.537e-05/0.03404, allocations: 27.83 kB / 1.019 GB, free: 10.68 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.667e-05/0.03409, allocations: 11.98 kB / 1.019 GB, free: 10.66 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.03428, allocations: 36.02 kB / 1.019 GB, free: 10.63 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.03442, allocations: 55.86 kB / 1.019 GB, free: 10.57 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.155e-05/0.03445, allocations: 11.98 kB / 1.019 GB, free: 10.56 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002391/0.03469, allocations: 213.2 kB / 1.019 GB, free: 10.36 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.03469, allocations: 0 / 1.019 GB, free: 10.36 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004396/0.03513, allocations: 123.6 kB / 1.019 GB, free: 10.23 MB / 0.9792 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.0002413/0.03537, allocations: 125.8 kB / 1.019 GB, free: 10.11 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001294/0.03667, allocations: 0.6896 MB / 1.02 GB, free: 9.379 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.03667, allocations: 0 / 1.02 GB, free: 9.379 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0004436/0.03711, allocations: 203.7 kB / 1.02 GB, free: 9.18 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006942/0.03781, allocations: 127.7 kB / 1.02 GB, free: 9.059 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.03949, allocations: 0.8828 MB / 1.021 GB, free: 8.145 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/0.03985, allocations: 295.5 kB / 1.021 GB, free: 7.828 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0002293/0.04008, allocations: 83.16 kB / 1.021 GB, free: 7.75 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.78e-05/0.04017, allocations: 28.5 kB / 1.021 GB, free: 7.719 MB / 0.9792 GB Notification: Performance of SimCode: time 9.12e-07/0.04017, allocations: 0 / 1.021 GB, free: 7.719 MB / 0.9792 GB Notification: Performance of Templates: time 0.0145/0.05467, allocations: 6.92 MB / 1.028 GB, free: 0.9609 MB / 0.9792 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: 9.304095440544188]