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.001274/0.001274, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.01348/0.01348, allocations: 176.2 kB / 16.27 MB, free: 6.613 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.556/1.556, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.039/3.039, allocations: 473.4 MB / 0.7469 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004367/0.0004367, allocations: 9.281 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4044/0.4048, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered): time 0.002703/0.4076, allocations: 1.578 MB / 1.076 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003106/0.4107, allocations: 1.946 MB / 1.078 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000424/0.4112, allocations: 23.81 kB / 1.078 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003341/0.4115, allocations: 111.3 kB / 1.078 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.4116, allocations: 15.86 kB / 1.078 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008665/0.4125, allocations: 314.9 kB / 1.078 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007166/0.4132, allocations: 0.7151 MB / 1.079 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000598/0.4138, allocations: 443.9 kB / 1.079 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/0.4141, allocations: 167.3 kB / 1.079 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002365/0.4143, allocations: 179 kB / 1.079 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.829e-05/0.4144, allocations: 16 kB / 1.08 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.888e-05/0.4145, allocations: 31.98 kB / 1.08 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.064e-05/0.4146, allocations: 87.62 kB / 1.08 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002332/0.4148, allocations: 228.4 kB / 1.08 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006685/0.4155, allocations: 0.7475 MB / 1.081 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4155, allocations: 3.938 kB / 1.081 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4155, allocations: 0 / 1.081 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.645e-06/0.4155, allocations: 0 / 1.081 GB, free: 0.9336 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.001369/0.4169, allocations: 0.7958 MB / 1.081 GB, free: 76 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.4169, allocations: 16.03 kB / 1.081 GB, free: 60 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/0.4171, allocations: 56.38 kB / 1.081 GB, free: 4 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006927/0.4178, allocations: 472 kB / 1.082 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.463e-05/0.4178, allocations: 41.36 kB / 1.082 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.4179, allocations: 52.38 kB / 1.082 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000992/0.4189, allocations: 0.5573 MB / 1.082 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.419, allocations: 192 / 1.082 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.428e-05/0.419, allocations: 23.94 kB / 1.083 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.419, allocations: 8 kB / 1.083 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007972/0.4198, allocations: 471.6 kB / 1.083 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00201/0.4219, allocations: 1.301 MB / 1.084 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007771/0.4227, allocations: 446.2 kB / 1.085 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003269/0.423, allocations: 196.6 kB / 1.085 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/0.423, allocations: 4 kB / 1.085 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005331/0.4236, allocations: 330.9 kB / 1.085 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=36): time 1.824e-06/0.4236, allocations: 0 / 1.085 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36): time 0.001264/0.4249, allocations: 0.6588 MB / 1.086 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.4249, allocations: 63.34 kB / 1.086 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003391/0.4253, allocations: 330.3 kB / 1.086 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.573e-05/0.4253, allocations: 45.62 kB / 1.086 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.4255, allocations: 229 kB / 1.086 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.821e-05/0.4256, allocations: 82.89 kB / 1.087 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.4257, allocations: 77.67 kB / 1.087 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.4259, allocations: 338.8 kB / 1.087 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005003/0.4264, allocations: 284.1 kB / 1.087 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005941/0.427, allocations: 360 kB / 1.088 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007802/0.4278, allocations: 460.9 kB / 1.088 GB, free: 9.039 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.4278, allocations: 3.984 kB / 1.088 GB, free: 9.035 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001239/0.429, allocations: 0.7007 MB / 1.089 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.519e-05/0.4291, allocations: 68.48 kB / 1.089 GB, free: 8.238 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.4291, allocations: 7.984 kB / 1.089 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.4291, allocations: 0 / 1.089 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.4294, allocations: 52.02 kB / 1.089 GB, free: 8.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.4294, allocations: 4 kB / 1.089 GB, free: 8.176 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005409/0.4299, allocations: 137.5 kB / 1.089 GB, free: 8.043 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-05/0.43, allocations: 15.98 kB / 1.089 GB, free: 8.027 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.0003446/0.4303, allocations: 256.2 kB / 1.089 GB, free: 7.766 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.704e-05/0.4304, allocations: 31.62 kB / 1.089 GB, free: 7.734 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/0.4305, allocations: 42.95 kB / 1.089 GB, free: 7.695 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.4305, allocations: 4 kB / 1.089 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.4305, allocations: 0 / 1.089 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.4305, allocations: 7.922 kB / 1.089 GB, free: 7.684 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.4322, allocations: 1.116 MB / 1.09 GB, free: 6.504 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.4322, allocations: 0 / 1.09 GB, free: 6.504 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.4324, allocations: 43.89 kB / 1.09 GB, free: 6.461 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.4324, allocations: 4 kB / 1.09 GB, free: 6.457 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.265e-05/0.4325, allocations: 11.98 kB / 1.09 GB, free: 6.445 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.4325, allocations: 7.875 kB / 1.09 GB, free: 6.438 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4325, allocations: 0 / 1.09 GB, free: 6.438 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/0.4338, allocations: 0.801 MB / 1.091 GB, free: 5.621 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.893e-05/0.4339, allocations: 108.8 kB / 1.091 GB, free: 5.496 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.855e-05/0.4339, allocations: 15.98 kB / 1.091 GB, free: 5.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.4341, allocations: 39.89 kB / 1.091 GB, free: 5.441 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.4343, allocations: 55.86 kB / 1.091 GB, free: 5.387 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.091e-05/0.4343, allocations: 12 kB / 1.091 GB, free: 5.375 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002001/0.4345, allocations: 205.9 kB / 1.092 GB, free: 5.172 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4345, allocations: 0 / 1.092 GB, free: 5.172 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004196/0.4349, allocations: 119.5 kB / 1.092 GB, free: 5.055 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.000214/0.4351, allocations: 133.8 kB / 1.092 GB, free: 4.914 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001122/0.4363, allocations: 0.6783 MB / 1.093 GB, free: 4.211 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.4363, allocations: 3.938 kB / 1.093 GB, free: 4.207 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004329/0.4367, allocations: 240 kB / 1.093 GB, free: 3.973 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007016/0.4374, allocations: 127.8 kB / 1.093 GB, free: 3.852 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.4391, allocations: 1.071 MB / 1.094 GB, free: 2.754 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005664/0.4397, allocations: 0.8894 MB / 1.095 GB, free: 1.832 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002058/0.4399, allocations: 83.16 kB / 1.095 GB, free: 1.75 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.44, allocations: 27.44 kB / 1.095 GB, free: 1.727 MB / 0.8419 GB Notification: Performance of SimCode: time 7.81e-07/0.44, allocations: 4 kB / 1.095 GB, free: 1.723 MB / 0.8419 GB Notification: Performance of Templates: time 0.01158/0.4516, allocations: 6 MB / 1.101 GB, free: 11.8 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)