Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 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.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8305/0.8305, allocations: 140.1 MB / 156 MB, free: 5.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001125/0.001125, allocations: 177.7 kB / 188.5 MB, free: 15.83 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.903/1.903, allocations: 205.4 MB / 426.3 MB, free: 8.453 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001165/0.001165, allocations: 82.44 kB / 0.4945 GB, free: 8.402 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.002011/0.002011, allocations: 272.2 kB / 0.5728 GB, free: 66.22 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005075/0.0005077, allocations: 16 kB / 0.662 GB, free: 6.805 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.53/0.5305, allocations: 79.29 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.332/5.862, allocations: 2.036 GB / 2.776 GB, free: 174.2 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/5.863, allocations: 95.94 kB / 2.776 GB, free: 174.1 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.833/9.695, allocations: 1.079 GB / 3.855 GB, free: 94.55 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.725e-06/9.695, allocations: 0 / 3.855 GB, free: 94.55 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001987/9.696, allocations: 35.98 kB / 3.855 GB, free: 94.52 MB / 0.6667 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.00636/9.702, allocations: 1.56 MB / 3.856 GB, free: 92.89 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/9.702, allocations: 12.03 kB / 3.856 GB, free: 92.88 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/9.703, allocations: 199.3 kB / 3.857 GB, free: 92.68 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004461/9.708, allocations: 1.504 MB / 3.858 GB, free: 91.12 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.301e-05/9.708, allocations: 45.69 kB / 3.858 GB, free: 91.08 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002133/9.708, allocations: 68.38 kB / 3.858 GB, free: 91.01 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001648/9.71, allocations: 0.9644 MB / 3.859 GB, free: 89.98 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/9.71, allocations: 0 / 3.859 GB, free: 89.98 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.871e-05/9.71, allocations: 31.94 kB / 3.859 GB, free: 89.95 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/9.71, allocations: 12 kB / 3.859 GB, free: 89.93 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/9.711, allocations: 0.7531 MB / 3.86 GB, free: 89.18 MB / 0.6667 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.005022/9.716, allocations: 4.702 MB / 3.864 GB, free: 84.14 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001952/9.718, allocations: 4.025 MB / 3.868 GB, free: 79.29 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000443/9.719, allocations: 345.6 kB / 3.869 GB, free: 78.95 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002702/9.719, allocations: 198.2 kB / 3.869 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004527/9.719, allocations: 336.6 kB / 3.869 GB, free: 78.37 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005744/9.72, allocations: 31.69 kB / 3.869 GB, free: 78.34 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=36): time 3.797e-06/9.72, allocations: 0 / 3.869 GB, free: 78.34 MB / 0.6667 GB Notification: Performance of matching and sorting (n=36): time 0.005104/9.725, allocations: 1.758 MB / 3.871 GB, free: 76.55 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/9.725, allocations: 89.03 kB / 3.871 GB, free: 76.44 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/9.727, allocations: 1.185 MB / 3.872 GB, free: 75.24 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.095e-05/9.727, allocations: 33.7 kB / 3.872 GB, free: 75.2 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003833/9.727, allocations: 0.5201 MB / 3.873 GB, free: 74.68 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 9.418e-05/9.727, allocations: 118.3 kB / 3.873 GB, free: 74.56 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.58e-05/9.728, allocations: 12 kB / 3.873 GB, free: 74.55 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 6.805e-05/9.728, allocations: 326 kB / 3.873 GB, free: 74.23 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003369/9.728, allocations: 209 kB / 3.873 GB, free: 74.02 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005102/9.728, allocations: 0.5561 MB / 3.874 GB, free: 73.32 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007527/9.729, allocations: 0.6528 MB / 3.875 GB, free: 72.59 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/9.729, allocations: 4 kB / 3.875 GB, free: 72.58 MB / 0.6667 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002223/9.731, allocations: 1.089 MB / 3.876 GB, free: 71.48 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001499/9.732, allocations: 292.9 kB / 3.876 GB, free: 71.11 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/9.732, allocations: 4 kB / 3.876 GB, free: 71.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001381/9.733, allocations: 438.4 kB / 3.876 GB, free: 70.68 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003008/9.733, allocations: 75.83 kB / 3.876 GB, free: 70.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/9.735, allocations: 1.126 MB / 3.877 GB, free: 69.45 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/9.736, allocations: 99.73 kB / 3.878 GB, free: 69.35 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.793e-05/9.736, allocations: 24 kB / 3.878 GB, free: 69.32 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/9.736, allocations: 4 kB / 3.878 GB, free: 69.32 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001352/9.737, allocations: 0.8214 MB / 3.878 GB, free: 68.49 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/9.737, allocations: 8.656 kB / 3.878 GB, free: 68.48 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004898/9.738, allocations: 252.5 kB / 3.879 GB, free: 68.23 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002727/9.738, allocations: 75.83 kB / 3.879 GB, free: 68.16 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003433/9.742, allocations: 3.111 MB / 3.882 GB, free: 64.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/9.743, allocations: 103.8 kB / 3.882 GB, free: 64.81 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-05/9.743, allocations: 24 kB / 3.882 GB, free: 64.79 MB / 0.6667 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 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.0007484/9.744, allocations: 488.8 kB / 3.882 GB, free: 64.3 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002754/9.744, allocations: 106.7 kB / 3.882 GB, free: 64.2 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001447/9.745, allocations: 0.8356 MB / 3.883 GB, free: 63.35 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/9.745, allocations: 4 kB / 3.883 GB, free: 63.34 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/9.745, allocations: 4 kB / 3.883 GB, free: 63.34 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/9.745, allocations: 0 / 3.883 GB, free: 63.34 MB / 0.6667 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.003103/9.749, allocations: 2.181 MB / 3.885 GB, free: 61.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/9.749, allocations: 3.938 kB / 3.885 GB, free: 61.01 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002349/9.749, allocations: 47.91 kB / 3.885 GB, free: 60.96 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004268/9.749, allocations: 246.6 kB / 3.886 GB, free: 60.72 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.975e-05/9.749, allocations: 12 kB / 3.886 GB, free: 60.71 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007389/9.75, allocations: 0.9384 MB / 3.887 GB, free: 59.75 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/9.75, allocations: 4 kB / 3.887 GB, free: 59.74 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/9.751, allocations: 0.8973 MB / 3.888 GB, free: 58.8 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005175/9.752, allocations: 231.8 kB / 3.888 GB, free: 58.55 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002145/9.752, allocations: 11.94 kB / 3.888 GB, free: 58.54 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007879/9.753, allocations: 83.75 kB / 3.888 GB, free: 58.46 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/9.753, allocations: 35.89 kB / 3.888 GB, free: 58.43 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-05/9.753, allocations: 23.88 kB / 3.888 GB, free: 58.4 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001077/9.754, allocations: 0.825 MB / 3.889 GB, free: 57.57 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.81e-07/9.754, allocations: 0 / 3.889 GB, free: 57.57 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002218/9.756, allocations: 0.6089 MB / 3.889 GB, free: 56.96 MB / 0.6667 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 {11 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001827/9.758, allocations: 1.113 MB / 3.89 GB, free: 55.82 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002531/9.761, allocations: 1.31 MB / 3.892 GB, free: 54.48 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/9.761, allocations: 0 / 3.892 GB, free: 54.48 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005826/9.761, allocations: 328.2 kB / 3.892 GB, free: 54.16 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003762/9.765, allocations: 0.6527 MB / 3.893 GB, free: 53.5 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003816/9.769, allocations: 2.214 MB / 3.895 GB, free: 51.24 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008089/9.77, allocations: 1.22 MB / 3.896 GB, free: 49.98 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001397/9.771, allocations: 376.6 kB / 3.896 GB, free: 49.61 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001925/9.771, allocations: 67.44 kB / 3.896 GB, free: 49.55 MB / 0.6667 GB Notification: Performance of SimCode: time 5.61e-07/9.771, allocations: 0 / 3.896 GB, free: 49.55 MB / 0.6667 GB Notification: Performance of Templates: time 0.04768/9.819, allocations: 34.34 MB / 3.93 GB, free: 15.32 MB / 0.6667 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)