Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.884/1.884, allocations: 292.6 MB / 307.5 MB, free: 5.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001974/0.001974, allocations: 181 kB / 377.1 MB, free: 1.523 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.914/1.914, allocations: 205.4 MB / 0.6367 GB, free: 9.449 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 93.58 kB / 0.751 GB, free: 62.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003918/0.0003916, allocations: 8 kB / 0.8748 GB, free: 11.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3139, allocations: 116.3 MB / 0.9884 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.954/6.268, allocations: 2.067 GB / 3.056 GB, free: 153.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/6.268, allocations: 96.66 kB / 3.056 GB, free: 153.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.757/13.02, allocations: 1.801 GB / 4.856 GB, free: 159.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.286e-06/13.02, allocations: 0 / 4.856 GB, free: 159.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001041/13.02, allocations: 31.98 kB / 4.856 GB, free: 159.2 MB / 0.948 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.002784/13.03, allocations: 1.437 MB / 4.858 GB, free: 157.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/13.03, allocations: 12.03 kB / 4.858 GB, free: 157.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007163/13.03, allocations: 183.7 kB / 4.858 GB, free: 157.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002207/13.03, allocations: 1.106 MB / 4.859 GB, free: 156.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.064e-05/13.03, allocations: 52.98 kB / 4.859 GB, free: 156.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.091e-05/13.03, allocations: 56 kB / 4.859 GB, free: 156.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009515/13.03, allocations: 0.7661 MB / 4.86 GB, free: 155.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/13.03, allocations: 4 kB / 4.86 GB, free: 155.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.959e-05/13.03, allocations: 20.86 kB / 4.86 GB, free: 155.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/13.03, allocations: 16 kB / 4.86 GB, free: 155.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007277/13.03, allocations: 0.5121 MB / 4.86 GB, free: 154.9 MB / 0.948 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.003377/13.04, allocations: 4.596 MB / 4.865 GB, free: 149.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005891/13.04, allocations: 430.4 kB / 4.865 GB, free: 149.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002636/13.04, allocations: 190.2 kB / 4.865 GB, free: 149.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004085/13.04, allocations: 299.4 kB / 4.866 GB, free: 148.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 2.204e-06/13.04, allocations: 0 / 4.866 GB, free: 148.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.002786/13.04, allocations: 1.218 MB / 4.867 GB, free: 147.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/13.04, allocations: 81.11 kB / 4.867 GB, free: 147.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/13.04, allocations: 0.9876 MB / 4.868 GB, free: 146.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.627e-05/13.04, allocations: 45.64 kB / 4.868 GB, free: 146.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003048/13.04, allocations: 493 kB / 4.868 GB, free: 146.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.088e-05/13.04, allocations: 114.5 kB / 4.869 GB, free: 146 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.04e-05/13.04, allocations: 12 kB / 4.869 GB, free: 145.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.841e-05/13.04, allocations: 322 kB / 4.869 GB, free: 145.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002838/13.04, allocations: 184.7 kB / 4.869 GB, free: 145.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000437/13.04, allocations: 0.5046 MB / 4.87 GB, free: 144.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000362/13.04, allocations: 287.3 kB / 4.87 GB, free: 144.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/13.04, allocations: 0 / 4.87 GB, free: 144.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001254/13.04, allocations: 0.9047 MB / 4.871 GB, free: 143.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005497/13.04, allocations: 2.137 MB / 4.873 GB, free: 141.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/13.04, allocations: 8 kB / 4.873 GB, free: 141.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004802/13.05, allocations: 224.5 kB / 4.873 GB, free: 141.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/13.05, allocations: 71.84 kB / 4.873 GB, free: 141 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000784/13.05, allocations: 1.003 MB / 4.874 GB, free: 140 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008571/13.05, allocations: 103.6 kB / 4.874 GB, free: 139.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.737e-05/13.05, allocations: 28 kB / 4.874 GB, free: 139.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.387e-06/13.05, allocations: 7.938 kB / 4.874 GB, free: 139.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001179/13.05, allocations: 0.7278 MB / 4.875 GB, free: 139.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/13.05, allocations: 7.984 kB / 4.875 GB, free: 139.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004863/13.05, allocations: 209.2 kB / 4.875 GB, free: 138.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/13.05, allocations: 71.83 kB / 4.875 GB, free: 138.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003128/13.05, allocations: 3.157 MB / 4.878 GB, free: 135.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000863/13.05, allocations: 99.61 kB / 4.878 GB, free: 135.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.069e-05/13.05, allocations: 24 kB / 4.878 GB, free: 135.4 MB / 0.948 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0006185/13.05, allocations: 460.7 kB / 4.879 GB, free: 134.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/13.05, allocations: 102.7 kB / 4.879 GB, free: 134.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/13.05, allocations: 0.71 MB / 4.88 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/13.05, allocations: 4 kB / 4.88 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/13.05, allocations: 0 / 4.88 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/13.05, allocations: 3.984 kB / 4.88 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002139/13.06, allocations: 1.613 MB / 4.881 GB, free: 132.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/13.06, allocations: 4 kB / 4.881 GB, free: 132.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/13.06, allocations: 27.97 kB / 4.881 GB, free: 132.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003902/13.06, allocations: 232.6 kB / 4.881 GB, free: 132.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/13.06, allocations: 8 kB / 4.881 GB, free: 132.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006482/13.06, allocations: 0.9743 MB / 4.882 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/13.06, allocations: 4.031 kB / 4.882 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009896/13.06, allocations: 0.9245 MB / 4.883 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003581/13.06, allocations: 215.8 kB / 4.883 GB, free: 129.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.135e-05/13.06, allocations: 15.98 kB / 4.884 GB, free: 129.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004836/13.06, allocations: 55.8 kB / 4.884 GB, free: 129.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.3e-05/13.06, allocations: 31.89 kB / 4.884 GB, free: 129.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/13.06, allocations: 12 kB / 4.884 GB, free: 129.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009003/13.06, allocations: 0.7877 MB / 4.884 GB, free: 129 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.6e-07/13.06, allocations: 0 / 4.884 GB, free: 129 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001605/13.06, allocations: 0.5113 MB / 4.885 GB, free: 128.5 MB / 0.948 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001342/13.06, allocations: 0.9614 MB / 4.886 GB, free: 127.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001756/13.07, allocations: 1.051 MB / 4.887 GB, free: 126.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/13.07, allocations: 4.062 kB / 4.887 GB, free: 126.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004181/13.07, allocations: 230.5 kB / 4.887 GB, free: 126.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/13.07, allocations: 465.1 kB / 4.887 GB, free: 125.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002764/13.07, allocations: 1.971 MB / 4.889 GB, free: 123.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006163/13.07, allocations: 1.204 MB / 4.891 GB, free: 122.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0009515/13.07, allocations: 319.8 kB / 4.891 GB, free: 122.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/13.07, allocations: 67.42 kB / 4.891 GB, free: 122.1 MB / 0.948 GB Notification: Performance of SimCode: time 6.31e-07/13.07, allocations: 0 / 4.891 GB, free: 122.1 MB / 0.948 GB Notification: Performance of Templates: time 0.03885/13.11, allocations: 29.7 MB / 4.92 GB, free: 92.53 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)