Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001186, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001461/0.001462, allocations: 193 kB / 16.14 MB, free: 6.734 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.369/1.369, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.885/2.885, allocations: 472.6 MB / 0.7447 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 63.52 kB / 0.9113 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2921, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1638/0.4559, allocations: 159.4 MB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004523/0.4605, allocations: 3.642 MB / 1.227 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002807/0.4608, allocations: 7.938 kB / 1.227 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005402/0.4614, allocations: 135.2 kB / 1.227 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001129/0.4625, allocations: 0.498 MB / 1.227 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.4635, allocations: 397.7 kB / 1.228 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003/0.4665, allocations: 3.479 MB / 1.231 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009593/0.4675, allocations: 0.7704 MB / 1.232 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001465/0.469, allocations: 0.9142 MB / 1.233 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007243/0.4697, allocations: 0.7311 MB / 1.233 GB, free: 376 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.915e-05/0.4698, allocations: 40 kB / 1.233 GB, free: 336 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001336/0.4712, allocations: 0.8029 MB / 1.234 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002655/0.4715, allocations: 286.9 kB / 1.235 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005143/0.472, allocations: 0.5166 MB / 1.235 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001356/0.4733, allocations: 1.378 MB / 1.236 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.4734, allocations: 7.984 kB / 1.236 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.51e-07/0.4734, allocations: 0 / 1.236 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.4734, allocations: 0 / 1.236 GB, free: 13.33 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002153/0.4755, allocations: 1.452 MB / 1.238 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.4756, allocations: 8.031 kB / 1.238 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007595/0.4764, allocations: 190.4 kB / 1.238 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.4775, allocations: 0.8024 MB / 1.239 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.851e-05/0.4775, allocations: 41 kB / 1.239 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-05/0.4776, allocations: 60 kB / 1.239 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.4788, allocations: 0.7964 MB / 1.24 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.4788, allocations: 0 / 1.24 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.949e-05/0.4789, allocations: 27.98 kB / 1.24 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.4789, allocations: 12 kB / 1.24 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000896/0.4798, allocations: 0.5344 MB / 1.24 GB, free: 9.223 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003665/0.4835, allocations: 4.591 MB / 1.245 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006987/0.4842, allocations: 414.2 kB / 1.245 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003756/0.4846, allocations: 245.3 kB / 1.245 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002844/0.4849, allocations: 194.2 kB / 1.246 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004921/0.4854, allocations: 301.6 kB / 1.246 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 1.693e-06/0.4854, allocations: 0 / 1.246 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.003909/0.4893, allocations: 1.306 MB / 1.247 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/0.4894, allocations: 89.09 kB / 1.247 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.4906, allocations: 1.122 MB / 1.248 GB, free: 480 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.204e-05/0.4907, allocations: 37.7 kB / 1.248 GB, free: 436 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.4916/0.9823, allocations: 483 kB / 1.249 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/0.9825, allocations: 112 kB / 1.249 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001938/0.9827, allocations: 111.9 kB / 1.249 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.463e-05/0.9827, allocations: 323.8 kB / 1.249 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004726/0.9832, allocations: 215.1 kB / 1.249 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005991/0.9838, allocations: 0.5192 MB / 1.25 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009017/0.9847, allocations: 0.6251 MB / 1.251 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.9848, allocations: 6 kB / 1.251 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002565/0.9873, allocations: 1.046 MB / 1.252 GB, free: 185 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.152e-05/0.9874, allocations: 34.89 kB / 1.252 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.9874, allocations: 5.344 kB / 1.252 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001479/0.9889, allocations: 362.1 kB / 1.252 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/0.9891, allocations: 65.47 kB / 1.252 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001042/0.9902, allocations: 1.011 MB / 1.253 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008009/0.991, allocations: 102 kB / 1.253 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.765e-05/0.9911, allocations: 27.58 kB / 1.253 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007447/0.9918, allocations: 0.4948 MB / 1.254 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004642/0.9923, allocations: 0.4908 MB / 1.254 GB, free: 184 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006736/0.993, allocations: 0.5514 MB / 1.255 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.13e-06/0.993, allocations: 5.062 kB / 1.255 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001559/0.9946, allocations: 0.8362 MB / 1.256 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/0.9946, allocations: 34.83 kB / 1.256 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.9946, allocations: 7.312 kB / 1.256 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005401/0.9952, allocations: 199.5 kB / 1.256 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/0.9954, allocations: 67.38 kB / 1.256 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002936/0.9983, allocations: 3.071 MB / 1.259 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007303/0.9991, allocations: 91.67 kB / 1.259 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.994e-05/0.9991, allocations: 22.88 kB / 1.259 GB, free: 182 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0001818/0.9993, allocations: 220.7 kB / 1.259 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.9994, allocations: 102.5 kB / 1.259 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/1.001, allocations: 0.715 MB / 1.26 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/1.001, allocations: 5.5 kB / 1.26 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/1.001, allocations: 0.75 kB / 1.26 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/1.001, allocations: 5.219 kB / 1.26 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002666/1.003, allocations: 1.6 MB / 1.262 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/1.003, allocations: 6.562 kB / 1.262 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/1.004, allocations: 28.58 kB / 1.262 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00051/1.004, allocations: 217.8 kB / 1.262 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/1.004, allocations: 9.344 kB / 1.262 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009095/1.005, allocations: 0.9822 MB / 1.263 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.005, allocations: 6.688 kB / 1.263 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/1.006, allocations: 0.8304 MB / 1.264 GB, free: 180 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002885/1.007, allocations: 215.8 kB / 1.264 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/1.007, allocations: 7.375 kB / 1.264 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004833/1.007, allocations: 53.58 kB / 1.264 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.304e-05/1.007, allocations: 32.08 kB / 1.264 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.552e-05/1.007, allocations: 14.89 kB / 1.264 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001135/1.008, allocations: 0.7933 MB / 1.265 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/1.008, allocations: 0 / 1.265 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001299/1.01, allocations: 433 kB / 1.265 GB, free: 179.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004266/1.01, allocations: 187.6 kB / 1.265 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001921/1.012, allocations: 1.058 MB / 1.266 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.012, allocations: 4.062 kB / 1.266 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005093/1.013, allocations: 229.7 kB / 1.266 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002007/1.015, allocations: 451.7 kB / 1.267 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002895/1.018, allocations: 2.06 MB / 1.269 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007582/1.018, allocations: 1.181 MB / 1.27 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009895/1.019, allocations: 307.7 kB / 1.27 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/1.019, allocations: 63.25 kB / 1.27 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of SimCode: time 5.71e-07/1.019, allocations: 11.16 kB / 1.27 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.0368/1.056, allocations: 18.95 MB / 1.289 GB, free: 170.3 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)