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.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 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.ResetLocalDifferentialPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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_3.0.0_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.001879/0.001879, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001744/0.001744, allocations: 195.8 kB / 16.25 MB, free: 6.621 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.425/1.425, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.058/3.058, allocations: 472.6 MB / 0.7448 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 62.14 kB / 0.9115 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3762/0.3774, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure): time 0.005109/0.3826, allocations: 2.711 MB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002965/0.3856, allocations: 1.43 MB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00049/0.3861, allocations: 7.938 kB / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005743/0.3867, allocations: 103.5 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005497/0.3873, allocations: 107.5 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000758/0.3881, allocations: 235.2 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006942/0.3888, allocations: 0.5076 MB / 1.073 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004122/0.3892, allocations: 219 kB / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003721/0.3896, allocations: 199.1 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002987/0.3899, allocations: 203 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.521e-05/0.39, allocations: 48 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002455/0.3902, allocations: 104 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.3904, allocations: 115.6 kB / 1.074 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002297/0.3906, allocations: 210.8 kB / 1.074 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008064/0.3914, allocations: 0.6583 MB / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.3914, allocations: 0 / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.404e-06/0.3914, allocations: 4 kB / 1.074 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.935e-05/0.3915, allocations: 0 / 1.074 GB, free: 3.938 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.001655/0.3931, allocations: 0.7604 MB / 1.075 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.3932, allocations: 12.03 kB / 1.075 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/0.3933, allocations: 48.38 kB / 1.075 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006096/0.3939, allocations: 414.7 kB / 1.076 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/0.394, allocations: 20.94 kB / 1.076 GB, free: 2.609 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.943e-05/0.394, allocations: 35.94 kB / 1.076 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006377/0.3947, allocations: 315.7 kB / 1.076 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.3947, allocations: 0 / 1.076 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.081e-05/0.3947, allocations: 12 kB / 1.076 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.3948, allocations: 12 kB / 1.076 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005225/0.3953, allocations: 230.1 kB / 1.076 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00185/0.3972, allocations: 1.126 MB / 1.077 GB, free: 0.8164 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007038/0.3979, allocations: 344.1 kB / 1.078 GB, free: 464 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002936/0.3982, allocations: 133.5 kB / 1.078 GB, free: 328 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.839e-05/0.3982, allocations: 7.938 kB / 1.078 GB, free: 320 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003191/0.3986, allocations: 151.3 kB / 1.078 GB, free: 156 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 2.034e-06/0.3986, allocations: 3.938 kB / 1.078 GB, free: 152 kB / 0.8262 GB Notification: Performance of matching and sorting (n=22): time 0.0008174/0.3994, allocations: 333.7 kB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/0.3995, allocations: 81.11 kB / 1.078 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005334/0.4, allocations: 465.4 kB / 1.079 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.4, allocations: 29.7 kB / 1.079 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.4002, allocations: 228.1 kB / 1.079 GB, free: 15 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.104e-05/0.4003, allocations: 75 kB / 1.079 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.4004, allocations: 73.95 kB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.4006, allocations: 350.8 kB / 1.079 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002515/0.4008, allocations: 118.1 kB / 1.08 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002919/0.4011, allocations: 193.2 kB / 1.08 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004677/0.4016, allocations: 267.5 kB / 1.08 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.4016, allocations: 0 / 1.08 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006914/0.4023, allocations: 370.9 kB / 1.08 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.4023, allocations: 4 kB / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/0.4024, allocations: 4.188 kB / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.4024, allocations: 11.94 kB / 1.08 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002803/0.4027, allocations: 75.83 kB / 1.08 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.4027, allocations: 4 kB / 1.08 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.4029, allocations: 35.67 kB / 1.08 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.518e-05/0.403, allocations: 16 kB / 1.08 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003303/0.4033, allocations: 232.7 kB / 1.081 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002369/0.4035, allocations: 179.6 kB / 1.081 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003792/0.4039, allocations: 250 kB / 1.081 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.715e-06/0.404, allocations: 0 / 1.081 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0005776/0.4045, allocations: 348.9 kB / 1.081 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.4046, allocations: 9.219 kB / 1.081 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4046, allocations: 8 kB / 1.081 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.847e-06/0.4046, allocations: 0 / 1.081 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/0.4048, allocations: 63.91 kB / 1.082 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.4048, allocations: 7.938 kB / 1.082 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002177/0.4051, allocations: 31.73 kB / 1.082 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/0.4051, allocations: 15.98 kB / 1.082 GB, free: 12.18 MB / 0.8419 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.0001538/0.4053, allocations: 196.9 kB / 1.082 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.405e-05/0.4053, allocations: 39.47 kB / 1.082 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005821/0.4059, allocations: 277 kB / 1.082 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.4059, allocations: 0 / 1.082 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.4059, allocations: 0 / 1.082 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.406, allocations: 0 / 1.082 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.4071, allocations: 0.7779 MB / 1.083 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.4071, allocations: 3.938 kB / 1.083 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.4073, allocations: 39.91 kB / 1.083 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.263e-06/0.4073, allocations: 4 kB / 1.083 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.4073, allocations: 7.938 kB / 1.083 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.4073, allocations: 4 kB / 1.083 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4073, allocations: 0 / 1.083 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007875/0.4081, allocations: 470.7 kB / 1.083 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.794e-05/0.4082, allocations: 116.6 kB / 1.083 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.722e-05/0.4083, allocations: 15.97 kB / 1.083 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.4085, allocations: 15.98 kB / 1.083 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.881e-05/0.4086, allocations: 12.05 kB / 1.083 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.4086, allocations: 12 kB / 1.084 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003324/0.4089, allocations: 303.1 kB / 1.084 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4089, allocations: 0 / 1.084 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005423/0.4095, allocations: 135.5 kB / 1.084 GB, free: 9.676 MB / 0.8419 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.001047/0.4105, allocations: 414.7 kB / 1.084 GB, free: 9.422 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008801/0.4114, allocations: 421.7 kB / 1.085 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.4115, allocations: 0 / 1.085 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002263/0.4117, allocations: 103.8 kB / 1.085 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005628/0.4123, allocations: 105.8 kB / 1.085 GB, free: 8.812 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.4136, allocations: 0.8215 MB / 1.086 GB, free: 7.965 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.4139, allocations: 0.8152 MB / 1.087 GB, free: 7.125 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002514/0.4142, allocations: 59.23 kB / 1.087 GB, free: 7.066 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.963e-05/0.4143, allocations: 35.42 kB / 1.087 GB, free: 7.031 MB / 0.8419 GB Notification: Performance of SimCode: time 2.7e-07/0.4143, allocations: 0 / 1.087 GB, free: 7.031 MB / 0.8419 GB Notification: Performance of Templates: time 0.009551/0.4239, allocations: 4.4 MB / 1.091 GB, free: 2.707 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.makefile (rm -f Buildings_3.0.0_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.pipe ; mkfifo Buildings_3.0.0_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.pipe >> ../files/Buildings_3.0.0_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.sim & ./Buildings_3.0.0_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.pipe 2>&1)