Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001404, allocations: 108 kB / 15.61 MB, free: 152 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.001437/0.001437, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.375/1.375, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.792/2.792, allocations: 472.6 MB / 0.7451 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 57.7 kB / 0.912 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2743, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1713/0.4456, allocations: 161.6 MB / 1.226 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005201/0.4509, allocations: 3.607 MB / 1.23 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003234/0.4512, allocations: 15.81 kB / 1.23 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006256/0.4519, allocations: 166.9 kB / 1.23 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001368/0.4533, allocations: 0.5211 MB / 1.23 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.4544, allocations: 441.5 kB / 1.231 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00265/0.4571, allocations: 2.567 MB / 1.233 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002763/0.4599, allocations: 2.411 MB / 1.235 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001846/0.4617, allocations: 1.036 MB / 1.237 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007648/0.4625, allocations: 0.7117 MB / 1.237 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001161/0.4626, allocations: 63.94 kB / 1.237 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001378/0.464, allocations: 0.7406 MB / 1.238 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003034/0.4643, allocations: 314.9 kB / 1.238 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006001/0.4649, allocations: 0.5479 MB / 1.239 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001422/0.4664, allocations: 1.402 MB / 1.24 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.4664, allocations: 4 kB / 1.24 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4664, allocations: 0 / 1.24 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.236e-05/0.4664, allocations: 0 / 1.24 GB, free: 9.602 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.002182/0.4686, allocations: 1.451 MB / 1.242 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.4686, allocations: 8.031 kB / 1.242 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007492/0.4694, allocations: 198.3 kB / 1.242 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.4705, allocations: 0.7985 MB / 1.243 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.833e-05/0.4706, allocations: 56.88 kB / 1.243 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.038e-05/0.4707, allocations: 56 kB / 1.243 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.4719, allocations: 0.8277 MB / 1.244 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.4719, allocations: 7.938 kB / 1.244 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.488e-05/0.472, allocations: 24 kB / 1.244 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.472, allocations: 12 kB / 1.244 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000956/0.4729, allocations: 0.5617 MB / 1.244 GB, free: 5.41 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.003785/0.4767, allocations: 4.215 MB / 1.248 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007293/0.4775, allocations: 439.2 kB / 1.249 GB, free: 500 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004864/0.478, allocations: 342 kB / 1.249 GB, free: 156 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4835/0.9615, allocations: 189.5 kB / 1.249 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001098/0.9626, allocations: 323.3 kB / 1.249 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005382/0.9632, allocations: 36.62 kB / 1.249 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 2.655e-06/0.9632, allocations: 0 / 1.249 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.001962/0.9652, allocations: 0.7058 MB / 1.25 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.9652, allocations: 91.06 kB / 1.25 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001839/0.9671, allocations: 1.154 MB / 1.251 GB, free: 186 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/0.9671, allocations: 38.8 kB / 1.251 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004114/0.9676, allocations: 493.7 kB / 1.252 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.148e-05/0.9677, allocations: 113.6 kB / 1.252 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001906/0.9679, allocations: 115.7 kB / 1.252 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.725e-05/0.9679, allocations: 326 kB / 1.252 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004531/0.9684, allocations: 231.7 kB / 1.253 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006098/0.969, allocations: 0.5412 MB / 1.253 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008985/0.9699, allocations: 0.6713 MB / 1.254 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.259e-06/0.9699, allocations: 4.438 kB / 1.254 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00122/0.9712, allocations: 0.7617 MB / 1.255 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.229e-05/0.9712, allocations: 35.22 kB / 1.255 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.9712, allocations: 9.875 kB / 1.255 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/0.9713, allocations: 12.31 kB / 1.255 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005419/0.9718, allocations: 116.2 kB / 1.255 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.948e-05/0.9718, allocations: 14.17 kB / 1.255 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007578/0.9726, allocations: 61.73 kB / 1.255 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.469e-05/0.9727, allocations: 26.31 kB / 1.255 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000668/0.9733, allocations: 0.5169 MB / 1.255 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004865/0.9738, allocations: 0.5137 MB / 1.256 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007407/0.9746, allocations: 0.5992 MB / 1.256 GB, free: 184 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.296e-06/0.9746, allocations: 2.375 kB / 1.256 GB, free: 184 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.0009528/0.9756, allocations: 0.6898 MB / 1.257 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.9756, allocations: 31.27 kB / 1.257 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.9756, allocations: 12.28 kB / 1.257 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/0.9756, allocations: 7.828 kB / 1.257 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004347/0.9761, allocations: 110.3 kB / 1.257 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.679e-06/0.9761, allocations: 15.88 kB / 1.257 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007628/0.9768, allocations: 69.73 kB / 1.257 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.572e-05/0.9769, allocations: 25.72 kB / 1.257 GB, free: 183.8 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 (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 1 * 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.0001551/0.977, allocations: 228.7 kB / 1.258 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.9772, allocations: 106.3 kB / 1.258 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000872/0.978, allocations: 0.5394 MB / 1.258 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.9781, allocations: 2.625 kB / 1.258 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.9781, allocations: 0 / 1.258 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.9781, allocations: 6.984 kB / 1.258 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001804/0.9799, allocations: 1.491 MB / 1.26 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.9799, allocations: 2.625 kB / 1.26 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000343/0.9803, allocations: 67.38 kB / 1.26 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.9803, allocations: 11.11 kB / 1.26 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.272e-05/0.9803, allocations: 10.17 kB / 1.26 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.187e-06/0.9803, allocations: 3.5 kB / 1.26 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.9803, allocations: 6.625 kB / 1.26 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008093/0.9811, allocations: 0.6553 MB / 1.26 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002658/0.9814, allocations: 224.2 kB / 1.261 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.9815, allocations: 14.3 kB / 1.261 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000584/0.9821, allocations: 36.83 kB / 1.261 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.392e-05/0.9822, allocations: 31.86 kB / 1.261 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.9823, allocations: 13.64 kB / 1.261 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009803/0.9832, allocations: 0.817 MB / 1.262 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.81e-07/0.9832, allocations: 3.75 kB / 1.262 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001034/0.9843, allocations: 425.8 kB / 1.262 GB, free: 182.1 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 (33): * Single equations (assignments): 31 * 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.0004311/0.9847, allocations: 175.2 kB / 1.262 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001543/0.9863, allocations: 0.9576 MB / 1.263 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.9863, allocations: 0 / 1.263 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003921/0.9867, allocations: 234.2 kB / 1.263 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002221/0.9889, allocations: 0.5018 MB / 1.264 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002415/0.9914, allocations: 1.779 MB / 1.265 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007148/0.9921, allocations: 1.181 MB / 1.267 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001245/0.9933, allocations: 429.3 kB / 1.267 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000192/0.9935, allocations: 77.52 kB / 1.267 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/0.9935, allocations: 0 / 1.267 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.03506/1.029, allocations: 18.65 MB / 1.285 GB, free: 173.8 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)