Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.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.ResetLocalDifferentialPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure") translateModel(Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006501/0.006501, allocations: 101.2 kB / 15.88 MB, free: 5.863 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.001434/0.001434, allocations: 191 kB / 16.79 MB, free: 5.805 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.386/1.386, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.772/2.772, allocations: 461.8 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 65.08 kB / 0.8991 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.329, allocations: 157.4 MB / 1.053 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure): time 0.006395/0.3354, allocations: 2.709 MB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002982/0.3384, allocations: 1.434 MB / 1.057 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004018/0.3389, allocations: 4 kB / 1.057 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006283/0.3395, allocations: 111.4 kB / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004874/0.3401, allocations: 111.5 kB / 1.057 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007275/0.3408, allocations: 231.7 kB / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006864/0.3415, allocations: 471.8 kB / 1.058 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004591/0.342, allocations: 213.1 kB / 1.058 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003956/0.3424, allocations: 163.2 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002914/0.3427, allocations: 187 kB / 1.058 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.886e-05/0.3428, allocations: 20 kB / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002126/0.343, allocations: 63.98 kB / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.3431, allocations: 91.59 kB / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000235/0.3434, allocations: 186.8 kB / 1.059 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0007342/0.3441, allocations: 0.5342 MB / 1.059 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.3441, allocations: 4 kB / 1.059 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.62e-07/0.3441, allocations: 0 / 1.059 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.998e-05/0.3442, allocations: 0 / 1.059 GB, free: 1.73 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001983/0.3461, allocations: 0.758 MB / 1.06 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/0.3462, allocations: 11.97 kB / 1.06 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000199/0.3464, allocations: 48.38 kB / 1.06 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008879/0.3473, allocations: 402.9 kB / 1.06 GB, free: 440 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.676e-05/0.3474, allocations: 24.88 kB / 1.06 GB, free: 416 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.53e-05/0.3474, allocations: 35.88 kB / 1.06 GB, free: 380 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007411/0.3482, allocations: 319.7 kB / 1.061 GB, free: 52 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.3482, allocations: 0 / 1.061 GB, free: 52 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.958e-05/0.3483, allocations: 16 kB / 1.061 GB, free: 36 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.3483, allocations: 8 kB / 1.061 GB, free: 28 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005964/0.3489, allocations: 222.2 kB / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002277/0.3512, allocations: 1.145 MB / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008482/0.352, allocations: 338.4 kB / 1.062 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003266/0.3524, allocations: 140.7 kB / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.515e-05/0.3524, allocations: 11.94 kB / 1.062 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003547/0.3528, allocations: 137.8 kB / 1.063 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 1.713e-06/0.3528, allocations: 4 kB / 1.063 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22): time 0.0008413/0.3537, allocations: 329 kB / 1.063 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.559e-05/0.3537, allocations: 81.05 kB / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006914/0.3544, allocations: 469.4 kB / 1.063 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.3545, allocations: 29.7 kB / 1.063 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001967/0.3547, allocations: 228.2 kB / 1.064 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.607e-05/0.3548, allocations: 78.98 kB / 1.064 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/0.3549, allocations: 69.92 kB / 1.064 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.3551, allocations: 350.8 kB / 1.064 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002901/0.3554, allocations: 122.1 kB / 1.064 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003131/0.3557, allocations: 189.2 kB / 1.064 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005095/0.3562, allocations: 259.5 kB / 1.065 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.3562, allocations: 4 kB / 1.065 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007515/0.357, allocations: 379 kB / 1.065 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.357, allocations: 4 kB / 1.065 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.3571, allocations: 4 kB / 1.065 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.3571, allocations: 3.938 kB / 1.065 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002837/0.3574, allocations: 71.91 kB / 1.065 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.61e-05/0.3574, allocations: 11.92 kB / 1.065 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002366/0.3576, allocations: 39.67 kB / 1.065 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.184e-05/0.3577, allocations: 16 kB / 1.065 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003429/0.358, allocations: 240.7 kB / 1.065 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000305/0.3583, allocations: 171.6 kB / 1.066 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004018/0.3588, allocations: 245.9 kB / 1.066 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.236e-06/0.3588, allocations: 80 / 1.066 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0006406/0.3594, allocations: 357.1 kB / 1.066 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.3594, allocations: 11.94 kB / 1.066 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.3595, allocations: 0 / 1.066 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.713e-06/0.3595, allocations: 4 kB / 1.066 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002454/0.3597, allocations: 63.91 kB / 1.066 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.3597, allocations: 4 kB / 1.066 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.3599, allocations: 31.83 kB / 1.066 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.36, allocations: 8.188 kB / 1.066 GB, free: 9.98 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.ratDp.tab.nextTimeEvent,$whenCondition1,resDpLoc.ctlDpRem.con1.y,ratDp.tab.nextTimeEventScaled,$PRE.ratDp.tab.nextTimeEventScaled,ratDp.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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.0001491/0.3601, allocations: 206.6 kB / 1.066 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.092e-05/0.3602, allocations: 39.47 kB / 1.067 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000627/0.3608, allocations: 280.8 kB / 1.067 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.3608, allocations: 4 kB / 1.067 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3609, allocations: 4 kB / 1.067 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.3609, allocations: 0 / 1.067 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.362, allocations: 0.7683 MB / 1.068 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.362, allocations: 4 kB / 1.068 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.3622, allocations: 35.97 kB / 1.068 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.3622, allocations: 0 / 1.068 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/0.3623, allocations: 12 kB / 1.068 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.3623, allocations: 0 / 1.068 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3623, allocations: 0 / 1.068 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008171/0.3631, allocations: 469.5 kB / 1.068 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.3632, allocations: 120.6 kB / 1.068 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.359e-05/0.3633, allocations: 8.062 kB / 1.068 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.3635, allocations: 15.98 kB / 1.068 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.44e-05/0.3635, allocations: 15.97 kB / 1.068 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.3636, allocations: 12 kB / 1.068 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003597/0.3639, allocations: 299.1 kB / 1.069 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.814e-06/0.3639, allocations: 0 / 1.069 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005357/0.3645, allocations: 143.5 kB / 1.069 GB, free: 7.477 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (resDpLoc.ctlDpRem.I.y) * Number of discrete variables: 3 ($whenCondition1,ratDp.tab.nextTimeEvent,ratDp.tab.nextTimeEventScaled) * 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 (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001032/0.3655, allocations: 428.5 kB / 1.069 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008798/0.3664, allocations: 403.5 kB / 1.069 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3664, allocations: 0 / 1.069 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002432/0.3667, allocations: 114.8 kB / 1.07 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005727/0.3673, allocations: 79.47 kB / 1.07 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.3687, allocations: 0.8421 MB / 1.07 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004327/0.3691, allocations: 0.8113 MB / 1.071 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.3692, allocations: 31.44 kB / 1.071 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of SimCode: time 5.31e-07/0.3693, allocations: 0 / 1.071 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of Templates: time 0.009324/0.3786, allocations: 5.257 MB / 1.076 GB, free: 15.66 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.makefile (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.pipe 2>&1)