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.00121/0.001211, allocations: 108 kB / 15.6 MB, free: 132 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.001266/0.001266, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.467/1.467, allocations: 222.9 MB / 240.2 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.917/2.917, allocations: 472.6 MB / 0.7451 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 57.33 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3895, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure): time 0.004385/0.3939, allocations: 2.686 MB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00262/0.3965, allocations: 1.449 MB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002406/0.3968, allocations: 11.94 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004658/0.3973, allocations: 123.2 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003559/0.3977, allocations: 127.2 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005755/0.3983, allocations: 266.9 kB / 1.073 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005112/0.3988, allocations: 0.5076 MB / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003652/0.3992, allocations: 219 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000249/0.3994, allocations: 199.1 kB / 1.074 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002146/0.3996, allocations: 199 kB / 1.074 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.497e-05/0.3997, allocations: 48 kB / 1.074 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001854/0.3999, allocations: 99.97 kB / 1.074 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.4, allocations: 119.6 kB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001747/0.4002, allocations: 206.8 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006434/0.4009, allocations: 0.6583 MB / 1.075 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.4009, allocations: 0 / 1.075 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4009, allocations: 4 kB / 1.075 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.4009, allocations: 0 / 1.075 GB, free: 3.457 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.001284/0.4022, allocations: 0.7643 MB / 1.076 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.4022, allocations: 8.031 kB / 1.076 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.4024, allocations: 56.38 kB / 1.076 GB, free: 2.582 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005364/0.4029, allocations: 398.8 kB / 1.076 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.4029, allocations: 20.94 kB / 1.076 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.314e-05/0.403, allocations: 31.94 kB / 1.076 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005905/0.4036, allocations: 319.7 kB / 1.076 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.4036, allocations: 0 / 1.076 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.216e-05/0.4036, allocations: 12 kB / 1.076 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.4037, allocations: 12 kB / 1.076 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005073/0.4042, allocations: 230.1 kB / 1.077 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001673/0.4059, allocations: 1.13 MB / 1.078 GB, free: 344 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007427/0.4066, allocations: 352 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003051/0.4069, allocations: 133.7 kB / 1.078 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.977e-05/0.407, allocations: 7.938 kB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003283/0.4073, allocations: 145.9 kB / 1.078 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=22): time 2.164e-06/0.4073, allocations: 0 / 1.078 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22): time 0.0007886/0.4081, allocations: 325 kB / 1.079 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.495e-05/0.4082, allocations: 81.11 kB / 1.079 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005326/0.4087, allocations: 469.4 kB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.4088, allocations: 33.7 kB / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001859/0.409, allocations: 236.1 kB / 1.079 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.898e-05/0.409, allocations: 67.02 kB / 1.08 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.4092, allocations: 70.02 kB / 1.08 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.4093, allocations: 366.7 kB / 1.08 GB, free: 14 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002698/0.4096, allocations: 114.1 kB / 1.08 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003108/0.4099, allocations: 193.1 kB / 1.08 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005221/0.4104, allocations: 267.5 kB / 1.081 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4105, allocations: 0 / 1.081 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007132/0.4112, allocations: 374.9 kB / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.4112, allocations: 4 kB / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.4112, allocations: 8.125 kB / 1.081 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.4112, allocations: 11.94 kB / 1.081 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000311/0.4116, allocations: 75.89 kB / 1.081 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.4116, allocations: 0 / 1.081 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.4118, allocations: 39.67 kB / 1.081 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.61e-05/0.4119, allocations: 15.98 kB / 1.081 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003403/0.4122, allocations: 232.8 kB / 1.081 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002529/0.4125, allocations: 171.6 kB / 1.081 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004063/0.4129, allocations: 250 kB / 1.082 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.517e-06/0.4129, allocations: 4 kB / 1.082 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0005888/0.4135, allocations: 341 kB / 1.082 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.4135, allocations: 13.66 kB / 1.082 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-06/0.4135, allocations: 4.188 kB / 1.082 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.152e-06/0.4135, allocations: 4 kB / 1.082 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002539/0.4138, allocations: 67.91 kB / 1.082 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.4138, allocations: 7.922 kB / 1.082 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.414, allocations: 31.73 kB / 1.082 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.491e-05/0.414, allocations: 16 kB / 1.082 GB, free: 11.69 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.0001406/0.4142, allocations: 200.2 kB / 1.082 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.738e-05/0.4143, allocations: 39.47 kB / 1.082 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006271/0.4149, allocations: 275.9 kB / 1.083 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.4149, allocations: 4 kB / 1.083 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.4149, allocations: 3.984 kB / 1.083 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.4149, allocations: 0 / 1.083 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.4161, allocations: 0.7712 MB / 1.083 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.4161, allocations: 0 / 1.083 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.4163, allocations: 39.92 kB / 1.083 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4163, allocations: 0 / 1.083 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/0.4164, allocations: 11.98 kB / 1.083 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.4164, allocations: 3.938 kB / 1.083 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4164, allocations: 0 / 1.083 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008111/0.4172, allocations: 469 kB / 1.084 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.485e-05/0.4173, allocations: 120.6 kB / 1.084 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.008e-05/0.4173, allocations: 7.938 kB / 1.084 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.4175, allocations: 15.98 kB / 1.084 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.229e-05/0.4176, allocations: 16.05 kB / 1.084 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.4176, allocations: 15.98 kB / 1.084 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.00034/0.418, allocations: 303.1 kB / 1.084 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.418, allocations: 0 / 1.084 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005404/0.4185, allocations: 131.5 kB / 1.084 GB, free: 9.195 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.001045/0.4196, allocations: 415.9 kB / 1.085 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009286/0.4205, allocations: 435.6 kB / 1.085 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.4205, allocations: 0 / 1.085 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002313/0.4208, allocations: 106.5 kB / 1.085 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005812/0.4214, allocations: 101.4 kB / 1.085 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.4227, allocations: 0.6721 MB / 1.086 GB, free: 7.617 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004501/0.4232, allocations: 0.819 MB / 1.087 GB, free: 6.773 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002367/0.4234, allocations: 59.25 kB / 1.087 GB, free: 6.715 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.419e-05/0.4235, allocations: 31.42 kB / 1.087 GB, free: 6.684 MB / 0.8419 GB Notification: Performance of SimCode: time 2.9e-07/0.4235, allocations: 0 / 1.087 GB, free: 6.684 MB / 0.8419 GB Notification: Performance of Templates: time 0.009217/0.4327, allocations: 4.443 MB / 1.091 GB, free: 2.316 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)