Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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_latest_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_latest_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.001202/0.001202, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001878/0.001879, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.553/1.553, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.165/3.165, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003895/0.0003895, allocations: 13.64 kB / 0.9021 GB, free: 36.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.3999, allocations: 159.6 MB / 1.058 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure): time 0.006015/0.406, allocations: 4.607 MB / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004888/0.4109, allocations: 2.487 MB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001148/0.4121, allocations: 27.88 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0008021/0.4129, allocations: 254.7 kB / 1.065 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004882/0.4134, allocations: 179.1 kB / 1.065 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.4146, allocations: 390.2 kB / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001634/0.4162, allocations: 1.551 MB / 1.067 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009157/0.4171, allocations: 0.7325 MB / 1.068 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006851/0.4178, allocations: 429.9 kB / 1.068 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005713/0.4184, allocations: 457.4 kB / 1.069 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.4185, allocations: 32 kB / 1.069 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003098/0.4188, allocations: 95.89 kB / 1.069 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003459/0.4192, allocations: 322.8 kB / 1.069 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002152/0.4194, allocations: 249 kB / 1.07 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001842/0.4213, allocations: 2.147 MB / 1.072 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.4213, allocations: 0 / 1.072 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4213, allocations: 0 / 1.072 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.259e-05/0.4213, allocations: 0 / 1.072 GB, free: 7.363 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002881/0.4242, allocations: 1.608 MB / 1.073 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.4243, allocations: 8.031 kB / 1.073 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002877/0.4246, allocations: 158.1 kB / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001782/0.4264, allocations: 1.113 MB / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.953e-05/0.4265, allocations: 86 kB / 1.075 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001742/0.4266, allocations: 107.9 kB / 1.075 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002314/0.429, allocations: 1.369 MB / 1.076 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.429, allocations: 0 / 1.076 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.183e-05/0.4291, allocations: 40 kB / 1.076 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/0.4291, allocations: 24 kB / 1.076 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002026/0.4311, allocations: 1.175 MB / 1.077 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006534/0.4377, allocations: 4.15 MB / 1.081 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002262/0.44, allocations: 1.543 MB / 1.083 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000886/0.4409, allocations: 0.5789 MB / 1.083 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.665e-05/0.441, allocations: 16.53 kB / 1.083 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001015/0.442, allocations: 0.5901 MB / 1.084 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=76): time 3.256e-06/0.442, allocations: 7.938 kB / 1.084 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of matching and sorting (n=76): time 0.002932/0.4449, allocations: 1.43 MB / 1.085 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/0.4451, allocations: 149.1 kB / 1.085 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001903/0.447, allocations: 1.219 MB / 1.087 GB, free: 7.625 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001755/0.4472, allocations: 53.69 kB / 1.087 GB, free: 7.566 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005954/0.4478, allocations: 0.5669 MB / 1.087 GB, free: 6.992 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002237/0.448, allocations: 240.5 kB / 1.087 GB, free: 6.754 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.512e-05/0.4481, allocations: 19.98 kB / 1.087 GB, free: 6.734 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.4482, allocations: 341.9 kB / 1.088 GB, free: 6.395 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007505/0.449, allocations: 437.7 kB / 1.088 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/0.4501, allocations: 0.8108 MB / 1.089 GB, free: 5.039 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008505/0.451, allocations: 0.5025 MB / 1.089 GB, free: 4.539 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.451, allocations: 8 kB / 1.09 GB, free: 4.531 MB / 0.8419 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002168/0.4532, allocations: 1.164 MB / 1.091 GB, free: 3.359 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.000163/0.4534, allocations: 181.7 kB / 1.091 GB, free: 3.141 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.4534, allocations: 4 kB / 1.091 GB, free: 3.137 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.4534, allocations: 4 kB / 1.091 GB, free: 3.133 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006739/0.4541, allocations: 179.7 kB / 1.091 GB, free: 2.957 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.688e-05/0.4541, allocations: 15.95 kB / 1.091 GB, free: 2.941 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009478/0.4551, allocations: 148.5 kB / 1.091 GB, free: 2.801 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.13e-05/0.4552, allocations: 31.98 kB / 1.091 GB, free: 2.77 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.4552, allocations: 5.875 kB / 1.091 GB, free: 2.766 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001469/0.4566, allocations: 0.9527 MB / 1.092 GB, free: 1.812 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.4567, allocations: 4.062 kB / 1.092 GB, free: 1.809 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.4567, allocations: 8 kB / 1.092 GB, free: 1.801 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005533/0.4572, allocations: 155.8 kB / 1.092 GB, free: 1.648 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.4573, allocations: 7.938 kB / 1.092 GB, free: 1.641 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008528/0.4581, allocations: 134 kB / 1.092 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-05/0.4582, allocations: 39.98 kB / 1.092 GB, free: 1.477 MB / 0.8419 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 ($whenCondition5,$PRE.ratDp.tab.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition7,$whenCondition6,ratDp.tab.nextTimeEvent,$PRE.ratDp.tab.nextTimeEventScaled,ratDp.tab.nextTimeEventScaled,y1Pum.y[2],$PRE.y1Pum.intTimTab.y[1],y1Pum.intTimTab.y[1],$PRE.y1Pum.intTimTab.y[2],y1Pum.intTimTab.y[2],$PRE.y1Pum.intTimTab.idx,y1Pum.intTimTab.idx,ctlDpRem.repEna.y[2],ctlDpLoc.y1_actual[1],ctlDpLoc.repEna.y[2]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000993/0.4592, allocations: 0.5615 MB / 1.093 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/0.4594, allocations: 102.7 kB / 1.093 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00203/0.4614, allocations: 1.117 MB / 1.094 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.4614, allocations: 8 kB / 1.094 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.4614, allocations: 0 / 1.094 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.4615, allocations: 3.984 kB / 1.094 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003952/0.4654, allocations: 2.556 MB / 1.097 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.4654, allocations: 0 / 1.097 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005505/0.466, allocations: 135.8 kB / 1.097 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.225e-05/0.466, allocations: 4 kB / 1.097 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.423e-05/0.4661, allocations: 19.98 kB / 1.097 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-06/0.4661, allocations: 4 kB / 1.097 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.654e-06/0.4661, allocations: 0 / 1.097 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002742/0.4688, allocations: 1.747 MB / 1.099 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002708/0.4691, allocations: 211.7 kB / 1.099 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.4693, allocations: 16 kB / 1.099 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004055/0.4697, allocations: 63.92 kB / 1.099 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.4698, allocations: 52.58 kB / 1.099 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.295e-05/0.4699, allocations: 23.98 kB / 1.099 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001182/0.471, allocations: 0.8213 MB / 1.1 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4711, allocations: 0 / 1.1 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001371/0.4724, allocations: 442 kB / 1.1 GB, free: 9.48 MB / 0.8575 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001154/0.4736, allocations: 470.3 kB / 1.101 GB, free: 9.172 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002836/0.4764, allocations: 1.501 MB / 1.102 GB, free: 7.676 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.4765, allocations: 0 / 1.102 GB, free: 7.676 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0008562/0.4773, allocations: 0.4922 MB / 1.103 GB, free: 7.18 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/0.4787, allocations: 250.2 kB / 1.103 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006105/0.4849, allocations: 2.83 MB / 1.106 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001492/0.4864, allocations: 1.357 MB / 1.107 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001317/0.4877, allocations: 382.5 kB / 1.107 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003426/0.4881, allocations: 83.42 kB / 1.107 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of SimCode: time 1.072e-06/0.4881, allocations: 0 / 1.107 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of Templates: time 0.03017/0.5182, allocations: 14.23 MB / 1.121 GB, free: 4.184 MB / 0.8731 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure.makefile (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure.pipe 2>&1)