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.0008683/0.0008683, allocations: 80.92 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.000889/0.000889, allocations: 161 kB / 24.17 MB, free: 332 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 0.914/0.914, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.89/1.89, allocations: 389.6 MB / 0.6354 GB, free: 12.29 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.473e-06/1.473e-06, allocations: 0 / 0.7751 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.1e-05/1.247e-05, allocations: 2.969 kB / 0.7752 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered): time 0.002128/0.00214, allocations: 1.851 MB / 0.777 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002252/0.004393, allocations: 2.083 MB / 0.779 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002293/0.004622, allocations: 35.69 kB / 0.779 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002468/0.004869, allocations: 141.3 kB / 0.7792 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.755e-05/0.004956, allocations: 27.73 kB / 0.7792 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006453/0.005602, allocations: 358.5 kB / 0.7795 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0005539/0.006156, allocations: 0.7855 MB / 0.7803 GB, free: 132 kB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000556/0.006712, allocations: 266.1 kB / 0.7806 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002982/0.00701, allocations: 383.3 kB / 0.7809 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.007233, allocations: 239.5 kB / 0.7811 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.443e-05/0.007298, allocations: 64 kB / 0.7812 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.027e-05/0.007388, allocations: 68 kB / 0.7813 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.047e-05/0.007479, allocations: 147.5 kB / 0.7814 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.007609, allocations: 188.2 kB / 0.7816 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003889/0.007998, allocations: 0.5256 MB / 0.7821 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.008, allocations: 0.6875 kB / 0.7821 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.01e-07/0.008001, allocations: 0.5312 kB / 0.7821 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.008005, allocations: 0 / 0.7821 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.0007104/0.008716, allocations: 0.7238 MB / 0.7828 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.819e-05/0.008744, allocations: 12.75 kB / 0.7828 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.107e-05/0.008835, allocations: 80.86 kB / 0.7829 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000343/0.009178, allocations: 332.5 kB / 0.7832 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.53e-05/0.009213, allocations: 33.38 kB / 0.7833 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.35e-05/0.009277, allocations: 60.36 kB / 0.7833 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000291/0.009568, allocations: 284.1 kB / 0.7836 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.009577, allocations: 192 / 0.7836 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/0.009602, allocations: 21.3 kB / 0.7836 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.009611, allocations: 12.38 kB / 0.7836 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.009736, allocations: 100.5 kB / 0.7837 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008058/0.01054, allocations: 0.7008 MB / 0.7844 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.01072, allocations: 151 kB / 0.7845 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.228e-05/0.01076, allocations: 34.22 kB / 0.7846 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.01078, allocations: 13.98 kB / 0.7846 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001478/0.01093, allocations: 184.4 kB / 0.7848 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=36): time 1.163e-06/0.01093, allocations: 0 / 0.7848 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of matching and sorting (n=36): time 0.0002457/0.01117, allocations: 206.5 kB / 0.785 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.01121, allocations: 71.27 kB / 0.785 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.01136, allocations: 278 kB / 0.7853 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/0.01139, allocations: 45.69 kB / 0.7853 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.704e-05/0.01148, allocations: 205.9 kB / 0.7855 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.085e-05/0.01153, allocations: 88.75 kB / 0.7856 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.01164, allocations: 125.5 kB / 0.7857 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.475e-05/0.01172, allocations: 346.7 kB / 0.7861 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.01183, allocations: 127.9 kB / 0.7862 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.01199, allocations: 317.7 kB / 0.7865 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.01216, allocations: 217.5 kB / 0.7867 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.01216, allocations: 0.6562 kB / 0.7867 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000291/0.01245, allocations: 374.6 kB / 0.7871 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/0.01248, allocations: 59.41 kB / 0.7871 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.01249, allocations: 1.109 kB / 0.7871 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.0125, allocations: 7.984 kB / 0.7871 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.279e-05/0.01259, allocations: 44.34 kB / 0.7872 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.01259, allocations: 5.719 kB / 0.7872 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.01275, allocations: 67.78 kB / 0.7872 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.01277, allocations: 15.98 kB / 0.7872 GB, free: 8.707 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.0003543/0.01313, allocations: 151.7 kB / 0.7874 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/0.01316, allocations: 27.97 kB / 0.7874 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.826e-05/0.01319, allocations: 38.95 kB / 0.7875 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.0132, allocations: 4 kB / 0.7875 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.0132, allocations: 3.938 kB / 0.7875 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.01321, allocations: 3.984 kB / 0.7875 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00044/0.01365, allocations: 475 kB / 0.7879 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.01365, allocations: 3.031 kB / 0.7879 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.492e-05/0.01371, allocations: 23.92 kB / 0.7879 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.01372, allocations: 4 kB / 0.7879 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.01373, allocations: 11.98 kB / 0.788 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.01373, allocations: 7.938 kB / 0.788 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01373, allocations: 0 / 0.788 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000254/0.01399, allocations: 337.2 kB / 0.7883 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.131e-05/0.01401, allocations: 29.25 kB / 0.7883 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.01403, allocations: 11.98 kB / 0.7883 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.536e-05/0.0141, allocations: 8 kB / 0.7883 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.01415, allocations: 27.94 kB / 0.7884 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.01417, allocations: 13.12 kB / 0.7884 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.855e-05/0.01422, allocations: 82.75 kB / 0.7885 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01422, allocations: 0 / 0.7885 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002242/0.01445, allocations: 124.7 kB / 0.7886 GB, free: 7.309 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.0001068/0.01456, allocations: 109.2 kB / 0.7887 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002929/0.01485, allocations: 372.3 kB / 0.789 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.01485, allocations: 1.312 kB / 0.789 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.981e-05/0.01494, allocations: 96.67 kB / 0.7891 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.01526, allocations: 157.2 kB / 0.7893 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006743/0.01594, allocations: 0.6947 MB / 0.79 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.393e-05/0.01601, allocations: 133.1 kB / 0.7901 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001026/0.01611, allocations: 41.73 kB / 0.7901 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002371/0.01635, allocations: 166.4 kB / 0.7903 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of SimCode: time 6.01e-07/0.01635, allocations: 0 / 0.7903 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of Templates: time 0.00857/0.02492, allocations: 7.441 MB / 0.7975 GB, free: 14.32 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.821759645827115]