Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.00135/0.00135, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002035/0.002035, allocations: 198 kB / 16.53 MB, free: 6.664 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.448/1.448, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.083/3.083, allocations: 472.6 MB / 0.7451 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 64.34 kB / 0.912 GB, free: 33.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3349, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered): time 0.003453/0.3384, allocations: 1.962 MB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003021/0.3415, allocations: 1.981 MB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004913/0.342, allocations: 27.81 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003761/0.3424, allocations: 131 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000187/0.3426, allocations: 31.72 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.3437, allocations: 350.6 kB / 1.073 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008321/0.3445, allocations: 0.7892 MB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006523/0.3452, allocations: 475.9 kB / 1.074 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003286/0.3455, allocations: 251.3 kB / 1.074 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003697/0.3459, allocations: 258.9 kB / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001393/0.346, allocations: 64 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000175/0.3462, allocations: 75.98 kB / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.3464, allocations: 139.6 kB / 1.075 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003498/0.3467, allocations: 278.6 kB / 1.075 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007732/0.3475, allocations: 0.7984 MB / 1.076 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.3475, allocations: 0 / 1.076 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3475, allocations: 3.938 kB / 1.076 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.55e-05/0.3476, allocations: 0 / 1.076 GB, free: 2.797 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.001535/0.3491, allocations: 0.9112 MB / 1.076 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.3491, allocations: 8.031 kB / 1.076 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.3493, allocations: 64.22 kB / 1.077 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000673/0.35, allocations: 464.1 kB / 1.077 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.192e-05/0.35, allocations: 37.38 kB / 1.077 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.637e-05/0.3501, allocations: 64.3 kB / 1.077 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009212/0.3511, allocations: 0.5418 MB / 1.078 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.3511, allocations: 192 / 1.078 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.874e-05/0.3511, allocations: 19.94 kB / 1.078 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.3512, allocations: 12 kB / 1.078 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007454/0.3519, allocations: 459.6 kB / 1.078 GB, free: 144 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001941/0.3539, allocations: 1.293 MB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007065/0.3546, allocations: 434.2 kB / 1.08 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003017/0.3549, allocations: 184.6 kB / 1.08 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.3549, allocations: 4 kB / 1.08 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004754/0.3554, allocations: 326.8 kB / 1.08 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=36): time 1.743e-06/0.3554, allocations: 0 / 1.08 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36): time 0.001144/0.3566, allocations: 0.6431 MB / 1.081 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.3566, allocations: 59.41 kB / 1.081 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003338/0.357, allocations: 326.4 kB / 1.081 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.027e-05/0.357, allocations: 37.7 kB / 1.081 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.3572, allocations: 232.9 kB / 1.082 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.688e-05/0.3573, allocations: 78.91 kB / 1.082 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000184/0.3575, allocations: 134 kB / 1.082 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.3576, allocations: 342.8 kB / 1.082 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004756/0.3581, allocations: 272.1 kB / 1.082 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004975/0.3586, allocations: 348 kB / 1.083 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006546/0.3593, allocations: 444.9 kB / 1.083 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3593, allocations: 0 / 1.083 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001083/0.3604, allocations: 0.6926 MB / 1.084 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.34e-05/0.3605, allocations: 63.39 kB / 1.084 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3605, allocations: 0 / 1.084 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.3605, allocations: 4 kB / 1.084 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001836/0.3607, allocations: 47.89 kB / 1.084 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.3607, allocations: 0 / 1.084 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004834/0.3612, allocations: 111.8 kB / 1.084 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.979e-05/0.3612, allocations: 19.94 kB / 1.084 GB, free: 9.902 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.0002597/0.3615, allocations: 256.2 kB / 1.084 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.327e-05/0.3616, allocations: 31.56 kB / 1.084 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.532e-05/0.3616, allocations: 46.95 kB / 1.084 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.3617, allocations: 8 kB / 1.084 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.3617, allocations: 0 / 1.084 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.3617, allocations: 0 / 1.084 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/0.3633, allocations: 1.096 MB / 1.085 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.3633, allocations: 0 / 1.085 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.3634, allocations: 43.94 kB / 1.085 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.228e-06/0.3635, allocations: 3.984 kB / 1.085 GB, free: 8.355 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.892e-05/0.3635, allocations: 11.98 kB / 1.085 GB, free: 8.344 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.3635, allocations: 3.938 kB / 1.085 GB, free: 8.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.3635, allocations: 4 kB / 1.085 GB, free: 8.336 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.3647, allocations: 0.7815 MB / 1.086 GB, free: 7.539 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.332e-05/0.3647, allocations: 108.6 kB / 1.086 GB, free: 7.414 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.71e-05/0.3648, allocations: 11.94 kB / 1.086 GB, free: 7.402 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.365, allocations: 35.88 kB / 1.086 GB, free: 7.367 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.3651, allocations: 51.94 kB / 1.086 GB, free: 7.316 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-05/0.3651, allocations: 15.98 kB / 1.086 GB, free: 7.301 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001828/0.3653, allocations: 210 kB / 1.087 GB, free: 7.094 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3653, allocations: 0 / 1.087 GB, free: 7.094 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000466/0.3658, allocations: 127.4 kB / 1.087 GB, free: 6.969 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.0002184/0.366, allocations: 128 kB / 1.087 GB, free: 6.836 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001166/0.3672, allocations: 0.7017 MB / 1.088 GB, free: 6.109 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3672, allocations: 0 / 1.088 GB, free: 6.109 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003838/0.3676, allocations: 231.7 kB / 1.088 GB, free: 5.883 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006766/0.3683, allocations: 133 kB / 1.088 GB, free: 5.758 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.3698, allocations: 0.8994 MB / 1.089 GB, free: 4.832 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004333/0.3703, allocations: 0.8891 MB / 1.09 GB, free: 3.914 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001869/0.3704, allocations: 83.16 kB / 1.09 GB, free: 3.828 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.158e-05/0.3705, allocations: 31.44 kB / 1.09 GB, free: 3.801 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3705, allocations: 0 / 1.09 GB, free: 3.801 MB / 0.8419 GB Notification: Performance of Templates: time 0.01163/0.3822, allocations: 6.417 MB / 1.096 GB, free: 13.48 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.makefile (rm -f Buildings_1.6_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.pipe ; mkfifo Buildings_1.6_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.pipe >> ../files/Buildings_1.6_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.sim & ./Buildings_1.6_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered.pipe 2>&1)