Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8918/0.8918, allocations: 143.4 MB / 158.3 MB, free: 5.754 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 173.1 kB / 191.5 MB, free: 5.762 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.636/1.636, allocations: 223.2 MB / 447.7 MB, free: 4.805 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009275/0.0009275, allocations: 92.31 kB / 0.5188 GB, free: 1.164 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001947/0.001946, allocations: 279.9 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005319/0.0005322, allocations: 11.69 kB / 0.6929 GB, free: 59.78 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.217, allocations: 82.8 MB / 0.7737 GB, free: 13.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.801/5.018, allocations: 1.83 GB / 2.603 GB, free: 191.1 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/5.019, allocations: 100.9 kB / 2.604 GB, free: 191.1 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.077/12.1, allocations: 1.998 GB / 4.601 GB, free: 166.1 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.214e-06/12.1, allocations: 0 / 4.601 GB, free: 166.1 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001246/12.1, allocations: 37.3 kB / 4.601 GB, free: 166.1 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.005443/12.1, allocations: 1.578 MB / 4.603 GB, free: 165.2 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/12.1, allocations: 7.875 kB / 4.603 GB, free: 165.2 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/12.1, allocations: 201.4 kB / 4.603 GB, free: 165.1 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003684/12.11, allocations: 1.442 MB / 4.604 GB, free: 164.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.838e-05/12.11, allocations: 54 kB / 4.604 GB, free: 164.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/12.11, allocations: 63 kB / 4.605 GB, free: 164.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/12.11, allocations: 0.9512 MB / 4.605 GB, free: 164.1 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/12.11, allocations: 3.938 kB / 4.605 GB, free: 164.1 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.341e-05/12.11, allocations: 26.67 kB / 4.605 GB, free: 164.1 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/12.11, allocations: 15.34 kB / 4.605 GB, free: 164.1 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/12.11, allocations: 0.7581 MB / 4.606 GB, free: 163.9 MB / 0.7136 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.005504/12.11, allocations: 4.727 MB / 4.611 GB, free: 160 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002008/12.12, allocations: 4.063 MB / 4.615 GB, free: 155.4 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003087/12.12, allocations: 195 kB / 4.615 GB, free: 155.2 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005295/12.12, allocations: 329.2 kB / 4.615 GB, free: 155 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005914/12.12, allocations: 27.5 kB / 4.615 GB, free: 155 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=36): time 2.304e-06/12.12, allocations: 3.938 kB / 4.615 GB, free: 155 MB / 0.7136 GB Notification: Performance of matching and sorting (n=36): time 0.003177/12.12, allocations: 1.314 MB / 4.617 GB, free: 154.3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/12.12, allocations: 84.14 kB / 4.617 GB, free: 154.2 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001373/12.12, allocations: 1.04 MB / 4.618 GB, free: 153.7 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.071e-05/12.12, allocations: 41.05 kB / 4.618 GB, free: 153.6 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003979/12.12, allocations: 0.5179 MB / 4.618 GB, free: 153.2 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.804e-05/12.12, allocations: 126.8 kB / 4.618 GB, free: 153.1 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-05/12.12, allocations: 11.88 kB / 4.618 GB, free: 153.1 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.716e-05/12.12, allocations: 325.1 kB / 4.619 GB, free: 152.8 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003156/12.12, allocations: 211.4 kB / 4.619 GB, free: 152.7 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005597/12.12, allocations: 0.5553 MB / 4.619 GB, free: 152.1 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004184/12.12, allocations: 332 kB / 4.62 GB, free: 151.8 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/12.12, allocations: 4 kB / 4.62 GB, free: 151.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00147/12.13, allocations: 0.9812 MB / 4.621 GB, free: 150.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004959/12.13, allocations: 2.224 MB / 4.623 GB, free: 148.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/12.13, allocations: 8 kB / 4.623 GB, free: 148.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000519/12.13, allocations: 247 kB / 4.623 GB, free: 148.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002823/12.13, allocations: 79.83 kB / 4.623 GB, free: 148.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000862/12.13, allocations: 0.9949 MB / 4.624 GB, free: 147.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/12.13, allocations: 105.9 kB / 4.624 GB, free: 147 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-05/12.13, allocations: 28 kB / 4.624 GB, free: 146.9 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/12.13, allocations: 10.56 kB / 4.624 GB, free: 146.9 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001244/12.13, allocations: 0.7878 MB / 4.625 GB, free: 146.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/12.13, allocations: 4 kB / 4.625 GB, free: 146.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005073/12.13, allocations: 227.8 kB / 4.625 GB, free: 145.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/12.13, allocations: 79.83 kB / 4.625 GB, free: 145.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003014/12.13, allocations: 2.939 MB / 4.628 GB, free: 142.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/12.14, allocations: 105.8 kB / 4.628 GB, free: 142.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-05/12.14, allocations: 24 kB / 4.628 GB, free: 142.7 MB / 0.7136 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 (40): * Single equations (assignments): 38 * 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.0007266/12.14, allocations: 477 kB / 4.629 GB, free: 142.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/12.14, allocations: 110.6 kB / 4.629 GB, free: 142.1 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/12.14, allocations: 0.7943 MB / 4.63 GB, free: 141.3 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/12.14, allocations: 4 kB / 4.63 GB, free: 141.3 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/12.14, allocations: 4 kB / 4.63 GB, free: 141.3 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/12.14, allocations: 3.984 kB / 4.63 GB, free: 141.3 MB / 0.7136 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.0029/12.14, allocations: 2.158 MB / 4.632 GB, free: 139 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/12.14, allocations: 0 / 4.632 GB, free: 139 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/12.14, allocations: 51.91 kB / 4.632 GB, free: 138.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003566/12.14, allocations: 180.5 kB / 4.632 GB, free: 138.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/12.14, allocations: 12 kB / 4.632 GB, free: 138.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005697/12.14, allocations: 0.8596 MB / 4.633 GB, free: 137.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/12.14, allocations: 0 / 4.633 GB, free: 137.9 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/12.14, allocations: 0.9744 MB / 4.634 GB, free: 136.8 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000542/12.14, allocations: 231.7 kB / 4.634 GB, free: 136.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/12.14, allocations: 12 kB / 4.634 GB, free: 136.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006527/12.14, allocations: 80.77 kB / 4.634 GB, free: 136.5 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.59e-05/12.14, allocations: 35.83 kB / 4.634 GB, free: 136.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/12.14, allocations: 16 kB / 4.634 GB, free: 136.4 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009739/12.15, allocations: 0.8209 MB / 4.635 GB, free: 135.6 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.51e-07/12.15, allocations: 0 / 4.635 GB, free: 135.6 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001937/12.15, allocations: 0.6114 MB / 4.636 GB, free: 135 MB / 0.7136 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 (26): * Single equations (assignments): 23 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001693/12.15, allocations: 1.069 MB / 4.637 GB, free: 134.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001948/12.15, allocations: 1.134 MB / 4.638 GB, free: 133 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/12.15, allocations: 0 / 4.638 GB, free: 133 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004145/12.15, allocations: 251 kB / 4.638 GB, free: 132.8 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003047/12.16, allocations: 0.6425 MB / 4.639 GB, free: 132.2 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002879/12.16, allocations: 2.112 MB / 4.641 GB, free: 130.1 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005535/12.16, allocations: 1.232 MB / 4.642 GB, free: 128.8 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001211/12.16, allocations: 391.6 kB / 4.642 GB, free: 128.5 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/12.16, allocations: 71.42 kB / 4.642 GB, free: 128.4 MB / 0.7136 GB Notification: Performance of SimCode: time 2.535e-06/12.16, allocations: 0 / 4.642 GB, free: 128.4 MB / 0.7136 GB Notification: Performance of Templates: time 0.04522/12.21, allocations: 33.39 MB / 4.675 GB, free: 95.61 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)