Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered") translateModel(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001885/0.001885, allocations: 195.4 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.551/1.551, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.073/3.073, allocations: 472.6 MB / 0.7447 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 63.16 kB / 0.9114 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4223/0.4238, allocations: 159.9 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered): time 0.003663/0.4275, allocations: 1.979 MB / 1.069 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003385/0.4309, allocations: 1.957 MB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003386/0.4313, allocations: 23.88 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003625/0.4316, allocations: 115.2 kB / 1.072 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.4318, allocations: 23.86 kB / 1.072 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009167/0.4327, allocations: 307 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006936/0.4334, allocations: 0.7151 MB / 1.073 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006021/0.434, allocations: 463.9 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002358/0.4343, allocations: 207.2 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002617/0.4345, allocations: 223 kB / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.079e-05/0.4346, allocations: 28 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.4348, allocations: 51.92 kB / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.4349, allocations: 107.6 kB / 1.074 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000281/0.4352, allocations: 238.7 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007222/0.4359, allocations: 0.7672 MB / 1.075 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.436, allocations: 0 / 1.075 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.172e-06/0.436, allocations: 0 / 1.075 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.436, allocations: 4 kB / 1.075 GB, free: 3.645 MB / 0.8262 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.001532/0.4375, allocations: 0.9049 MB / 1.075 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.4376, allocations: 11.97 kB / 1.075 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/0.4377, allocations: 60.28 kB / 1.075 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007182/0.4384, allocations: 476 kB / 1.076 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.559e-05/0.4385, allocations: 33.38 kB / 1.076 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.4386, allocations: 60.38 kB / 1.076 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009503/0.4396, allocations: 0.5379 MB / 1.077 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.4396, allocations: 4.125 kB / 1.077 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.803e-05/0.4397, allocations: 23.92 kB / 1.077 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.4397, allocations: 12 kB / 1.077 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007777/0.4405, allocations: 459.6 kB / 1.077 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001897/0.4424, allocations: 1.297 MB / 1.078 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008281/0.4432, allocations: 430.2 kB / 1.079 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003273/0.4436, allocations: 195.5 kB / 1.079 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.4436, allocations: 4 kB / 1.079 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005467/0.4441, allocations: 318.8 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=36): time 2.815e-06/0.4442, allocations: 0 / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36): time 0.001275/0.4454, allocations: 0.6354 MB / 1.08 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.034e-05/0.4455, allocations: 55.41 kB / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003916/0.4459, allocations: 330.4 kB / 1.08 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.198e-05/0.446, allocations: 37.7 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002519/0.4462, allocations: 232.9 kB / 1.08 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.4464, allocations: 86.84 kB / 1.081 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002872/0.4467, allocations: 126 kB / 1.081 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.4469, allocations: 350.8 kB / 1.081 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004834/0.4474, allocations: 268.1 kB / 1.081 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006221/0.448, allocations: 352 kB / 1.082 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009137/0.4489, allocations: 440.9 kB / 1.082 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.4489, allocations: 4 kB / 1.082 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001347/0.4503, allocations: 0.6884 MB / 1.083 GB, free: 11 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.573e-05/0.4504, allocations: 63.39 kB / 1.083 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.4504, allocations: 0 / 1.083 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.4504, allocations: 4 kB / 1.083 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.4506, allocations: 47.89 kB / 1.083 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.4506, allocations: 128 / 1.083 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005043/0.4512, allocations: 111.6 kB / 1.083 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-05/0.4512, allocations: 19.98 kB / 1.083 GB, free: 10.75 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,enaParMod.lat.y,enaParMod.cloParMod[2].y,enaParMod.cloParMod[1].y,enaParMod.allCloPar.y,enaParMod.anyOpePar.y,enaParTwo.lat.y,enaParTwo.allCloPar.y,enaParTwo.anyOpePar.y,enaSerMod.opeSerMod[2].y,enaSerMod.opeSerMod[1].y,enaSerMod.allOpeSer.y,enaSerMod.anyCloSer.y,enaSerMod.lat.y,enaSerTwo.allOpeSer.y,enaSerTwo.anyCloSer.y,enaSerTwo.lat.y,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 (40): * Single equations (assignments): 38 * 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.0003567/0.4516, allocations: 256.2 kB / 1.083 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.008e-05/0.4516, allocations: 31.62 kB / 1.083 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.169e-05/0.4517, allocations: 38.95 kB / 1.083 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.4517, allocations: 4 kB / 1.083 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.4518, allocations: 0 / 1.083 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.4518, allocations: 7.922 kB / 1.083 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001887/0.4537, allocations: 1.104 MB / 1.084 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.4537, allocations: 0 / 1.084 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000197/0.4539, allocations: 43.89 kB / 1.084 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.4539, allocations: 0 / 1.084 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.584e-05/0.4539, allocations: 11.98 kB / 1.084 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.4539, allocations: 11.88 kB / 1.084 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.454, allocations: 0 / 1.084 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001415/0.4554, allocations: 0.7776 MB / 1.085 GB, free: 8.383 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.644e-05/0.4555, allocations: 108.7 kB / 1.085 GB, free: 8.258 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.666e-05/0.4555, allocations: 11.98 kB / 1.085 GB, free: 8.246 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.4558, allocations: 35.89 kB / 1.085 GB, free: 8.211 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/0.4559, allocations: 59.98 kB / 1.085 GB, free: 8.152 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.257e-05/0.456, allocations: 8 kB / 1.085 GB, free: 8.145 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002818/0.4562, allocations: 209.9 kB / 1.086 GB, free: 7.938 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4563, allocations: 0 / 1.086 GB, free: 7.938 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005077/0.4568, allocations: 119.5 kB / 1.086 GB, free: 7.82 MB / 0.8419 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.anyCloSer.y,enaSerTwo.allOpeSer.y,enaParTwo.anyOpePar.y,enaParTwo.allCloPar.y,enaParMod.anyOpePar.y,enaParMod.allCloPar.y,enaSerMod.anyCloSer.y,enaSerMod.allOpeSer.y,$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.0002477/0.457, allocations: 125.8 kB / 1.086 GB, free: 7.688 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001238/0.4583, allocations: 0.6665 MB / 1.086 GB, free: 6.996 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4583, allocations: 0 / 1.086 GB, free: 6.996 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004226/0.4587, allocations: 227.7 kB / 1.087 GB, free: 6.773 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007/0.4594, allocations: 137.5 kB / 1.087 GB, free: 6.645 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.4613, allocations: 1.049 MB / 1.088 GB, free: 5.57 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000745/0.4621, allocations: 0.8855 MB / 1.089 GB, free: 4.652 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003842/0.4624, allocations: 79.22 kB / 1.089 GB, free: 4.57 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.503e-05/0.4626, allocations: 35.36 kB / 1.089 GB, free: 4.539 MB / 0.8419 GB Notification: Performance of SimCode: time 5.21e-07/0.4626, allocations: 0 / 1.089 GB, free: 4.539 MB / 0.8419 GB Notification: Performance of Templates: time 0.0135/0.4761, allocations: 6.057 MB / 1.095 GB, free: 14.56 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.makefile (rm -f Buildings_3.0.0_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.pipe ; mkfifo Buildings_3.0.0_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.pipe >> ../files/Buildings_3.0.0_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.sim & ./Buildings_3.0.0_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.pipe 2>&1)