Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001161/0.001161, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001288/0.001288, allocations: 197.9 kB / 16.14 MB, free: 6.688 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.494/1.494, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.082/3.082, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 63.41 kB / 0.9114 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.3848, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure): time 0.004497/0.3894, allocations: 2.703 MB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002628/0.392, allocations: 1.426 MB / 1.072 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002698/0.3923, allocations: 15.88 kB / 1.072 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005271/0.3929, allocations: 111.4 kB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003252/0.3932, allocations: 103.5 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007065/0.394, allocations: 243 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006272/0.3946, allocations: 463.9 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004668/0.3951, allocations: 215 kB / 1.073 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003007/0.3954, allocations: 163.2 kB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002517/0.3956, allocations: 183 kB / 1.073 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.735e-05/0.3957, allocations: 20 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002209/0.3959, allocations: 79.91 kB / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.3961, allocations: 83.66 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000208/0.3963, allocations: 186.8 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000703/0.397, allocations: 0.6271 MB / 1.074 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.397, allocations: 0 / 1.074 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.352e-06/0.397, allocations: 0 / 1.074 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.517e-06/0.397, allocations: 0 / 1.074 GB, free: 4.297 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.001831/0.3989, allocations: 0.7682 MB / 1.075 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.161e-05/0.399, allocations: 8.031 kB / 1.075 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.3991, allocations: 52.36 kB / 1.075 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000648/0.3998, allocations: 398.8 kB / 1.075 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.182e-05/0.3998, allocations: 24.94 kB / 1.075 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.918e-05/0.3999, allocations: 31.94 kB / 1.075 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006543/0.4005, allocations: 327.6 kB / 1.076 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.4005, allocations: 0 / 1.076 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.583e-05/0.4006, allocations: 12 kB / 1.076 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.4006, allocations: 8 kB / 1.076 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004862/0.4011, allocations: 230.1 kB / 1.076 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00172/0.4028, allocations: 1.134 MB / 1.077 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007135/0.4035, allocations: 349.6 kB / 1.077 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003176/0.4039, allocations: 130.3 kB / 1.077 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.406e-05/0.4039, allocations: 7.922 kB / 1.077 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003245/0.4043, allocations: 155.2 kB / 1.077 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 1.733e-06/0.4043, allocations: 0 / 1.077 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22): time 0.0007612/0.405, allocations: 317.6 kB / 1.078 GB, free: 188 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/0.4051, allocations: 81.11 kB / 1.078 GB, free: 88 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005311/0.4056, allocations: 469.4 kB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.4057, allocations: 41.64 kB / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.4059, allocations: 232.1 kB / 1.079 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.823e-05/0.4059, allocations: 71 kB / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.406, allocations: 70.02 kB / 1.079 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.4062, allocations: 350.8 kB / 1.079 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002691/0.4065, allocations: 122 kB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003082/0.4068, allocations: 193.1 kB / 1.079 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004846/0.4073, allocations: 263.5 kB / 1.08 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.4073, allocations: 0 / 1.08 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006841/0.408, allocations: 382.8 kB / 1.08 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.408, allocations: 8 kB / 1.08 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.408, allocations: 0 / 1.08 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.4081, allocations: 7.938 kB / 1.08 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000293/0.4084, allocations: 71.89 kB / 1.08 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.4084, allocations: 4 kB / 1.08 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.4086, allocations: 39.86 kB / 1.08 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/0.4086, allocations: 12 kB / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003369/0.409, allocations: 240.7 kB / 1.08 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002477/0.4092, allocations: 171.5 kB / 1.08 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003907/0.4096, allocations: 241.9 kB / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.713e-06/0.4097, allocations: 0 / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of matching and sorting (n=40) (initialization_lambda0): time 0.0005944/0.4103, allocations: 361.2 kB / 1.081 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.4103, allocations: 11.94 kB / 1.081 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-06/0.4103, allocations: 0 / 1.081 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.171e-06/0.4103, allocations: 4 kB / 1.081 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/0.4106, allocations: 63.91 kB / 1.081 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.4106, allocations: 4 kB / 1.081 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.4108, allocations: 31.92 kB / 1.081 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/0.4108, allocations: 23.98 kB / 1.081 GB, free: 12.52 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.000142/0.411, allocations: 192.8 kB / 1.081 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.731e-05/0.411, allocations: 43.47 kB / 1.081 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006298/0.4117, allocations: 273 kB / 1.082 GB, free: 12 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.4117, allocations: 8 kB / 1.082 GB, free: 12 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4117, allocations: 0 / 1.082 GB, free: 12 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.4117, allocations: 3.984 kB / 1.082 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.4128, allocations: 0.7581 MB / 1.082 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.4128, allocations: 3.938 kB / 1.082 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/0.413, allocations: 47.91 kB / 1.082 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.413, allocations: 4 kB / 1.082 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.4131, allocations: 4 kB / 1.082 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4131, allocations: 4 kB / 1.082 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.4131, allocations: 3.984 kB / 1.082 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007963/0.4139, allocations: 470.7 kB / 1.083 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.919e-05/0.414, allocations: 124.6 kB / 1.083 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.272e-05/0.4141, allocations: 4 kB / 1.083 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.4142, allocations: 11.98 kB / 1.083 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.823e-05/0.4143, allocations: 15.98 kB / 1.083 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.4143, allocations: 7.938 kB / 1.083 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003452/0.4147, allocations: 303.1 kB / 1.083 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4147, allocations: 0 / 1.083 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005317/0.4152, allocations: 139.5 kB / 1.084 GB, free: 10.03 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.001041/0.4163, allocations: 423.6 kB / 1.084 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008504/0.4171, allocations: 410.2 kB / 1.084 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4172, allocations: 3.938 kB / 1.084 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002262/0.4174, allocations: 104 kB / 1.084 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005745/0.418, allocations: 86.09 kB / 1.084 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.4193, allocations: 0.8093 MB / 1.085 GB, free: 8.344 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.4196, allocations: 0.8152 MB / 1.086 GB, free: 7.504 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002289/0.4199, allocations: 59.25 kB / 1.086 GB, free: 7.445 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.618e-05/0.42, allocations: 35.42 kB / 1.086 GB, free: 7.41 MB / 0.8419 GB Notification: Performance of SimCode: time 2.61e-07/0.42, allocations: 0 / 1.086 GB, free: 7.41 MB / 0.8419 GB Notification: Performance of Templates: time 0.008857/0.4288, allocations: 4.239 MB / 1.09 GB, free: 3.238 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.makefile (rm -f Buildings_1.6_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.pipe ; mkfifo Buildings_1.6_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.pipe >> ../files/Buildings_1.6_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.sim & ./Buildings_1.6_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure.pipe 2>&1)