Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure.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.Generic.Validation.ControlDifferentialPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure") translateModel(Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000904/0.0009098, allocations: 91.84 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.008248/0.008249, allocations: 170 kB / 16.26 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.52/1.52, allocations: 223.2 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.05/3.05, allocations: 473.4 MB / 0.7469 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003978/0.0003982, allocations: 8.969 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3954, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure): time 0.007154/0.4025, allocations: 4.924 MB / 1.079 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005666/0.4082, allocations: 2.556 MB / 1.081 GB, free: 40 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001544/0.4098, allocations: 31.88 kB / 1.081 GB, free: 8 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.411, allocations: 274.6 kB / 1.082 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00104/0.4121, allocations: 211.1 kB / 1.082 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001796/0.4139, allocations: 0.5012 MB / 1.082 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00248/0.4164, allocations: 1.695 MB / 1.084 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001689/0.4181, allocations: 1.199 MB / 1.085 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009942/0.4191, allocations: 453.7 kB / 1.086 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006101/0.4197, allocations: 481.1 kB / 1.086 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.4198, allocations: 36 kB / 1.086 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003338/0.4202, allocations: 103.9 kB / 1.086 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003638/0.4205, allocations: 330.6 kB / 1.087 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0008033/0.4214, allocations: 0.5643 MB / 1.087 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002428/0.4238, allocations: 2.449 MB / 1.09 GB, free: 7.688 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.4238, allocations: 0 / 1.09 GB, free: 7.688 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.884e-06/0.4238, allocations: 7.938 kB / 1.09 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.066e-05/0.4239, allocations: 0 / 1.09 GB, free: 7.68 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003025/0.4269, allocations: 1.581 MB / 1.091 GB, free: 6.043 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.4269, allocations: 12.03 kB / 1.091 GB, free: 6.031 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002768/0.4272, allocations: 159 kB / 1.091 GB, free: 5.875 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002071/0.4293, allocations: 1.153 MB / 1.092 GB, free: 4.668 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.603e-05/0.4294, allocations: 86.36 kB / 1.092 GB, free: 4.582 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003475/0.4297, allocations: 111.9 kB / 1.093 GB, free: 4.473 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002401/0.4322, allocations: 1.377 MB / 1.094 GB, free: 3.078 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.4322, allocations: 0 / 1.094 GB, free: 3.078 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.662e-05/0.4323, allocations: 39.98 kB / 1.094 GB, free: 3.039 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.22e-05/0.4323, allocations: 31.94 kB / 1.094 GB, free: 3.008 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002484/0.4348, allocations: 1.183 MB / 1.095 GB, free: 1.824 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00708/0.4419, allocations: 4.158 MB / 1.099 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002918/0.4448, allocations: 1.543 MB / 1.101 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00101/0.4459, allocations: 0.5867 MB / 1.101 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.263e-05/0.4459, allocations: 16.53 kB / 1.101 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001086/0.447, allocations: 0.594 MB / 1.102 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=76): time 5.601e-06/0.447, allocations: 0 / 1.102 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of matching and sorting (n=76): time 0.003111/0.4502, allocations: 1.445 MB / 1.103 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.4503, allocations: 137.2 kB / 1.103 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001737/0.452, allocations: 1.227 MB / 1.105 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.75e-05/0.4521, allocations: 49.7 kB / 1.105 GB, free: 7.82 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007649/0.4529, allocations: 0.5704 MB / 1.105 GB, free: 7.242 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003523/0.4533, allocations: 236.6 kB / 1.105 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002114/0.4535, allocations: 93.66 kB / 1.106 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.4537, allocations: 345.8 kB / 1.106 GB, free: 6.566 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008116/0.4545, allocations: 445.7 kB / 1.106 GB, free: 6.129 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/0.4558, allocations: 0.8205 MB / 1.107 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00164/0.4574, allocations: 0.966 MB / 1.108 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.4574, allocations: 4 kB / 1.108 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002379/0.4598, allocations: 1.175 MB / 1.109 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002077/0.46, allocations: 187.6 kB / 1.109 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.4601, allocations: 0 / 1.109 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.4601, allocations: 8 kB / 1.109 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006902/0.4608, allocations: 175.7 kB / 1.11 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.572e-05/0.4608, allocations: 15.98 kB / 1.11 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.4619, allocations: 153.2 kB / 1.11 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.14e-05/0.462, allocations: 35.98 kB / 1.11 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.765e-06/0.462, allocations: 4 kB / 1.11 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001512/0.4635, allocations: 0.9485 MB / 1.111 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.4635, allocations: 8.312 kB / 1.111 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.917e-06/0.4635, allocations: 8 kB / 1.111 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005717/0.4641, allocations: 159.8 kB / 1.111 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.4641, allocations: 11.94 kB / 1.111 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009405/0.4651, allocations: 130.2 kB / 1.111 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.223e-05/0.4652, allocations: 36 kB / 1.111 GB, free: 1.117 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.ratDp.tab.nextTimeEvent,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,ctlDpLoc.repEna.y[2],ctlDpLoc.y1_actual[1],ctlDpRem.repEna.y[2],y1Pum.intTimTab.idx,$PRE.y1Pum.intTimTab.idx,y1Pum.intTimTab.y[2],$PRE.y1Pum.intTimTab.y[2],y1Pum.intTimTab.y[1],$PRE.y1Pum.intTimTab.y[1],y1Pum.y[2],ratDp.tab.nextTimeEventScaled,$PRE.ratDp.tab.nextTimeEventScaled,ratDp.tab.nextTimeEvent,$whenCondition6,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * 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.0009158/0.4661, allocations: 0.5654 MB / 1.112 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/0.4662, allocations: 102.7 kB / 1.112 GB, free: 452 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002311/0.4686, allocations: 1.113 MB / 1.113 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.4686, allocations: 8 kB / 1.113 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.4686, allocations: 0 / 1.113 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/0.4686, allocations: 3.984 kB / 1.113 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00428/0.4729, allocations: 2.564 MB / 1.115 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.4729, allocations: 0 / 1.115 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005622/0.4735, allocations: 139.8 kB / 1.115 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-06/0.4735, allocations: 3.984 kB / 1.115 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.524e-05/0.4736, allocations: 27.92 kB / 1.115 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.4736, allocations: 4 kB / 1.115 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.4736, allocations: 3.938 kB / 1.115 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003053/0.4766, allocations: 1.747 MB / 1.117 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002924/0.4769, allocations: 207.7 kB / 1.117 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.4771, allocations: 16 kB / 1.117 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004949/0.4776, allocations: 67.92 kB / 1.117 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.4777, allocations: 48.53 kB / 1.117 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.552e-05/0.4778, allocations: 31.98 kB / 1.117 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001149/0.4789, allocations: 0.8213 MB / 1.118 GB, free: 9.527 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.81e-07/0.4789, allocations: 0 / 1.118 GB, free: 9.527 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001314/0.4802, allocations: 450 kB / 1.119 GB, free: 9.086 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (ctlDpRem.ctlDpRem[1].conPID.I.y,ctlDpRem.ctlDpRem[2].conPID.I.y,ctlDpLoc.ctlDpLoc.conPID.I.y) * Number of discrete variables: 16 (ctlDpRem.repEna.y[2],ctlDpLoc.repEna.y[2],$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,ratDp.tab.nextTimeEvent,ratDp.tab.nextTimeEventScaled,y1Pum.y[2],y1Pum.intTimTab.y[1],y1Pum.intTimTab.y[2],y1Pum.intTimTab.idx,ctlDpLoc.y1_actual[1]) * Number of discrete states: 2 (ratDp.tab.nextTimeEvent,ratDp.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001194/0.4815, allocations: 451.4 kB / 1.119 GB, free: 8.793 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002821/0.4843, allocations: 1.513 MB / 1.121 GB, free: 7.277 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/0.4843, allocations: 4 kB / 1.121 GB, free: 7.273 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008497/0.4852, allocations: 0.4998 MB / 1.121 GB, free: 6.777 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.4865, allocations: 252.4 kB / 1.121 GB, free: 6.531 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004344/0.4908, allocations: 2.978 MB / 1.124 GB, free: 3.52 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009771/0.4918, allocations: 1.345 MB / 1.126 GB, free: 2.145 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.00102/0.4928, allocations: 377.5 kB / 1.126 GB, free: 1.773 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002586/0.4931, allocations: 83.42 kB / 1.126 GB, free: 1.691 MB / 0.8731 GB Notification: Performance of SimCode: time 9.91e-07/0.4931, allocations: 0 / 1.126 GB, free: 1.691 MB / 0.8731 GB Notification: Performance of Templates: time 0.02737/0.5205, allocations: 14.66 MB / 1.14 GB, free: 3.215 MB / 0.8887 GB make -j1 -f Buildings_1.6_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure.makefile (rm -f Buildings_1.6_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure.pipe ; mkfifo Buildings_1.6_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure.pipe >> ../files/Buildings_1.6_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure.sim & ./Buildings_1.6_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure.pipe 2>&1)