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.001118/0.001118, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001161/0.001161, allocations: 199.1 kB / 16.26 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.385/1.385, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.8/2.8, allocations: 472.6 MB / 0.7448 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 60.03 kB / 0.9115 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3124, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Primary.Validation.EnableLeadHeadered): time 0.003231/0.3157, allocations: 1.995 MB / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002917/0.3186, allocations: 1.93 MB / 1.072 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003137/0.3189, allocations: 23.88 kB / 1.072 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003412/0.3193, allocations: 119.2 kB / 1.072 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.3195, allocations: 23.84 kB / 1.072 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008404/0.3203, allocations: 306.5 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007561/0.3211, allocations: 0.7931 MB / 1.073 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000641/0.3217, allocations: 471.9 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002382/0.322, allocations: 255.3 kB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002721/0.3222, allocations: 251 kB / 1.074 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.79e-05/0.3223, allocations: 64 kB / 1.074 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000203/0.3225, allocations: 79.98 kB / 1.074 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.3227, allocations: 143.5 kB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003274/0.323, allocations: 274.7 kB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007303/0.3237, allocations: 0.7984 MB / 1.075 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.3238, allocations: 3.984 kB / 1.075 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.815e-06/0.3238, allocations: 4 kB / 1.075 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.3238, allocations: 3.938 kB / 1.075 GB, free: 3.27 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.001733/0.3255, allocations: 0.901 MB / 1.076 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.864e-05/0.3256, allocations: 8.031 kB / 1.076 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.3258, allocations: 60.28 kB / 1.076 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000774/0.3265, allocations: 472 kB / 1.076 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.96e-05/0.3266, allocations: 45.36 kB / 1.076 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.3267, allocations: 56.38 kB / 1.077 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.3278, allocations: 0.5379 MB / 1.077 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.3278, allocations: 192 / 1.077 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.036e-05/0.3278, allocations: 19.94 kB / 1.077 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.3279, allocations: 12 kB / 1.077 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007794/0.3287, allocations: 463.6 kB / 1.078 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002052/0.3307, allocations: 1.297 MB / 1.079 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007708/0.3315, allocations: 430.1 kB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003115/0.3318, allocations: 184.6 kB / 1.079 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.126e-05/0.3319, allocations: 4 kB / 1.079 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005809/0.3325, allocations: 322.8 kB / 1.08 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=36): time 2.224e-06/0.3325, allocations: 3.938 kB / 1.08 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36): time 0.001451/0.3339, allocations: 0.6393 MB / 1.08 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.334, allocations: 55.41 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003699/0.3344, allocations: 326.4 kB / 1.081 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.391e-05/0.3344, allocations: 37.7 kB / 1.081 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.3346, allocations: 232.9 kB / 1.081 GB, free: 13 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.591e-05/0.3347, allocations: 86.89 kB / 1.081 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001878/0.3349, allocations: 130 kB / 1.081 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.3351, allocations: 342.8 kB / 1.081 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004534/0.3355, allocations: 272 kB / 1.082 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005175/0.3361, allocations: 352 kB / 1.082 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000658/0.3367, allocations: 440.9 kB / 1.082 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.3367, allocations: 4 kB / 1.082 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001127/0.3379, allocations: 0.6887 MB / 1.083 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.781e-05/0.3379, allocations: 63.39 kB / 1.083 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.338, allocations: 0 / 1.083 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.338, allocations: 4 kB / 1.083 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.3382, allocations: 52.02 kB / 1.083 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/0.3382, allocations: 0 / 1.083 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004849/0.3387, allocations: 107.6 kB / 1.083 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.408e-05/0.3388, allocations: 19.98 kB / 1.083 GB, free: 10.38 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.0002823/0.339, allocations: 261.9 kB / 1.084 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/0.3391, allocations: 27.62 kB / 1.084 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.964e-05/0.3392, allocations: 42.95 kB / 1.084 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.3392, allocations: 4 kB / 1.084 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.3392, allocations: 4 kB / 1.084 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.3392, allocations: 0 / 1.084 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/0.3407, allocations: 1.104 MB / 1.085 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.3408, allocations: 0 / 1.085 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/0.3409, allocations: 43.94 kB / 1.085 GB, free: 8.832 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.341, allocations: 3.938 kB / 1.085 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.851e-05/0.341, allocations: 8.047 kB / 1.085 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.341, allocations: 3.938 kB / 1.085 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.341, allocations: 7.984 kB / 1.085 GB, free: 8.809 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.3422, allocations: 0.7815 MB / 1.086 GB, free: 8.012 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.397e-05/0.3423, allocations: 104.7 kB / 1.086 GB, free: 7.891 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5e-05/0.3424, allocations: 15.92 kB / 1.086 GB, free: 7.875 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.3425, allocations: 35.95 kB / 1.086 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.3427, allocations: 51.94 kB / 1.086 GB, free: 7.789 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.319e-05/0.3427, allocations: 15.98 kB / 1.086 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002076/0.3429, allocations: 205.9 kB / 1.086 GB, free: 7.57 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3429, allocations: 0 / 1.086 GB, free: 7.57 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004224/0.3434, allocations: 123.5 kB / 1.086 GB, free: 7.449 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.0002147/0.3436, allocations: 129.8 kB / 1.086 GB, free: 7.312 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001343/0.3449, allocations: 0.7055 MB / 1.087 GB, free: 6.582 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.259e-06/0.345, allocations: 0 / 1.087 GB, free: 6.582 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004595/0.3454, allocations: 235.7 kB / 1.087 GB, free: 6.352 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007672/0.3462, allocations: 136.2 kB / 1.087 GB, free: 6.227 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/0.3484, allocations: 1.047 MB / 1.088 GB, free: 5.152 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007456/0.3491, allocations: 0.8931 MB / 1.089 GB, free: 4.227 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003091/0.3494, allocations: 83.14 kB / 1.089 GB, free: 4.141 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.3496, allocations: 31.44 kB / 1.089 GB, free: 4.113 MB / 0.8419 GB Notification: Performance of SimCode: time 1.062e-06/0.3496, allocations: 0 / 1.089 GB, free: 4.113 MB / 0.8419 GB Notification: Performance of Templates: time 0.01246/0.362, allocations: 6.304 MB / 1.095 GB, free: 13.9 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)