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.001006/0.001006, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.00104/0.00104, allocations: 161 kB / 24.16 MB, free: 336 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 1.013/1.013, allocations: 177.2 MB / 204.6 MB, free: 5.215 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.986/1.986, allocations: 389.6 MB / 0.6354 GB, free: 12.33 MB / 0.6042 GB " [Timeout remaining time 177] 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.904e-06/1.904e-06, allocations: 0 / 0.7752 GB, free: 5.441 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.762e-05/1.953e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered): time 0.003052/0.003072, allocations: 1.908 MB / 0.777 GB, free: 3.559 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002373/0.005445, allocations: 2.078 MB / 0.7791 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002338/0.005679, allocations: 39.69 kB / 0.7791 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002566/0.005935, allocations: 137 kB / 0.7792 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.511e-05/0.006031, allocations: 36.34 kB / 0.7793 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006646/0.006695, allocations: 352.6 kB / 0.7796 GB, free: 0.9219 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0008536/0.007549, allocations: 0.7815 MB / 0.7804 GB, free: 144 kB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003539/0.007903, allocations: 274.1 kB / 0.7806 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003424/0.008245, allocations: 377.1 kB / 0.781 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002519/0.008497, allocations: 239.5 kB / 0.7812 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.5e-05/0.008562, allocations: 64 kB / 0.7813 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.008677, allocations: 75.92 kB / 0.7814 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.873e-05/0.008766, allocations: 140.4 kB / 0.7815 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.008903, allocations: 187.6 kB / 0.7817 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004274/0.00933, allocations: 0.534 MB / 0.7822 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.009332, allocations: 0.75 kB / 0.7822 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.41e-07/0.009333, allocations: 0 / 0.7822 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.009339, allocations: 2.656 kB / 0.7822 GB, free: 14.27 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.0007184/0.01006, allocations: 0.7223 MB / 0.7829 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.799e-05/0.01009, allocations: 8.75 kB / 0.7829 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.588e-05/0.01018, allocations: 76.88 kB / 0.783 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003558/0.01054, allocations: 335 kB / 0.7833 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.494e-05/0.01057, allocations: 45.36 kB / 0.7833 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.938e-05/0.01063, allocations: 52.38 kB / 0.7834 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003028/0.01093, allocations: 286.1 kB / 0.7837 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.01094, allocations: 192 / 0.7837 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.01097, allocations: 16.38 kB / 0.7837 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.01098, allocations: 12.38 kB / 0.7837 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.01111, allocations: 106.8 kB / 0.7838 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008511/0.01196, allocations: 0.6986 MB / 0.7845 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.01216, allocations: 146.5 kB / 0.7846 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.764e-05/0.0122, allocations: 41.34 kB / 0.7847 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.01222, allocations: 5.5 kB / 0.7847 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001799/0.0124, allocations: 180.4 kB / 0.7848 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=36): time 1.603e-06/0.0124, allocations: 0.5312 kB / 0.7848 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of matching and sorting (n=36): time 0.0002711/0.01267, allocations: 211 kB / 0.785 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.01271, allocations: 63.34 kB / 0.7851 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.01289, allocations: 280.7 kB / 0.7854 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.464e-05/0.01292, allocations: 42.52 kB / 0.7854 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.01303, allocations: 209.9 kB / 0.7856 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.187e-05/0.01309, allocations: 92.03 kB / 0.7857 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.01322, allocations: 121.6 kB / 0.7858 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.517e-05/0.01331, allocations: 351.4 kB / 0.7861 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.01344, allocations: 123.8 kB / 0.7863 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.01362, allocations: 321.9 kB / 0.7866 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001968/0.01382, allocations: 217.6 kB / 0.7868 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.01382, allocations: 0 / 0.7868 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003314/0.01415, allocations: 379.6 kB / 0.7871 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003497/0.0145, allocations: 65.27 kB / 0.7872 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.01451, allocations: 4 kB / 0.7872 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.01452, allocations: 0.875 kB / 0.7872 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.01463, allocations: 39.86 kB / 0.7872 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.01463, allocations: 4.5 kB / 0.7872 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.0148, allocations: 61.53 kB / 0.7873 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.747e-05/0.01483, allocations: 15.98 kB / 0.7873 GB, free: 8.727 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.000136/0.01496, allocations: 161.6 kB / 0.7875 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.338e-05/0.015, allocations: 31.97 kB / 0.7875 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.403e-05/0.01504, allocations: 38.89 kB / 0.7875 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.01505, allocations: 5.188 kB / 0.7875 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.01505, allocations: 7.938 kB / 0.7876 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.01506, allocations: 0 / 0.7876 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005111/0.01557, allocations: 484.6 kB / 0.788 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.01557, allocations: 0 / 0.788 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.998e-05/0.01565, allocations: 23.92 kB / 0.788 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.01565, allocations: 4 kB / 0.788 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.01567, allocations: 9.078 kB / 0.7881 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.01567, allocations: 4 kB / 0.7881 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.01568, allocations: 0 / 0.7881 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.01596, allocations: 334.3 kB / 0.7884 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.41e-05/0.01598, allocations: 31.75 kB / 0.7884 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.01601, allocations: 13.34 kB / 0.7884 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.024e-05/0.01608, allocations: 11.98 kB / 0.7884 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.172e-05/0.01614, allocations: 27.95 kB / 0.7885 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.01616, allocations: 13.39 kB / 0.7885 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.282e-05/0.01622, allocations: 78.77 kB / 0.7885 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01622, allocations: 4 kB / 0.7885 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000252/0.01647, allocations: 115.7 kB / 0.7887 GB, free: 7.316 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.0001321/0.01661, allocations: 109.5 kB / 0.7888 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003311/0.01694, allocations: 369.3 kB / 0.7891 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.01694, allocations: 4 kB / 0.7891 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.921e-05/0.01704, allocations: 89.47 kB / 0.7892 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.0174, allocations: 156.2 kB / 0.7894 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007703/0.01817, allocations: 0.7111 MB / 0.79 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.462e-05/0.01824, allocations: 133.1 kB / 0.7902 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000109/0.01835, allocations: 41.2 kB / 0.7902 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002507/0.0186, allocations: 161.2 kB / 0.7904 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of SimCode: time 4.31e-07/0.0186, allocations: 1.031 kB / 0.7904 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of Templates: time 0.009589/0.02819, allocations: 7.438 MB / 0.7976 GB, free: 14.33 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.189835377968848]