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.001041/0.001041, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.009886/0.009886, allocations: 172.2 kB / 16.27 MB, free: 6.652 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.599/1.599, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.993/2.993, allocations: 473.4 MB / 0.7469 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003963/0.0003963, allocations: 8.25 kB / 0.9158 GB, free: 33.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4049, allocations: 162.2 MB / 1.074 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered): time 0.002496/0.4074, allocations: 1.578 MB / 1.076 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003107/0.4105, allocations: 1.946 MB / 1.078 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004207/0.411, allocations: 19.88 kB / 1.078 GB, free: 4 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003101/0.4113, allocations: 115.2 kB / 1.078 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.4114, allocations: 19.84 kB / 1.078 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007861/0.4122, allocations: 311 kB / 1.078 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006649/0.4129, allocations: 0.7227 MB / 1.079 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006052/0.4135, allocations: 443.9 kB / 1.079 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001904/0.4137, allocations: 163.3 kB / 1.079 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/0.4139, allocations: 175 kB / 1.079 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.85e-05/0.414, allocations: 20 kB / 1.08 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.737e-05/0.4141, allocations: 31.97 kB / 1.08 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.915e-05/0.4142, allocations: 91.56 kB / 1.08 GB, free: 1.926 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002258/0.4144, allocations: 228.4 kB / 1.08 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000651/0.4151, allocations: 0.7436 MB / 1.081 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4151, allocations: 0 / 1.081 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4151, allocations: 0 / 1.081 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.126e-05/0.4151, allocations: 0 / 1.081 GB, free: 0.9492 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.001249/0.4164, allocations: 0.7997 MB / 1.081 GB, free: 88 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.4164, allocations: 16.03 kB / 1.081 GB, free: 72 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.4166, allocations: 56.38 kB / 1.081 GB, free: 16 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006743/0.4173, allocations: 475.9 kB / 1.082 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.108e-05/0.4173, allocations: 41.36 kB / 1.082 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.4174, allocations: 52.38 kB / 1.082 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009267/0.4184, allocations: 0.5496 MB / 1.082 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.4184, allocations: 4.188 kB / 1.083 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.917e-05/0.4184, allocations: 23.94 kB / 1.083 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.4185, allocations: 12 kB / 1.083 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007568/0.4192, allocations: 475.6 kB / 1.083 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001805/0.421, allocations: 1.297 MB / 1.084 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007677/0.4218, allocations: 442.2 kB / 1.085 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003259/0.4221, allocations: 192.6 kB / 1.085 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.4222, allocations: 7.984 kB / 1.085 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005379/0.4227, allocations: 326.9 kB / 1.085 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=36): time 1.984e-06/0.4227, allocations: 0 / 1.085 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36): time 0.001276/0.424, allocations: 0.6666 MB / 1.086 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.4241, allocations: 59.41 kB / 1.086 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003483/0.4244, allocations: 326.3 kB / 1.086 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.724e-05/0.4245, allocations: 37.7 kB / 1.086 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.4247, allocations: 237 kB / 1.086 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.453e-05/0.4248, allocations: 82.89 kB / 1.087 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.4249, allocations: 77.67 kB / 1.087 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.425, allocations: 342.8 kB / 1.087 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005273/0.4256, allocations: 284.1 kB / 1.087 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005526/0.4261, allocations: 364 kB / 1.088 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007211/0.4269, allocations: 460.9 kB / 1.088 GB, free: 9.047 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.4269, allocations: 0 / 1.088 GB, free: 9.047 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001162/0.4281, allocations: 0.7046 MB / 1.089 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.96e-05/0.4281, allocations: 67.39 kB / 1.089 GB, free: 8.246 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.4281, allocations: 4 kB / 1.089 GB, free: 8.242 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.4282, allocations: 0 / 1.089 GB, free: 8.242 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/0.4284, allocations: 52.02 kB / 1.089 GB, free: 8.191 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.4284, allocations: 4 kB / 1.089 GB, free: 8.188 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005312/0.429, allocations: 135.6 kB / 1.089 GB, free: 8.055 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.034e-05/0.429, allocations: 15.98 kB / 1.089 GB, free: 8.039 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.0003082/0.4293, allocations: 260.2 kB / 1.089 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.254e-05/0.4294, allocations: 27.62 kB / 1.089 GB, free: 7.746 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.586e-05/0.4295, allocations: 42.95 kB / 1.089 GB, free: 7.707 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.4295, allocations: 4 kB / 1.089 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.4295, allocations: 0 / 1.089 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.4295, allocations: 3.984 kB / 1.089 GB, free: 7.699 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001583/0.4311, allocations: 1.116 MB / 1.09 GB, free: 6.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4311, allocations: 0 / 1.09 GB, free: 6.52 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.4313, allocations: 39.95 kB / 1.09 GB, free: 6.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.4313, allocations: 4 kB / 1.09 GB, free: 6.477 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.729e-05/0.4313, allocations: 8 kB / 1.09 GB, free: 6.469 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.4313, allocations: 7.922 kB / 1.09 GB, free: 6.461 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4314, allocations: 0 / 1.09 GB, free: 6.461 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.4326, allocations: 0.8049 MB / 1.091 GB, free: 5.641 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.605e-05/0.4327, allocations: 112.8 kB / 1.091 GB, free: 5.512 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.974e-05/0.4327, allocations: 15.98 kB / 1.091 GB, free: 5.496 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.4329, allocations: 39.89 kB / 1.091 GB, free: 5.457 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.433, allocations: 51.92 kB / 1.091 GB, free: 5.406 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-05/0.4331, allocations: 12 kB / 1.091 GB, free: 5.395 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002113/0.4333, allocations: 205.9 kB / 1.092 GB, free: 5.191 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4333, allocations: 3.938 kB / 1.092 GB, free: 5.188 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003834/0.4337, allocations: 123.5 kB / 1.092 GB, free: 5.066 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.0001751/0.4339, allocations: 129.8 kB / 1.092 GB, free: 4.93 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001051/0.4349, allocations: 0.6822 MB / 1.093 GB, free: 4.223 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4349, allocations: 0 / 1.093 GB, free: 4.223 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004026/0.4353, allocations: 244 kB / 1.093 GB, free: 3.984 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006752/0.436, allocations: 126.3 kB / 1.093 GB, free: 3.863 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.4376, allocations: 1.075 MB / 1.094 GB, free: 2.762 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004682/0.438, allocations: 0.8894 MB / 1.095 GB, free: 1.84 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002067/0.4382, allocations: 87.14 kB / 1.095 GB, free: 1.754 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.524e-05/0.4383, allocations: 27.44 kB / 1.095 GB, free: 1.73 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.4383, allocations: 4 kB / 1.095 GB, free: 1.727 MB / 0.8419 GB Notification: Performance of Templates: time 0.0106/0.4489, allocations: 5.992 MB / 1.101 GB, free: 11.82 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)