Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.155/2.155, allocations: 387.1 MB / 399.7 MB, free: 9.457 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 173 kB / 492.3 MB, free: 0.6055 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 221.3 MB / 0.7871 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000822/0.000822, allocations: 91.89 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.465e-05/3.467e-05, allocations: 7.938 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3316, allocations: 142.4 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.838/6.17, allocations: 1.872 GB / 3.084 GB, free: 361.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004605/6.17, allocations: 90.64 kB / 3.084 GB, free: 361.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 6.671/12.84, allocations: 1.815 GB / 4.899 GB, free: 342.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.993e-06/12.84, allocations: 0 / 4.899 GB, free: 342.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001291/12.84, allocations: 30.34 kB / 4.899 GB, free: 342.8 MB / 1.151 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.004047/12.85, allocations: 1.24 MB / 4.9 GB, free: 342.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 7.269e-05/12.85, allocations: 15.38 kB / 4.9 GB, free: 342.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00115/12.85, allocations: 186.7 kB / 4.9 GB, free: 342 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003648/12.85, allocations: 1.403 MB / 4.902 GB, free: 341.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.428e-05/12.85, allocations: 43.78 kB / 4.902 GB, free: 341.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.389e-05/12.85, allocations: 54.88 kB / 4.902 GB, free: 341.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009835/12.85, allocations: 0.7678 MB / 4.902 GB, free: 341.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/12.85, allocations: 0 / 4.902 GB, free: 341.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.092e-05/12.85, allocations: 27.25 kB / 4.902 GB, free: 341 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/12.85, allocations: 11.75 kB / 4.902 GB, free: 341 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006186/12.85, allocations: 0.4905 MB / 4.903 GB, free: 340.9 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.00332/12.86, allocations: 4.229 MB / 4.907 GB, free: 337.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004578/12.86, allocations: 371 kB / 4.907 GB, free: 337.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003323/12.86, allocations: 300.1 kB / 4.908 GB, free: 337.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002892/12.86, allocations: 200.8 kB / 4.908 GB, free: 337.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003487/12.86, allocations: 281.9 kB / 4.908 GB, free: 337 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002754/12.86, allocations: 31 kB / 4.908 GB, free: 337 MB / 1.151 GB Notification: Performance of pre-optimization done (n=33): time 2.485e-06/12.86, allocations: 0 / 4.908 GB, free: 337 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.000812/12.86, allocations: 494.5 kB / 4.909 GB, free: 336.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/12.86, allocations: 90.78 kB / 4.909 GB, free: 336.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/12.86, allocations: 1.006 MB / 4.91 GB, free: 336.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.021e-05/12.86, allocations: 37.14 kB / 4.91 GB, free: 336.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002902/12.86, allocations: 485.5 kB / 4.91 GB, free: 335.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.676e-05/12.86, allocations: 115.8 kB / 4.91 GB, free: 335.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-05/12.86, allocations: 11.81 kB / 4.91 GB, free: 335.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.052e-05/12.86, allocations: 325.3 kB / 4.911 GB, free: 335.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/12.86, allocations: 172.5 kB / 4.911 GB, free: 335.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004022/12.86, allocations: 0.5048 MB / 4.911 GB, free: 334.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003395/12.86, allocations: 292.7 kB / 4.912 GB, free: 334.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/12.86, allocations: 2.688 kB / 4.912 GB, free: 334.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007879/12.86, allocations: 0.6676 MB / 4.912 GB, free: 334.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004249/12.86, allocations: 2.144 MB / 4.914 GB, free: 332.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/12.86, allocations: 3.812 kB / 4.914 GB, free: 332.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/12.86, allocations: 11.09 kB / 4.914 GB, free: 332.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005005/12.86, allocations: 109.7 kB / 4.914 GB, free: 332 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/12.86, allocations: 11.44 kB / 4.914 GB, free: 332 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000888/12.86, allocations: 98.27 kB / 4.915 GB, free: 332 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.794e-05/12.86, allocations: 25.97 kB / 4.915 GB, free: 332 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/12.86, allocations: 5.172 kB / 4.915 GB, free: 332 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006277/12.86, allocations: 0.5278 MB / 4.915 GB, free: 331.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/12.86, allocations: 7.719 kB / 4.915 GB, free: 331.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.975e-06/12.86, allocations: 7.938 kB / 4.915 GB, free: 331.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004117/12.86, allocations: 117.7 kB / 4.915 GB, free: 331.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/12.86, allocations: 9.906 kB / 4.915 GB, free: 331.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007723/12.86, allocations: 84.84 kB / 4.915 GB, free: 331.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.001e-05/12.87, allocations: 22.19 kB / 4.915 GB, free: 331.6 MB / 1.151 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 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001476/12.87, allocations: 149.4 kB / 4.916 GB, free: 331.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/12.87, allocations: 103.2 kB / 4.916 GB, free: 331.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007641/12.87, allocations: 0.4934 MB / 4.916 GB, free: 331.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/12.87, allocations: 7.516 kB / 4.916 GB, free: 331.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/12.87, allocations: 0 / 4.916 GB, free: 331.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/12.87, allocations: 0 / 4.916 GB, free: 331.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001739/12.87, allocations: 1.423 MB / 4.917 GB, free: 330.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/12.87, allocations: 3.953 kB / 4.917 GB, free: 330.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003397/12.87, allocations: 70.61 kB / 4.918 GB, free: 330.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.326e-06/12.87, allocations: 7.875 kB / 4.918 GB, free: 330.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.371e-05/12.87, allocations: 15.27 kB / 4.918 GB, free: 330.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/12.87, allocations: 0 / 4.918 GB, free: 330.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/12.87, allocations: 11.83 kB / 4.918 GB, free: 330.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000616/12.87, allocations: 0.7067 MB / 4.918 GB, free: 329.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000293/12.87, allocations: 224.3 kB / 4.918 GB, free: 329.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/12.87, allocations: 14.19 kB / 4.919 GB, free: 329.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006166/12.87, allocations: 69.92 kB / 4.919 GB, free: 329.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.119e-05/12.87, allocations: 35.36 kB / 4.919 GB, free: 329.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/12.87, allocations: 14.08 kB / 4.919 GB, free: 329.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0008516/12.87, allocations: 0.8035 MB / 4.919 GB, free: 329 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/12.87, allocations: 0 / 4.919 GB, free: 329 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00149/12.87, allocations: 0.4903 MB / 4.92 GB, free: 328.9 MB / 1.151 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) * 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 (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.001315/12.87, allocations: 0.9726 MB / 4.921 GB, free: 328.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001012/12.87, allocations: 0.843 MB / 4.922 GB, free: 328.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/12.87, allocations: 0 / 4.922 GB, free: 328.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000252/12.88, allocations: 206.2 kB / 4.922 GB, free: 328 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00295/12.88, allocations: 0.6333 MB / 4.922 GB, free: 327.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002002/12.88, allocations: 1.375 MB / 4.924 GB, free: 327 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006025/12.88, allocations: 1.2 MB / 4.925 GB, free: 326.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001961/12.88, allocations: 0.814 MB / 4.926 GB, free: 325.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/12.88, allocations: 57.66 kB / 4.926 GB, free: 325.7 MB / 1.151 GB Notification: Performance of SimCode: time 9.72e-07/12.88, allocations: 2.094 kB / 4.926 GB, free: 325.7 MB / 1.151 GB Notification: Performance of Templates: time 0.0446/12.93, allocations: 34.5 MB / 4.96 GB, free: 293.6 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.csv","../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches