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.001016/0.001016, allocations: 83.69 kB / 21.74 MB, free: 2.512 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.000925/0.000925, allocations: 172.9 kB / 25.18 MB, free: 8.918 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.9808/0.9808, allocations: 177.2 MB / 205.6 MB, free: 5.398 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.922/1.922, allocations: 389.6 MB / 0.6364 GB, free: 12.18 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 2.394e-06/2.394e-06, allocations: 0 / 0.7755 GB, free: 5.984 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.242e-05/2.482e-05, allocations: 2.312 kB / 0.7755 GB, free: 5.98 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered): time 0.003638/0.003663, allocations: 1.901 MB / 0.7774 GB, free: 4.105 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.003434/0.007097, allocations: 2.07 MB / 0.7794 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004413/0.007538, allocations: 36.56 kB / 0.7794 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003661/0.007904, allocations: 143.3 kB / 0.7796 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.000137/0.008041, allocations: 35.66 kB / 0.7796 GB, free: 1.82 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009507/0.008992, allocations: 339.1 kB / 0.7799 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0009026/0.009895, allocations: 0.7893 MB / 0.7807 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005603/0.01046, allocations: 274 kB / 0.781 GB, free: 436 kB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000504/0.01096, allocations: 371.4 kB / 0.7813 GB, free: 64 kB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004324/0.01139, allocations: 246.5 kB / 0.7815 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001314/0.01152, allocations: 63.94 kB / 0.7816 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001947/0.01172, allocations: 72 kB / 0.7817 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.01185, allocations: 139.6 kB / 0.7818 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002372/0.01209, allocations: 191.5 kB / 0.782 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006833/0.01277, allocations: 0.5373 MB / 0.7825 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.01278, allocations: 0 / 0.7825 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.523e-06/0.01278, allocations: 0 / 0.7825 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.327e-05/0.01279, allocations: 3.438 kB / 0.7825 GB, free: 14.83 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.001094/0.01389, allocations: 0.7106 MB / 0.7832 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.01393, allocations: 12.75 kB / 0.7832 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.01408, allocations: 80.86 kB / 0.7833 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005242/0.01461, allocations: 339.8 kB / 0.7836 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.372e-05/0.01466, allocations: 45.3 kB / 0.7837 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.453e-05/0.01475, allocations: 52.38 kB / 0.7837 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004713/0.01523, allocations: 279.7 kB / 0.784 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.01524, allocations: 4.172 kB / 0.784 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.771e-05/0.01528, allocations: 20.38 kB / 0.784 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.01529, allocations: 18.14 kB / 0.784 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/0.01549, allocations: 98.89 kB / 0.7841 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/0.01685, allocations: 0.6969 MB / 0.7848 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.01711, allocations: 159.3 kB / 0.785 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.568e-05/0.01717, allocations: 38.62 kB / 0.785 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.0172, allocations: 8.312 kB / 0.785 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002275/0.01742, allocations: 176.5 kB / 0.7852 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=36): time 2.024e-06/0.01743, allocations: 4 kB / 0.7852 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of matching and sorting (n=36): time 0.0003706/0.0178, allocations: 205.8 kB / 0.7854 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.01785, allocations: 67.33 kB / 0.7854 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.01808, allocations: 280.7 kB / 0.7857 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.549e-05/0.01812, allocations: 41.7 kB / 0.7857 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.01826, allocations: 213.9 kB / 0.7859 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.763e-05/0.01833, allocations: 87.3 kB / 0.786 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000174/0.01851, allocations: 120.3 kB / 0.7861 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.01862, allocations: 350.7 kB / 0.7865 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001736/0.01879, allocations: 127.9 kB / 0.7866 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/0.01903, allocations: 321.1 kB / 0.7869 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002556/0.01929, allocations: 225.1 kB / 0.7871 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.01929, allocations: 0 / 0.7871 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004654/0.01976, allocations: 374.2 kB / 0.7875 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.236e-05/0.01981, allocations: 68.45 kB / 0.7875 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.01982, allocations: 4 kB / 0.7875 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.01983, allocations: 0 / 0.7875 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.01997, allocations: 48.28 kB / 0.7876 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.01998, allocations: 4.531 kB / 0.7876 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.02022, allocations: 57.28 kB / 0.7877 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.39e-05/0.02026, allocations: 28.8 kB / 0.7877 GB, free: 9.25 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.0001641/0.02043, allocations: 144.9 kB / 0.7878 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.64e-05/0.02047, allocations: 31.97 kB / 0.7878 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.114e-05/0.02053, allocations: 39.64 kB / 0.7879 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.02054, allocations: 0 / 0.7879 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.02054, allocations: 9.312 kB / 0.7879 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.02055, allocations: 0 / 0.7879 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009455/0.02149, allocations: 486.9 kB / 0.7884 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.0215, allocations: 0.875 kB / 0.7884 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.953e-05/0.02159, allocations: 23.98 kB / 0.7884 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.0216, allocations: 4.875 kB / 0.7884 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.02162, allocations: 12.03 kB / 0.7884 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.02162, allocations: 4.5 kB / 0.7884 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.02162, allocations: 3.984 kB / 0.7884 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/0.02192, allocations: 330.8 kB / 0.7887 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.366e-05/0.02194, allocations: 27.8 kB / 0.7887 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.02197, allocations: 11.98 kB / 0.7888 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.077e-05/0.02204, allocations: 9.219 kB / 0.7888 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.599e-05/0.02209, allocations: 35.94 kB / 0.7888 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.02211, allocations: 4 kB / 0.7888 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.071e-05/0.02217, allocations: 83.67 kB / 0.7889 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.02217, allocations: 0 / 0.7889 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002438/0.02242, allocations: 131.6 kB / 0.789 GB, free: 7.844 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.0001492/0.02257, allocations: 107.2 kB / 0.7891 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003526/0.02292, allocations: 377.2 kB / 0.7895 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/0.02293, allocations: 4.719 kB / 0.7895 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.917e-05/0.02302, allocations: 92.67 kB / 0.7896 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.02337, allocations: 144.1 kB / 0.7897 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007616/0.02413, allocations: 0.7272 MB / 0.7904 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001531/0.02428, allocations: 237 kB / 0.7906 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000261/0.02455, allocations: 166.8 kB / 0.7908 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of SimCode: time 1.082e-06/0.02455, allocations: 4 kB / 0.7908 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of Templates: time 0.006588/0.03113, allocations: 6.554 MB / 0.7972 GB, free: 15.53 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 > Buildings_13_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.000294021330774]