Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.725/1.725, allocations: 297.8 MB / 313.7 MB, free: 104 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 183.4 kB / 384.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 223.2 MB / 0.6626 GB, free: 4.273 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 96.67 kB / 0.7808 GB, free: 50.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004425/0.0004426, allocations: 22.28 kB / 0.9088 GB, free: 2.852 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8333/0.8337, allocations: 120.3 MB / 1.026 GB, free: 55.82 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.471/5.304, allocations: 1.864 GB / 2.89 GB, free: 299.1 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002993/5.305, allocations: 92.53 kB / 2.89 GB, free: 299.1 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 6.879/12.18, allocations: 2.002 GB / 4.892 GB, free: 212.7 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.483e-06/12.18, allocations: 0 / 4.892 GB, free: 212.7 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0002102/12.18, allocations: 37.17 kB / 4.892 GB, free: 212.7 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.00595/12.19, allocations: 1.56 MB / 4.893 GB, free: 211.6 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/12.19, allocations: 11.06 kB / 4.893 GB, free: 211.6 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00142/12.19, allocations: 199.3 kB / 4.894 GB, free: 211.6 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004241/12.2, allocations: 1.519 MB / 4.895 GB, free: 210.6 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.447e-05/12.2, allocations: 45.22 kB / 4.895 GB, free: 210.6 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002102/12.2, allocations: 67.88 kB / 4.895 GB, free: 210.6 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/12.2, allocations: 0.9538 MB / 4.896 GB, free: 209.9 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/12.2, allocations: 7.938 kB / 4.896 GB, free: 209.9 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/12.2, allocations: 22.78 kB / 4.896 GB, free: 209.9 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/12.2, allocations: 15.69 kB / 4.896 GB, free: 209.9 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/12.2, allocations: 0.7536 MB / 4.897 GB, free: 209.5 MB / 0.9792 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.004856/12.2, allocations: 4.701 MB / 4.902 GB, free: 205.3 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001795/12.21, allocations: 4.001 MB / 4.905 GB, free: 200.8 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004699/12.21, allocations: 352.1 kB / 4.906 GB, free: 200.6 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002836/12.21, allocations: 196.5 kB / 4.906 GB, free: 200.4 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004843/12.21, allocations: 330 kB / 4.906 GB, free: 200.2 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005747/12.21, allocations: 38.09 kB / 4.906 GB, free: 200.2 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=36): time 3.777e-06/12.21, allocations: 0 / 4.906 GB, free: 200.2 MB / 0.9792 GB Notification: Performance of matching and sorting (n=36): time 0.004785/12.21, allocations: 1.707 MB / 4.908 GB, free: 199.2 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/12.21, allocations: 80.95 kB / 4.908 GB, free: 199.1 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001739/12.21, allocations: 1.174 MB / 4.909 GB, free: 198.5 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 7.675e-05/12.21, allocations: 41.27 kB / 4.909 GB, free: 198.5 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004205/12.22, allocations: 0.5107 MB / 4.91 GB, free: 198 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/12.22, allocations: 132 kB / 4.91 GB, free: 197.9 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.437e-05/12.22, allocations: 11.62 kB / 4.91 GB, free: 197.9 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.309e-05/12.22, allocations: 327.4 kB / 4.91 GB, free: 197.6 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003388/12.22, allocations: 211.9 kB / 4.91 GB, free: 197.5 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005763/12.22, allocations: 0.5632 MB / 4.911 GB, free: 196.9 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007929/12.22, allocations: 0.6414 MB / 4.912 GB, free: 196.5 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/12.22, allocations: 0 / 4.912 GB, free: 196.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002136/12.22, allocations: 1.084 MB / 4.913 GB, free: 195.9 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001607/12.22, allocations: 274.9 kB / 4.913 GB, free: 195.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/12.22, allocations: 7.969 kB / 4.913 GB, free: 195.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001177/12.22, allocations: 366.4 kB / 4.913 GB, free: 195.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002861/12.22, allocations: 71.92 kB / 4.913 GB, free: 195.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009316/12.22, allocations: 1.043 MB / 4.914 GB, free: 194.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/12.22, allocations: 109 kB / 4.914 GB, free: 194.5 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.673e-05/12.22, allocations: 27.47 kB / 4.914 GB, free: 194.5 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/12.22, allocations: 5.281 kB / 4.914 GB, free: 194.5 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001345/12.22, allocations: 0.8135 MB / 4.915 GB, free: 194.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/12.22, allocations: 3.219 kB / 4.915 GB, free: 194.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005711/12.23, allocations: 266.9 kB / 4.916 GB, free: 193.9 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002749/12.23, allocations: 69.67 kB / 4.916 GB, free: 193.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003301/12.23, allocations: 3.088 MB / 4.919 GB, free: 191.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/12.23, allocations: 110.4 kB / 4.919 GB, free: 191.5 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-05/12.23, allocations: 25.59 kB / 4.919 GB, free: 191.5 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 35 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0007352/12.23, allocations: 475.3 kB / 4.919 GB, free: 191.1 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002346/12.23, allocations: 107 kB / 4.919 GB, free: 191.1 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001437/12.23, allocations: 0.8259 MB / 4.92 GB, free: 190.6 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/12.23, allocations: 3.969 kB / 4.92 GB, free: 190.6 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/12.23, allocations: 0 / 4.92 GB, free: 190.6 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/12.23, allocations: 7.781 kB / 4.92 GB, free: 190.6 MB / 0.9792 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 postOpt removeSimpleEquations (simulation): time 0.003205/12.24, allocations: 2.194 MB / 4.922 GB, free: 189 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/12.24, allocations: 0 / 4.922 GB, free: 189 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/12.24, allocations: 56.89 kB / 4.922 GB, free: 189 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004205/12.24, allocations: 201.2 kB / 4.922 GB, free: 188.9 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/12.24, allocations: 11.66 kB / 4.922 GB, free: 188.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000601/12.24, allocations: 0.8737 MB / 4.923 GB, free: 188.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/12.24, allocations: 3.969 kB / 4.923 GB, free: 188.2 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/12.24, allocations: 0.8958 MB / 4.924 GB, free: 187.6 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000514/12.24, allocations: 238.1 kB / 4.924 GB, free: 187.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002196/12.24, allocations: 9.938 kB / 4.924 GB, free: 187.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008016/12.24, allocations: 79.25 kB / 4.925 GB, free: 187.3 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.788e-05/12.24, allocations: 40.39 kB / 4.925 GB, free: 187.3 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.75e-05/12.24, allocations: 12.28 kB / 4.925 GB, free: 187.3 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001175/12.24, allocations: 0.8308 MB / 4.925 GB, free: 186.9 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.8e-07/12.24, allocations: 3.719 kB / 4.925 GB, free: 186.9 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.002423/12.24, allocations: 0.6026 MB / 4.926 GB, free: 186.2 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * 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 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.001998/12.25, allocations: 1.147 MB / 4.927 GB, free: 185.2 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.00206/12.25, allocations: 1.144 MB / 4.928 GB, free: 184.1 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/12.25, allocations: 384 / 4.928 GB, free: 184.1 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0004501/12.25, allocations: 255.7 kB / 4.928 GB, free: 183.8 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003557/12.25, allocations: 0.6482 MB / 4.929 GB, free: 183.2 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003417/12.26, allocations: 2.109 MB / 4.931 GB, free: 181 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008019/12.26, allocations: 1.218 MB / 4.932 GB, free: 179.8 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001294/12.26, allocations: 380.6 kB / 4.933 GB, free: 179.4 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001778/12.26, allocations: 63.44 kB / 4.933 GB, free: 179.3 MB / 0.9792 GB Notification: Performance of SimCode: time 9.91e-07/12.26, allocations: 4 kB / 4.933 GB, free: 179.3 MB / 0.9792 GB Notification: Performance of Templates: time 0.05182/12.31, allocations: 34.71 MB / 4.967 GB, free: 145 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)