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.742/1.742, allocations: 289.7 MB / 302.2 MB, free: 2.141 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.001374/0.001374, allocations: 183.6 kB / 371.6 MB, free: 3.398 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.858/1.858, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.001069/0.001069, allocations: 94.86 kB / 0.745 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.311e-05/5.321e-05, allocations: 7.984 kB / 0.8662 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3232, allocations: 116.3 MB / 0.9798 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.76/6.083, allocations: 2.067 GB / 3.047 GB, free: 134.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003184/6.083, allocations: 92.02 kB / 3.047 GB, free: 134.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.588/12.67, allocations: 1.799 GB / 4.846 GB, free: 148.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.425e-06/12.67, allocations: 0 / 4.846 GB, free: 148.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.621e-05/12.67, allocations: 31.98 kB / 4.846 GB, free: 148.1 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.00171/12.67, allocations: 1.147 MB / 4.847 GB, free: 146.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/12.67, allocations: 12.02 kB / 4.847 GB, free: 146.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006911/12.67, allocations: 181.8 kB / 4.847 GB, free: 146.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001984/12.68, allocations: 1.104 MB / 4.848 GB, free: 145.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.079e-05/12.68, allocations: 41 kB / 4.848 GB, free: 145.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.215e-05/12.68, allocations: 63.94 kB / 4.848 GB, free: 145.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008744/12.68, allocations: 0.7387 MB / 4.849 GB, free: 144.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/12.68, allocations: 0 / 4.849 GB, free: 144.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.878e-05/12.68, allocations: 24.86 kB / 4.849 GB, free: 144.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/12.68, allocations: 12 kB / 4.849 GB, free: 144.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000572/12.68, allocations: 475.4 kB / 4.85 GB, free: 144.1 MB / 0.948 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.003176/12.68, allocations: 4.598 MB / 4.854 GB, free: 139.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000432/12.68, allocations: 376.1 kB / 4.855 GB, free: 138.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002278/12.68, allocations: 220.7 kB / 4.855 GB, free: 138.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002587/12.68, allocations: 195.2 kB / 4.855 GB, free: 138.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003133/12.68, allocations: 278.4 kB / 4.855 GB, free: 138 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 1.413e-06/12.68, allocations: 0 / 4.855 GB, free: 138 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.00116/12.68, allocations: 0.6618 MB / 4.856 GB, free: 137.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/12.68, allocations: 81.33 kB / 4.856 GB, free: 137.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009994/12.68, allocations: 0.9728 MB / 4.857 GB, free: 136.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.954e-05/12.68, allocations: 45.58 kB / 4.857 GB, free: 136.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000271/12.68, allocations: 0.4926 MB / 4.857 GB, free: 135.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.506e-05/12.68, allocations: 106.5 kB / 4.857 GB, free: 135.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.859e-05/12.69, allocations: 8 kB / 4.858 GB, free: 135.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.228e-05/12.69, allocations: 326 kB / 4.858 GB, free: 135.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/12.69, allocations: 164.8 kB / 4.858 GB, free: 135.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003721/12.69, allocations: 488.8 kB / 4.858 GB, free: 134.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003009/12.69, allocations: 279.5 kB / 4.859 GB, free: 134.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/12.69, allocations: 0 / 4.859 GB, free: 134.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001138/12.69, allocations: 0.8578 MB / 4.86 GB, free: 133.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006224/12.69, allocations: 2.128 MB / 4.862 GB, free: 131 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/12.69, allocations: 4 kB / 4.862 GB, free: 131 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005606/12.69, allocations: 240.5 kB / 4.862 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/12.69, allocations: 59.91 kB / 4.862 GB, free: 130.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009287/12.69, allocations: 0.9971 MB / 4.863 GB, free: 129.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009942/12.69, allocations: 103.5 kB / 4.863 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-05/12.69, allocations: 31.97 kB / 4.863 GB, free: 129.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/12.69, allocations: 5.719 kB / 4.863 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001075/12.69, allocations: 0.6851 MB / 4.864 GB, free: 128.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/12.69, allocations: 4 kB / 4.864 GB, free: 128.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004906/12.69, allocations: 215.4 kB / 4.864 GB, free: 128.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/12.69, allocations: 59.84 kB / 4.864 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003066/12.7, allocations: 3.077 MB / 4.867 GB, free: 125.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008692/12.7, allocations: 99.53 kB / 4.867 GB, free: 125.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.269e-05/12.7, allocations: 23.98 kB / 4.867 GB, free: 125.2 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 () * 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.0001625/12.7, allocations: 148.8 kB / 4.867 GB, free: 125.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/12.7, allocations: 102.7 kB / 4.867 GB, free: 125 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/12.7, allocations: 0.6671 MB / 4.868 GB, free: 124.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/12.7, allocations: 11.88 kB / 4.868 GB, free: 124.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/12.7, allocations: 0 / 4.868 GB, free: 124.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/12.7, allocations: 0 / 4.868 GB, free: 124.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/12.7, allocations: 1.569 MB / 4.87 GB, free: 122.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/12.7, allocations: 0 / 4.87 GB, free: 122.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/12.7, allocations: 23.98 kB / 4.87 GB, free: 122.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003884/12.7, allocations: 229.6 kB / 4.87 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/12.7, allocations: 15.98 kB / 4.87 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006164/12.7, allocations: 0.9687 MB / 4.871 GB, free: 121.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/12.7, allocations: 4.031 kB / 4.871 GB, free: 121.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008122/12.7, allocations: 0.8813 MB / 4.872 GB, free: 120.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002989/12.7, allocations: 215.8 kB / 4.872 GB, free: 120.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.01e-05/12.7, allocations: 11.98 kB / 4.872 GB, free: 120.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000476/12.7, allocations: 51.86 kB / 4.872 GB, free: 120.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.451e-05/12.7, allocations: 27.95 kB / 4.872 GB, free: 120.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.218e-05/12.7, allocations: 16 kB / 4.872 GB, free: 120.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008014/12.7, allocations: 0.769 MB / 4.873 GB, free: 119.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/12.7, allocations: 3.938 kB / 4.873 GB, free: 119.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001653/12.71, allocations: 0.5152 MB / 4.873 GB, free: 118.8 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) * 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.001264/12.71, allocations: 0.9707 MB / 4.874 GB, free: 117.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001395/12.71, allocations: 1.015 MB / 4.875 GB, free: 116.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/12.71, allocations: 0 / 4.875 GB, free: 116.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003526/12.71, allocations: 228.4 kB / 4.875 GB, free: 116.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001766/12.71, allocations: 452.2 kB / 4.876 GB, free: 116.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/12.71, allocations: 1.359 MB / 4.877 GB, free: 114.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004978/12.71, allocations: 1.206 MB / 4.878 GB, free: 113.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001598/12.71, allocations: 0.7412 MB / 4.879 GB, free: 112.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.691e-05/12.71, allocations: 39.44 kB / 4.879 GB, free: 112.7 MB / 0.948 GB Notification: Performance of SimCode: time 7.62e-07/12.71, allocations: 0 / 4.879 GB, free: 112.7 MB / 0.948 GB Notification: Performance of Templates: time 0.04189/12.76, allocations: 34.22 MB / 4.912 GB, free: 78.57 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)