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.001534/0.001534, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001817/0.001817, allocations: 198 kB / 16.25 MB, free: 6.621 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.436/1.436, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.95/2.95, allocations: 472.6 MB / 0.7448 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001256, allocations: 60.61 kB / 0.9115 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3328, allocations: 159.9 MB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered): time 0.003762/0.3366, allocations: 1.995 MB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003198/0.3398, allocations: 1.938 MB / 1.072 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005388/0.3404, allocations: 23.88 kB / 1.072 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003431/0.3408, allocations: 123.2 kB / 1.072 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001195/0.3409, allocations: 7.875 kB / 1.072 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009274/0.3418, allocations: 319.1 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007275/0.3426, allocations: 0.7931 MB / 1.073 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005842/0.3432, allocations: 463.9 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002467/0.3434, allocations: 259.3 kB / 1.073 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002749/0.3437, allocations: 258.9 kB / 1.074 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.323e-05/0.3438, allocations: 64 kB / 1.074 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.344, allocations: 75.92 kB / 1.074 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001385/0.3441, allocations: 143.6 kB / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002675/0.3444, allocations: 270.7 kB / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006792/0.3451, allocations: 0.7985 MB / 1.075 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3451, allocations: 0 / 1.075 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.527e-06/0.3451, allocations: 0 / 1.075 GB, free: 3.234 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.465e-06/0.3451, allocations: 3.938 kB / 1.075 GB, free: 3.23 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.001289/0.3464, allocations: 0.9049 MB / 1.076 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.3464, allocations: 8.031 kB / 1.076 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.3466, allocations: 60.28 kB / 1.076 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006747/0.3472, allocations: 472 kB / 1.076 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.189e-05/0.3473, allocations: 41.36 kB / 1.076 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.018e-05/0.3474, allocations: 56.38 kB / 1.077 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008894/0.3483, allocations: 0.5456 MB / 1.077 GB, free: 1.055 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.3483, allocations: 192 / 1.077 GB, free: 1.055 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.684e-05/0.3484, allocations: 27.92 kB / 1.077 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.3484, allocations: 12 kB / 1.077 GB, free: 1.016 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007088/0.3491, allocations: 451.6 kB / 1.078 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00178/0.3509, allocations: 1.297 MB / 1.079 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006861/0.3516, allocations: 422.2 kB / 1.079 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002872/0.3519, allocations: 188.6 kB / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.3519, allocations: 7.984 kB / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000502/0.3524, allocations: 318.8 kB / 1.08 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=36): time 2.935e-06/0.3524, allocations: 7.922 kB / 1.08 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36): time 0.001072/0.3535, allocations: 0.6393 MB / 1.08 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.3536, allocations: 59.41 kB / 1.08 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002797/0.3538, allocations: 326.3 kB / 1.081 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.795e-05/0.3539, allocations: 41.7 kB / 1.081 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.3541, allocations: 236.9 kB / 1.081 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.255e-05/0.3541, allocations: 82.84 kB / 1.081 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/0.3543, allocations: 130 kB / 1.081 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.3545, allocations: 338.8 kB / 1.081 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004405/0.3549, allocations: 276.1 kB / 1.082 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004877/0.3554, allocations: 348 kB / 1.082 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006436/0.3561, allocations: 448.9 kB / 1.082 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3561, allocations: 0 / 1.082 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001089/0.3572, allocations: 0.6809 MB / 1.083 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.143e-05/0.3572, allocations: 71.39 kB / 1.083 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.3572, allocations: 0 / 1.083 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.3573, allocations: 4 kB / 1.083 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.3574, allocations: 43.89 kB / 1.083 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/0.3575, allocations: 4 kB / 1.083 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004737/0.3579, allocations: 115.8 kB / 1.083 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.322e-05/0.358, allocations: 15.98 kB / 1.083 GB, free: 10.33 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.0002675/0.3583, allocations: 252.2 kB / 1.084 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.352e-05/0.3583, allocations: 27.62 kB / 1.084 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.194e-05/0.3584, allocations: 46.95 kB / 1.084 GB, free: 10 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3584, allocations: 4 kB / 1.084 GB, free: 10 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.3584, allocations: 4 kB / 1.084 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.3584, allocations: 3.984 kB / 1.084 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001505/0.3599, allocations: 1.104 MB / 1.085 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.36, allocations: 0 / 1.085 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.3601, allocations: 39.89 kB / 1.085 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.3602, allocations: 0 / 1.085 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.06e-05/0.3602, allocations: 11.98 kB / 1.085 GB, free: 8.773 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.3602, allocations: 3.938 kB / 1.085 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.3602, allocations: 0 / 1.085 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.3614, allocations: 0.7776 MB / 1.086 GB, free: 7.977 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.41e-05/0.3615, allocations: 108.7 kB / 1.086 GB, free: 7.852 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.567e-05/0.3615, allocations: 11.92 kB / 1.086 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.3617, allocations: 39.89 kB / 1.086 GB, free: 7.801 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.3618, allocations: 47.94 kB / 1.086 GB, free: 7.754 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.361e-05/0.3618, allocations: 20.05 kB / 1.086 GB, free: 7.734 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001902/0.362, allocations: 209.9 kB / 1.086 GB, free: 7.527 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.362, allocations: 3.938 kB / 1.086 GB, free: 7.523 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003906/0.3624, allocations: 119.5 kB / 1.086 GB, free: 7.406 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.0001614/0.3626, allocations: 125.9 kB / 1.086 GB, free: 7.273 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001101/0.3637, allocations: 0.7094 MB / 1.087 GB, free: 6.539 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3637, allocations: 4 kB / 1.087 GB, free: 6.535 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003613/0.3641, allocations: 227.7 kB / 1.087 GB, free: 6.312 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006352/0.3647, allocations: 142.1 kB / 1.087 GB, free: 6.18 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001684/0.3664, allocations: 1.051 MB / 1.088 GB, free: 5.102 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005671/0.367, allocations: 0.8774 MB / 1.089 GB, free: 4.191 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002078/0.3672, allocations: 83.22 kB / 1.089 GB, free: 4.105 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.114e-05/0.3673, allocations: 35.42 kB / 1.089 GB, free: 4.074 MB / 0.8419 GB Notification: Performance of SimCode: time 3.6e-07/0.3673, allocations: 0 / 1.089 GB, free: 4.074 MB / 0.8419 GB Notification: Performance of Templates: time 0.01109/0.3784, allocations: 6.308 MB / 1.095 GB, free: 13.86 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)