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.00191/0.00191, allocations: 108.3 kB / 19.72 MB, free: 416 kB / 13.93 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.002093/0.002093, allocations: 220 kB / 23.02 MB, free: 2.961 MB / 13.93 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.705/1.705, allocations: 230.6 MB / 256.8 MB, free: 9.629 MB / 202.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.434/3.434, allocations: 0.5045 GB / 0.8104 GB, free: 2.793 MB / 0.6511 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 0.004271/0.004271, allocations: 79.86 kB / 1.177 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.06/1.064, allocations: 180 MB / 1.353 GB, free: 1.648 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered): time 0.004236/1.068, allocations: 1.804 MB / 1.355 GB, free: 15.84 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.003897/1.072, allocations: 1.988 MB / 1.357 GB, free: 13.84 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003837/1.072, allocations: 35.69 kB / 1.357 GB, free: 13.81 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003946/1.073, allocations: 143 kB / 1.357 GB, free: 13.67 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001197/1.073, allocations: 23.75 kB / 1.357 GB, free: 13.64 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001113/1.074, allocations: 362.5 kB / 1.357 GB, free: 13.29 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.001021/1.075, allocations: 0.7697 MB / 1.358 GB, free: 12.52 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005605/1.076, allocations: 260.2 kB / 1.358 GB, free: 12.25 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000344/1.076, allocations: 271.2 kB / 1.358 GB, free: 11.99 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000455/1.076, allocations: 278.9 kB / 1.359 GB, free: 11.71 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001265/1.077, allocations: 64 kB / 1.359 GB, free: 11.65 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001775/1.077, allocations: 72 kB / 1.359 GB, free: 11.58 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001764/1.077, allocations: 139.6 kB / 1.359 GB, free: 11.45 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003215/1.077, allocations: 231 kB / 1.359 GB, free: 11.22 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.001094/1.078, allocations: 0.829 MB / 1.36 GB, free: 10.39 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/1.078, allocations: 0 / 1.36 GB, free: 10.39 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.094e-06/1.078, allocations: 0 / 1.36 GB, free: 10.39 MB / 1.042 GB Notification: Performance of Transformations before backend: time 9.508e-06/1.078, allocations: 0 / 1.36 GB, free: 10.39 MB / 1.042 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.001692/1.08, allocations: 0.8503 MB / 1.361 GB, free: 9.492 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/1.08, allocations: 8.031 kB / 1.361 GB, free: 9.484 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/1.08, allocations: 64.55 kB / 1.361 GB, free: 9.422 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008797/1.081, allocations: 436.5 kB / 1.361 GB, free: 8.973 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.196e-05/1.081, allocations: 41.38 kB / 1.361 GB, free: 8.934 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/1.081, allocations: 56.38 kB / 1.361 GB, free: 8.879 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/1.082, allocations: 0.5301 MB / 1.362 GB, free: 8.344 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/1.082, allocations: 192 / 1.362 GB, free: 8.344 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.968e-05/1.082, allocations: 19.94 kB / 1.362 GB, free: 8.324 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/1.082, allocations: 8 kB / 1.362 GB, free: 8.316 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008257/1.083, allocations: 451.6 kB / 1.362 GB, free: 7.875 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/1.085, allocations: 1.059 MB / 1.363 GB, free: 6.785 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007809/1.086, allocations: 382.1 kB / 1.364 GB, free: 6.402 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003188/1.086, allocations: 156.7 kB / 1.364 GB, free: 6.246 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.139e-05/1.086, allocations: 4.406 kB / 1.364 GB, free: 6.242 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005672/1.087, allocations: 308.5 kB / 1.364 GB, free: 5.93 MB / 1.042 GB Notification: Performance of pre-optimization done (n=36): time 1.723e-06/1.087, allocations: 0 / 1.364 GB, free: 5.93 MB / 1.042 GB Notification: Performance of matching and sorting (n=36): time 0.001391/1.088, allocations: 0.6144 MB / 1.365 GB, free: 5.309 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.325e-05/1.088, allocations: 67.39 kB / 1.365 GB, free: 5.23 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004423/1.089, allocations: 325.6 kB / 1.365 GB, free: 4.906 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 6.7e-05/1.089, allocations: 45.7 kB / 1.365 GB, free: 4.855 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002678/1.089, allocations: 233.5 kB / 1.365 GB, free: 4.625 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/1.089, allocations: 87.31 kB / 1.366 GB, free: 4.539 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000244/1.089, allocations: 137.6 kB / 1.366 GB, free: 4.398 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0002172/1.09, allocations: 342.8 kB / 1.366 GB, free: 4.055 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006262/1.09, allocations: 343.6 kB / 1.366 GB, free: 3.707 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007652/1.091, allocations: 0.52 MB / 1.367 GB, free: 3.121 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007847/1.092, allocations: 452.4 kB / 1.367 GB, free: 2.652 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/1.092, allocations: 4 kB / 1.367 GB, free: 2.648 MB / 1.042 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001451/1.093, allocations: 0.7825 MB / 1.368 GB, free: 1.836 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 8.86e-05/1.093, allocations: 67.41 kB / 1.368 GB, free: 1.758 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/1.093, allocations: 0 / 1.368 GB, free: 1.758 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/1.093, allocations: 4 kB / 1.368 GB, free: 1.754 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/1.094, allocations: 43.88 kB / 1.368 GB, free: 1.711 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-05/1.094, allocations: 7.938 kB / 1.368 GB, free: 1.703 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004926/1.094, allocations: 111.8 kB / 1.368 GB, free: 1.594 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.249e-05/1.094, allocations: 23.97 kB / 1.368 GB, free: 1.57 MB / 1.042 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.0003761/1.095, allocations: 248.8 kB / 1.368 GB, free: 1.316 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.129e-05/1.095, allocations: 35.75 kB / 1.369 GB, free: 1.281 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/1.095, allocations: 38.95 kB / 1.369 GB, free: 1.242 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.812e-06/1.095, allocations: 4 kB / 1.369 GB, free: 1.238 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/1.095, allocations: 4 kB / 1.369 GB, free: 1.234 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/1.095, allocations: 3.984 kB / 1.369 GB, free: 1.23 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/1.097, allocations: 0.9355 MB / 1.369 GB, free: 256 kB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/1.097, allocations: 0 / 1.369 GB, free: 256 kB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/1.097, allocations: 35.89 kB / 1.37 GB, free: 220 kB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/1.097, allocations: 7.938 kB / 1.37 GB, free: 212 kB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.492e-05/1.097, allocations: 11.98 kB / 1.37 GB, free: 200 kB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/1.097, allocations: 4 kB / 1.37 GB, free: 196 kB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.097, allocations: 0 / 1.37 GB, free: 196 kB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/1.098, allocations: 0.7624 MB / 1.37 GB, free: 15.41 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 5.052e-05/1.098, allocations: 31.78 kB / 1.37 GB, free: 15.38 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.06e-05/1.098, allocations: 11.98 kB / 1.37 GB, free: 15.37 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/1.098, allocations: 40.02 kB / 1.37 GB, free: 15.33 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/1.099, allocations: 55.86 kB / 1.37 GB, free: 15.27 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.919e-05/1.099, allocations: 15.98 kB / 1.37 GB, free: 15.26 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0002532/1.099, allocations: 201.2 kB / 1.371 GB, free: 15.06 MB / 1.057 GB Notification: Performance of sort global known variables: time 6e-08/1.099, allocations: 0 / 1.371 GB, free: 15.06 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0004628/1.099, allocations: 123.7 kB / 1.371 GB, free: 14.94 MB / 1.057 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.0002283/1.1, allocations: 121.8 kB / 1.371 GB, free: 14.82 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.001224/1.101, allocations: 0.6938 MB / 1.372 GB, free: 14.09 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/1.101, allocations: 0 / 1.372 GB, free: 14.09 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0004136/1.101, allocations: 207.6 kB / 1.372 GB, free: 13.88 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007197/1.102, allocations: 141.7 kB / 1.372 GB, free: 13.75 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/1.104, allocations: 0.9015 MB / 1.373 GB, free: 12.82 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/1.104, allocations: 287.5 kB / 1.373 GB, free: 12.52 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0002482/1.104, allocations: 83.16 kB / 1.373 GB, free: 12.44 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.142e-05/1.105, allocations: 31.44 kB / 1.373 GB, free: 12.41 MB / 1.057 GB Notification: Performance of SimCode: time 7.12e-07/1.105, allocations: 0 / 1.373 GB, free: 12.41 MB / 1.057 GB Notification: Performance of Templates: time 0.01515/1.12, allocations: 7.257 MB / 1.38 GB, free: 5.316 MB / 1.057 GB " [Timeout remaining time 299] 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: 10.762348653748631]