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.001507/0.001507, 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.00174/0.001741, allocations: 197.9 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.52/1.52, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.948/2.948, allocations: 472.6 MB / 0.7447 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 63.33 kB / 0.9114 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3887/0.3902, 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.003815/0.394, allocations: 1.979 MB / 1.069 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003027/0.3971, allocations: 1.954 MB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002575/0.3973, allocations: 23.88 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003486/0.3977, allocations: 119.2 kB / 1.072 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.965e-05/0.3978, allocations: 23.8 kB / 1.072 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007789/0.3986, allocations: 314.9 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007588/0.3994, allocations: 0.7111 MB / 1.073 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006472/0.4, allocations: 463.9 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002138/0.4002, allocations: 207.2 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002654/0.4005, allocations: 223 kB / 1.073 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.268e-05/0.4006, allocations: 32 kB / 1.073 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.4007, allocations: 43.98 kB / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.4009, allocations: 115.5 kB / 1.074 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000265/0.4011, allocations: 234.7 kB / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007998/0.4019, allocations: 0.7672 MB / 1.075 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.402, allocations: 0 / 1.075 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.91e-07/0.402, allocations: 3.938 kB / 1.075 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.402, allocations: 4 kB / 1.075 GB, free: 3.637 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.001544/0.4035, allocations: 0.901 MB / 1.075 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.4036, allocations: 8.031 kB / 1.075 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001446/0.4037, allocations: 60.28 kB / 1.075 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008243/0.4046, allocations: 476 kB / 1.076 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.648e-05/0.4046, allocations: 37.38 kB / 1.076 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.53e-05/0.4047, allocations: 60.38 kB / 1.076 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009844/0.4057, allocations: 0.5418 MB / 1.077 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.4057, allocations: 192 / 1.077 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.604e-05/0.4058, allocations: 23.88 kB / 1.077 GB, free: 1.441 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.4058, allocations: 8 kB / 1.077 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008381/0.4067, allocations: 459.6 kB / 1.077 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001991/0.4087, allocations: 1.297 MB / 1.078 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007467/0.4094, allocations: 426.2 kB / 1.079 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003074/0.4097, allocations: 188.6 kB / 1.079 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.4098, allocations: 8 kB / 1.079 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005051/0.4103, allocations: 318.7 kB / 1.079 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=36): time 1.593e-06/0.4103, allocations: 0 / 1.079 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36): time 0.001295/0.4116, allocations: 0.6393 MB / 1.08 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.4117, allocations: 63.39 kB / 1.08 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003949/0.4121, allocations: 318.4 kB / 1.08 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.008e-05/0.4121, allocations: 41.7 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.4123, allocations: 236.9 kB / 1.08 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.32e-05/0.4124, allocations: 78.91 kB / 1.081 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001978/0.4126, allocations: 126 kB / 1.081 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.4128, allocations: 354.7 kB / 1.081 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004785/0.4132, allocations: 268.1 kB / 1.081 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005809/0.4138, allocations: 348 kB / 1.082 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007017/0.4145, allocations: 452.9 kB / 1.082 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.4146, allocations: 0 / 1.082 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001201/0.4158, allocations: 0.6845 MB / 1.083 GB, free: 11 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001506/0.4159, allocations: 64.81 kB / 1.083 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.4159, allocations: 0 / 1.083 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.416, allocations: 4 kB / 1.083 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.4162, allocations: 47.88 kB / 1.083 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.4162, allocations: 4.125 kB / 1.083 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004795/0.4167, allocations: 107.7 kB / 1.083 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-05/0.4167, 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.0003262/0.4171, allocations: 256.2 kB / 1.083 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.409e-05/0.4171, allocations: 31.62 kB / 1.083 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.04e-05/0.4172, allocations: 42.95 kB / 1.083 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.4172, allocations: 4 kB / 1.083 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.4172, allocations: 4 kB / 1.083 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.4172, allocations: 3.984 kB / 1.083 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/0.4188, allocations: 1.104 MB / 1.084 GB, free: 9.238 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4188, allocations: 4 kB / 1.084 GB, free: 9.234 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.419, allocations: 35.89 kB / 1.084 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.419, allocations: 4 kB / 1.084 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.966e-05/0.4191, allocations: 11.98 kB / 1.084 GB, free: 9.184 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.4191, allocations: 3.938 kB / 1.084 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4191, allocations: 0 / 1.084 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.4204, allocations: 0.7776 MB / 1.085 GB, free: 8.387 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.155e-05/0.4205, allocations: 112.6 kB / 1.085 GB, free: 8.258 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.593e-05/0.4205, allocations: 8 kB / 1.085 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.4207, allocations: 35.89 kB / 1.085 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.4209, allocations: 59.98 kB / 1.085 GB, free: 8.156 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.243e-05/0.4209, allocations: 12 kB / 1.085 GB, free: 8.145 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000192/0.4211, 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.4211, allocations: 0 / 1.086 GB, free: 7.938 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003947/0.4215, 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.0002839/0.4218, allocations: 129.8 kB / 1.086 GB, free: 7.684 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001078/0.4229, allocations: 0.6587 MB / 1.086 GB, free: 7 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.4229, allocations: 4 kB / 1.086 GB, free: 6.996 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004617/0.4234, 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.0006702/0.4241, allocations: 136.1 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.001558/0.4256, allocations: 1.045 MB / 1.088 GB, free: 5.574 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004714/0.4261, allocations: 0.8933 MB / 1.089 GB, free: 4.648 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002017/0.4263, allocations: 75.17 kB / 1.089 GB, free: 4.57 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.135e-05/0.4264, allocations: 35.42 kB / 1.089 GB, free: 4.539 MB / 0.8419 GB Notification: Performance of SimCode: time 5.41e-07/0.4264, allocations: 4 kB / 1.089 GB, free: 4.535 MB / 0.8419 GB Notification: Performance of Templates: time 0.01312/0.4396, allocations: 6.044 MB / 1.095 GB, free: 14.57 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)