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.001123/0.001123, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001278/0.001278, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.596/1.596, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.184/3.184, allocations: 462.6 MB / 0.736 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.0003747, allocations: 8.812 kB / 0.9021 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3736, allocations: 159.6 MB / 1.058 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Pumps.Generic.Validation.ResetLocalDifferentialPressure): time 0.003271/0.377, allocations: 2.228 MB / 1.06 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002726/0.3797, allocations: 1.345 MB / 1.062 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004561/0.3802, allocations: 4 kB / 1.062 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004787/0.3807, allocations: 111.4 kB / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002982/0.381, allocations: 91.58 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005475/0.3816, allocations: 190.7 kB / 1.062 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000466/0.382, allocations: 436 kB / 1.062 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003098/0.3824, allocations: 149.2 kB / 1.062 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00022/0.3826, allocations: 139.2 kB / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.3828, allocations: 147.2 kB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.538e-05/0.3829, allocations: 15.94 kB / 1.063 GB, free: 472 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001553/0.383, allocations: 47.97 kB / 1.063 GB, free: 424 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.681e-05/0.3831, allocations: 79.61 kB / 1.063 GB, free: 344 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.499e-05/0.3832, allocations: 93.45 kB / 1.063 GB, free: 244 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005366/0.3838, allocations: 0.5146 MB / 1.063 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3838, allocations: 4 kB / 1.063 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.565e-06/0.3838, allocations: 0 / 1.063 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.3838, allocations: 4 kB / 1.063 GB, free: 15.71 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.001249/0.3851, allocations: 0.6903 MB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.3851, allocations: 12.03 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.3852, allocations: 51.34 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005347/0.3857, allocations: 389.7 kB / 1.065 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.536e-05/0.3858, allocations: 24.52 kB / 1.065 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.97e-05/0.3859, allocations: 28 kB / 1.065 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005793/0.3864, allocations: 327.7 kB / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.3865, allocations: 0 / 1.065 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.963e-05/0.3865, allocations: 8 kB / 1.065 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.3865, allocations: 11.94 kB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004865/0.387, allocations: 242.1 kB / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001678/0.3887, allocations: 1.146 MB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006937/0.3894, allocations: 360.6 kB / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003068/0.3897, allocations: 137.2 kB / 1.067 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.644e-05/0.3898, allocations: 12.11 kB / 1.067 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003158/0.3901, allocations: 149.6 kB / 1.067 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 3.597e-06/0.3901, allocations: 4 kB / 1.067 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22): time 0.0007564/0.3909, allocations: 347 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.969e-05/0.3909, allocations: 81.11 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005261/0.3915, allocations: 461.5 kB / 1.068 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/0.3915, allocations: 29.7 kB / 1.068 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.3917, allocations: 228.2 kB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.926e-05/0.3917, allocations: 75 kB / 1.068 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.632e-05/0.3918, allocations: 4 kB / 1.068 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.3919, allocations: 354.8 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/0.3922, allocations: 120.6 kB / 1.069 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002772/0.3924, allocations: 197.1 kB / 1.069 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002545/0.3927, allocations: 133.3 kB / 1.069 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3927, allocations: 4.031 kB / 1.069 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006492/0.3934, allocations: 383 kB / 1.069 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001146/0.3935, allocations: 138.1 kB / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.3935, allocations: 4 kB / 1.069 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.3935, allocations: 4 kB / 1.069 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/0.3938, allocations: 75.83 kB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/0.3939, allocations: 4 kB / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/0.3941, allocations: 43.72 kB / 1.07 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.569e-05/0.3941, allocations: 12 kB / 1.07 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.296e-06/0.3941, allocations: 8 kB / 1.07 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005341/0.3947, allocations: 295.8 kB / 1.07 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3947, allocations: 4 kB / 1.07 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.584e-06/0.3947, allocations: 4 kB / 1.07 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000243/0.395, allocations: 68.09 kB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.395, allocations: 4 kB / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.3952, allocations: 35.73 kB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.3952, allocations: 12 kB / 1.07 GB, free: 8.785 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 ($whenCondition1,$PRE.ratDp.tab.nextTimeEvent,resDpLoc.ctlDpRem.con1.y,ratDp.tab.nextTimeEvent,$PRE.ratDp.tab.nextTimeEventScaled,ratDp.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002768/0.3955, allocations: 259.1 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.716e-05/0.3955, allocations: 43.47 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005972/0.3962, allocations: 289 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.3962, allocations: 4 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.3962, allocations: 0 / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.3962, allocations: 3.938 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.3973, allocations: 0.7766 MB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.3973, allocations: 0 / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/0.3975, allocations: 47.91 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.3976, allocations: 0 / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/0.3976, allocations: 8 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.3976, allocations: 0 / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.3976, allocations: 4 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007991/0.3984, allocations: 489.5 kB / 1.072 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.772e-05/0.3985, allocations: 124.6 kB / 1.072 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.73e-05/0.3986, allocations: 4 kB / 1.072 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.3988, allocations: 24.03 kB / 1.072 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/0.3988, allocations: 15.98 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.3989, allocations: 4 kB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003577/0.3992, allocations: 299.1 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3992, allocations: 0 / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005541/0.3998, allocations: 139.6 kB / 1.072 GB, free: 6.184 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001037/0.4008, allocations: 425.8 kB / 1.073 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008667/0.4017, allocations: 419.8 kB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.4017, allocations: 0 / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002302/0.402, allocations: 108.9 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005437/0.4025, allocations: 89.75 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.4038, allocations: 0.7962 MB / 1.074 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.4042, allocations: 0.8113 MB / 1.075 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002432/0.4045, allocations: 59.23 kB / 1.075 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.05e-05/0.4046, allocations: 39.42 kB / 1.075 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.4046, allocations: 0 / 1.075 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of Templates: time 0.01125/0.4158, allocations: 4.086 MB / 1.079 GB, free: 15.55 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)