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.0009532/0.0009532, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 173 kB / 16.92 MB, free: 6.652 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.395/1.395, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.709/2.709, allocations: 462.7 MB / 0.7371 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003883/0.0003882, allocations: 8.781 kB / 0.9034 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3479, allocations: 159.6 MB / 1.059 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure): time 0.003912/0.3519, allocations: 2.328 MB / 1.062 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002845/0.3548, allocations: 1.399 MB / 1.063 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004436/0.3552, allocations: 4 kB / 1.063 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005454/0.3558, allocations: 111.4 kB / 1.063 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004754/0.3563, allocations: 103.5 kB / 1.063 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007402/0.3571, allocations: 230.7 kB / 1.063 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006877/0.3578, allocations: 475.8 kB / 1.064 GB, free: 308 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004506/0.3582, allocations: 209.1 kB / 1.064 GB, free: 96 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003379/0.3586, allocations: 139.2 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002761/0.3589, allocations: 163 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.191e-05/0.3589, allocations: 8 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002289/0.3592, allocations: 67.91 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.3593, allocations: 75.67 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001972/0.3595, allocations: 188.5 kB / 1.065 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006206/0.3601, allocations: 0.5184 MB / 1.065 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.3601, allocations: 0 / 1.065 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3601, allocations: 4 kB / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.675e-05/0.3602, allocations: 0 / 1.065 GB, free: 14.93 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001455/0.3616, allocations: 0.6827 MB / 1.066 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.3617, allocations: 15.97 kB / 1.066 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001446/0.3618, allocations: 60.16 kB / 1.066 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006552/0.3625, allocations: 394.9 kB / 1.066 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.542e-05/0.3625, allocations: 24.94 kB / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-05/0.3626, allocations: 35.92 kB / 1.066 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007015/0.3633, allocations: 327.6 kB / 1.067 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.3634, allocations: 0 / 1.067 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.581e-05/0.3634, allocations: 15.98 kB / 1.067 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.3634, allocations: 8 kB / 1.067 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005862/0.364, allocations: 242.1 kB / 1.067 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001946/0.366, allocations: 1.141 MB / 1.068 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007577/0.3667, allocations: 365.8 kB / 1.068 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003262/0.3671, allocations: 142.9 kB / 1.069 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.566e-05/0.3671, allocations: 7.938 kB / 1.069 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003443/0.3675, allocations: 159.7 kB / 1.069 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 2.515e-06/0.3675, allocations: 0 / 1.069 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22): time 0.0008815/0.3684, allocations: 339.1 kB / 1.069 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/0.3685, allocations: 85.11 kB / 1.069 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000623/0.3691, allocations: 465.5 kB / 1.07 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.003e-05/0.3691, allocations: 33.7 kB / 1.07 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002088/0.3693, allocations: 232.1 kB / 1.07 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.61e-05/0.3694, allocations: 74.98 kB / 1.07 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-05/0.3695, allocations: 37.64 kB / 1.07 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.3697, allocations: 350.8 kB / 1.07 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002718/0.37, allocations: 124.6 kB / 1.07 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003309/0.3703, allocations: 185.2 kB / 1.071 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005262/0.3708, allocations: 279.5 kB / 1.071 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3708, allocations: 0 / 1.071 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007884/0.3716, allocations: 394.8 kB / 1.071 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001133/0.3718, allocations: 134.3 kB / 1.071 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.3718, allocations: 4 kB / 1.071 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.3718, allocations: 0 / 1.071 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002938/0.3721, allocations: 79.89 kB / 1.071 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.3721, allocations: 0 / 1.071 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002591/0.3724, allocations: 47.67 kB / 1.071 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-05/0.3724, allocations: 16 kB / 1.071 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.138e-06/0.3725, allocations: 7.938 kB / 1.071 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005524/0.373, allocations: 291.8 kB / 1.072 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.373, allocations: 4 kB / 1.072 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.753e-06/0.3731, allocations: 4 kB / 1.072 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/0.3733, allocations: 59.91 kB / 1.072 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.3733, allocations: 4 kB / 1.072 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002086/0.3735, allocations: 39.7 kB / 1.072 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.3736, allocations: 15.94 kB / 1.072 GB, free: 7.77 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.0002904/0.3739, allocations: 267 kB / 1.072 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.314e-05/0.3739, allocations: 35.53 kB / 1.072 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006633/0.3746, allocations: 290.4 kB / 1.072 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.3746, allocations: 4 kB / 1.072 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.3746, allocations: 3.938 kB / 1.072 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.3746, allocations: 0 / 1.072 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/0.3759, allocations: 0.7791 MB / 1.073 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3759, allocations: 0 / 1.073 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/0.3761, allocations: 43.97 kB / 1.073 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.3761, allocations: 0 / 1.073 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.3761, allocations: 4 kB / 1.073 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.3761, allocations: 11.94 kB / 1.073 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3761, allocations: 0 / 1.073 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008412/0.377, allocations: 493.6 kB / 1.074 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.3771, allocations: 120.6 kB / 1.074 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.883e-05/0.3771, allocations: 4 kB / 1.074 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/0.3774, allocations: 23.97 kB / 1.074 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.367e-05/0.3775, allocations: 11.98 kB / 1.074 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.3775, allocations: 12 kB / 1.074 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003662/0.3779, allocations: 303.2 kB / 1.074 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3779, allocations: 0 / 1.074 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006242/0.3785, allocations: 143.5 kB / 1.074 GB, free: 5.152 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.001084/0.3796, allocations: 412.9 kB / 1.075 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008953/0.3805, allocations: 428.6 kB / 1.075 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3805, allocations: 0 / 1.075 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002506/0.3808, allocations: 113.7 kB / 1.075 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000603/0.3814, allocations: 92.02 kB / 1.075 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.3828, allocations: 0.8574 MB / 1.076 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004529/0.3833, allocations: 0.8152 MB / 1.077 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.3834, allocations: 39.42 kB / 1.077 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of SimCode: time 7.01e-07/0.3834, allocations: 0 / 1.077 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of Templates: time 0.009855/0.3933, allocations: 5.182 MB / 1.082 GB, free: 13.36 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)