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.001318/0.001319, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001668/0.001668, allocations: 195 kB / 16.14 MB, free: 6.668 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.519/1.519, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.936/2.936, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 63.84 kB / 0.9114 GB, free: 33.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3713, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure): time 0.004498/0.3758, allocations: 2.707 MB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00264/0.3785, allocations: 1.426 MB / 1.072 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002288/0.3787, allocations: 11.94 kB / 1.072 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005262/0.3793, allocations: 111.5 kB / 1.072 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003038/0.3796, allocations: 107.5 kB / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005152/0.3801, allocations: 231.6 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005023/0.3806, allocations: 467.9 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003619/0.381, allocations: 215 kB / 1.073 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002396/0.3812, allocations: 167.1 kB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002133/0.3815, allocations: 183 kB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.678e-05/0.3815, allocations: 16 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001662/0.3817, allocations: 79.89 kB / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.3818, allocations: 91.67 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.382, allocations: 186.7 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006104/0.3826, allocations: 0.631 MB / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3826, allocations: 0 / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.193e-06/0.3826, allocations: 0 / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.3826, allocations: 0 / 1.074 GB, free: 4.32 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.001354/0.384, allocations: 0.7566 MB / 1.075 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.384, allocations: 12.03 kB / 1.075 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.3842, allocations: 52.31 kB / 1.075 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005723/0.3847, allocations: 406.8 kB / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/0.3848, allocations: 20.94 kB / 1.075 GB, free: 3 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.85e-05/0.3848, allocations: 35.94 kB / 1.075 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006123/0.3855, allocations: 323.6 kB / 1.076 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.3855, allocations: 0 / 1.076 GB, free: 2.641 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.658e-05/0.3855, allocations: 12 kB / 1.076 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.3856, allocations: 11.98 kB / 1.076 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005208/0.3861, allocations: 226.1 kB / 1.076 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001709/0.3878, allocations: 1.13 MB / 1.077 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007133/0.3885, allocations: 348 kB / 1.077 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002996/0.3888, allocations: 132.8 kB / 1.077 GB, free: 0.6992 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.059e-05/0.3889, allocations: 7.938 kB / 1.077 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003184/0.3892, allocations: 153.5 kB / 1.077 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 1.523e-06/0.3892, allocations: 0 / 1.077 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22): time 0.0007877/0.39, allocations: 327.8 kB / 1.078 GB, free: 212 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.837e-05/0.3901, allocations: 81.11 kB / 1.078 GB, free: 112 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005452/0.3907, allocations: 465.4 kB / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.3907, allocations: 33.7 kB / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/0.3909, allocations: 228.1 kB / 1.079 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.94e-05/0.391, allocations: 78.98 kB / 1.079 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.3911, allocations: 70.02 kB / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.3912, allocations: 346.8 kB / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002633/0.3915, allocations: 118.1 kB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003104/0.3918, allocations: 197.1 kB / 1.079 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004858/0.3923, allocations: 267.5 kB / 1.08 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3923, allocations: 0 / 1.08 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006901/0.393, allocations: 382.9 kB / 1.08 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.3931, allocations: 4 kB / 1.08 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.3931, allocations: 4 kB / 1.08 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.3931, allocations: 7.938 kB / 1.08 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002814/0.3934, allocations: 71.89 kB / 1.08 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.3934, allocations: 4 kB / 1.08 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.3936, allocations: 39.67 kB / 1.08 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.404e-05/0.3937, allocations: 16.09 kB / 1.08 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003267/0.394, allocations: 236.7 kB / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002592/0.3943, allocations: 175.5 kB / 1.08 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004003/0.3947, allocations: 241.9 kB / 1.081 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.583e-06/0.3947, allocations: 0 / 1.081 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0005835/0.3953, allocations: 357.1 kB / 1.081 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.3953, allocations: 7.938 kB / 1.081 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.3953, allocations: 4 kB / 1.081 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.196e-06/0.3953, allocations: 0 / 1.081 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002399/0.3956, allocations: 63.91 kB / 1.081 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3956, allocations: 4 kB / 1.081 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.3958, allocations: 35.73 kB / 1.081 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/0.3958, allocations: 20.17 kB / 1.081 GB, free: 12.56 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.0001454/0.3959, allocations: 196.9 kB / 1.081 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.441e-05/0.396, allocations: 39.47 kB / 1.081 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006004/0.3966, allocations: 277 kB / 1.082 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.3966, allocations: 3.938 kB / 1.082 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.3966, allocations: 4 kB / 1.082 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.3967, allocations: 3.984 kB / 1.082 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.3977, allocations: 0.7622 MB / 1.082 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.3977, allocations: 0 / 1.082 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.3979, allocations: 39.91 kB / 1.082 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.398, allocations: 4 kB / 1.082 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.398, allocations: 8 kB / 1.082 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.398, allocations: 0 / 1.082 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.398, allocations: 4 kB / 1.082 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007961/0.3988, allocations: 469.5 kB / 1.083 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.012e-05/0.3989, allocations: 120.5 kB / 1.083 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.388e-05/0.399, allocations: 16.05 kB / 1.083 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.3991, allocations: 15.98 kB / 1.083 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.906e-05/0.3992, allocations: 11.98 kB / 1.083 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.3992, allocations: 8 kB / 1.083 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003317/0.3996, allocations: 303.1 kB / 1.083 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3996, allocations: 0 / 1.083 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004967/0.4001, allocations: 135.5 kB / 1.084 GB, free: 10.07 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.001054/0.4011, allocations: 431.5 kB / 1.084 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007978/0.402, allocations: 407.4 kB / 1.084 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.402, allocations: 0.75 kB / 1.084 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002355/0.4022, allocations: 107.9 kB / 1.084 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005398/0.4028, allocations: 78.8 kB / 1.084 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.404, allocations: 0.8115 MB / 1.085 GB, free: 8.379 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004229/0.4044, allocations: 0.8113 MB / 1.086 GB, free: 7.543 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000235/0.4047, allocations: 59.23 kB / 1.086 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.673e-05/0.4048, allocations: 43.42 kB / 1.086 GB, free: 7.441 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.4048, allocations: 0 / 1.086 GB, free: 7.441 MB / 0.8419 GB Notification: Performance of Templates: time 0.008741/0.4135, allocations: 4.243 MB / 1.09 GB, free: 3.273 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)