Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001099/0.0011, allocations: 91.53 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.01059/0.01059, allocations: 172.8 kB / 16.26 MB, free: 6.676 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.587/1.587, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.078/3.078, allocations: 473.4 MB / 0.7469 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004103/0.0004106, allocations: 8.594 kB / 0.9158 GB, free: 33.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.3894, allocations: 162.2 MB / 1.074 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure): time 0.006657/0.3961, allocations: 4.92 MB / 1.079 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005298/0.4014, allocations: 2.556 MB / 1.081 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001417/0.4029, allocations: 27.88 kB / 1.081 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0009227/0.4038, allocations: 274.6 kB / 1.082 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0008378/0.4047, allocations: 211.1 kB / 1.082 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001574/0.4063, allocations: 0.506 MB / 1.082 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002389/0.4087, allocations: 1.695 MB / 1.084 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001871/0.4106, allocations: 1.206 MB / 1.085 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008649/0.4114, allocations: 453.7 kB / 1.086 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009198/0.4124, allocations: 481.1 kB / 1.086 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002669/0.4126, allocations: 32 kB / 1.086 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005279/0.4132, allocations: 107.9 kB / 1.086 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.000541/0.4137, allocations: 322.7 kB / 1.087 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0008847/0.4146, allocations: 0.5721 MB / 1.087 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002253/0.4169, allocations: 2.449 MB / 1.09 GB, free: 7.617 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.4169, allocations: 0 / 1.09 GB, free: 7.617 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4169, allocations: 0 / 1.09 GB, free: 7.617 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.183e-05/0.4169, allocations: 0 / 1.09 GB, free: 7.617 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.002897/0.4198, allocations: 1.585 MB / 1.091 GB, free: 5.977 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.4199, allocations: 12.03 kB / 1.091 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002684/0.4202, allocations: 159 kB / 1.091 GB, free: 5.809 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001823/0.422, allocations: 1.153 MB / 1.092 GB, free: 4.602 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.28e-05/0.4221, allocations: 82.38 kB / 1.092 GB, free: 4.52 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001839/0.4223, allocations: 111.9 kB / 1.093 GB, free: 4.41 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002342/0.4246, allocations: 1.377 MB / 1.094 GB, free: 3.016 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.4247, allocations: 0 / 1.094 GB, free: 3.016 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.56e-05/0.4248, allocations: 39.98 kB / 1.094 GB, free: 2.977 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.297e-05/0.4248, allocations: 24 kB / 1.094 GB, free: 2.953 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002086/0.4269, allocations: 1.187 MB / 1.095 GB, free: 1.766 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006125/0.433, allocations: 4.162 MB / 1.099 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00238/0.4354, allocations: 1.539 MB / 1.101 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009439/0.4364, allocations: 0.5906 MB / 1.101 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.034e-05/0.4364, allocations: 16.53 kB / 1.101 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001045/0.4375, allocations: 0.5978 MB / 1.102 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=76): time 4.148e-06/0.4375, allocations: 0 / 1.102 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of matching and sorting (n=76): time 0.002683/0.4402, allocations: 1.445 MB / 1.103 GB, free: 9.223 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.995e-05/0.4403, allocations: 137.2 kB / 1.103 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001874/0.4422, allocations: 1.231 MB / 1.105 GB, free: 7.805 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.000108/0.4423, allocations: 45.7 kB / 1.105 GB, free: 7.754 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005537/0.4429, allocations: 0.5743 MB / 1.105 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.000218/0.4431, allocations: 236.6 kB / 1.105 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.4432, allocations: 93.66 kB / 1.106 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.4434, allocations: 337.9 kB / 1.106 GB, free: 6.504 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008501/0.4442, allocations: 453.6 kB / 1.106 GB, free: 6.059 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/0.4454, allocations: 0.8166 MB / 1.107 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001669/0.4471, allocations: 0.9699 MB / 1.108 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.4471, allocations: 0 / 1.108 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002223/0.4494, allocations: 1.179 MB / 1.109 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001277/0.4495, allocations: 185.2 kB / 1.109 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.4495, allocations: 4 kB / 1.109 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/0.4496, allocations: 8 kB / 1.109 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006981/0.4503, allocations: 175.7 kB / 1.11 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.796e-05/0.4503, allocations: 7.984 kB / 1.11 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.4514, allocations: 155.9 kB / 1.11 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.339e-05/0.4515, allocations: 35.98 kB / 1.11 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.103e-06/0.4515, allocations: 0 / 1.11 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001507/0.453, allocations: 0.9524 MB / 1.111 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4531, allocations: 0 / 1.111 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.386e-06/0.4531, allocations: 8 kB / 1.111 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005703/0.4537, allocations: 159.8 kB / 1.111 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.388e-05/0.4537, allocations: 12.31 kB / 1.111 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/0.4547, allocations: 130.6 kB / 1.111 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.166e-05/0.4548, allocations: 32 kB / 1.111 GB, free: 1.059 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.0008331/0.4557, allocations: 0.5654 MB / 1.112 GB, free: 496 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000218/0.4559, allocations: 106.7 kB / 1.112 GB, free: 388 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002182/0.4581, allocations: 1.11 MB / 1.113 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.4581, allocations: 8 kB / 1.113 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.4581, allocations: 0 / 1.113 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.4581, allocations: 3.984 kB / 1.113 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004174/0.4623, allocations: 2.567 MB / 1.115 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.4623, allocations: 0 / 1.115 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005898/0.4629, allocations: 131.8 kB / 1.115 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/0.4629, allocations: 4 kB / 1.115 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.735e-05/0.463, allocations: 31.98 kB / 1.115 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.463, allocations: 3.938 kB / 1.115 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.4631, allocations: 11.88 kB / 1.115 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00331/0.4664, allocations: 1.747 MB / 1.117 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003285/0.4667, allocations: 207.7 kB / 1.117 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/0.4669, allocations: 16 kB / 1.117 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005034/0.4674, allocations: 63.92 kB / 1.117 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002021/0.4676, allocations: 52.53 kB / 1.117 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.943e-05/0.4677, allocations: 27.98 kB / 1.117 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001334/0.469, allocations: 0.8252 MB / 1.118 GB, free: 9.461 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.469, allocations: 0 / 1.118 GB, free: 9.461 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001448/0.4705, allocations: 450 kB / 1.119 GB, free: 9.02 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.001216/0.4717, allocations: 450 kB / 1.119 GB, free: 8.73 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003041/0.4748, allocations: 1.509 MB / 1.121 GB, free: 7.219 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.4748, allocations: 8.25 kB / 1.121 GB, free: 7.211 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009027/0.4757, allocations: 0.4956 MB / 1.121 GB, free: 6.719 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/0.477, allocations: 256.5 kB / 1.121 GB, free: 6.469 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004744/0.4818, allocations: 2.978 MB / 1.124 GB, free: 3.457 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001246/0.483, allocations: 1.342 MB / 1.126 GB, free: 2.086 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001097/0.4841, allocations: 373.8 kB / 1.126 GB, free: 1.719 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002939/0.4845, allocations: 87.41 kB / 1.126 GB, free: 1.633 MB / 0.8731 GB Notification: Performance of SimCode: time 7.11e-07/0.4845, allocations: 0 / 1.126 GB, free: 1.633 MB / 0.8731 GB Notification: Performance of Templates: time 0.02848/0.5129, allocations: 14.65 MB / 1.14 GB, free: 3.16 MB / 0.8887 GB make -j1 -f Buildings_3.0.0_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure.makefile (rm -f Buildings_3.0.0_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure.pipe ; mkfifo Buildings_3.0.0_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure.pipe >> ../files/Buildings_3.0.0_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure.sim & ./Buildings_3.0.0_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ControlDifferentialPressure.pipe 2>&1)