Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8363/0.8363, allocations: 140.1 MB / 156 MB, free: 5.188 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.001231/0.001231, allocations: 182.2 kB / 188.5 MB, free: 15.84 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.303/2.303, allocations: 205.4 MB / 426.3 MB, free: 8.477 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.0008194/0.0008194, allocations: 86.42 kB / 0.4945 GB, free: 8.422 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001727/0.001727, allocations: 273.4 kB / 0.5728 GB, free: 66.25 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005399/0.0005399, allocations: 24 kB / 0.662 GB, free: 6.828 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4728/0.4733, allocations: 79.29 MB / 0.7395 GB, free: 46.38 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.753/5.226, allocations: 2.034 GB / 2.773 GB, free: 176.9 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/5.226, allocations: 91.95 kB / 2.773 GB, free: 176.8 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.765/8.991, allocations: 1.07 GB / 3.843 GB, free: 107.1 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.866e-06/8.991, allocations: 4 kB / 3.843 GB, free: 107.1 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002049/8.992, allocations: 31.98 kB / 3.843 GB, free: 107.1 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.005877/8.997, allocations: 1.571 MB / 3.845 GB, free: 105.5 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/8.997, allocations: 8.031 kB / 3.845 GB, free: 105.5 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001394/8.999, allocations: 203.3 kB / 3.845 GB, free: 105.3 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00401/9.003, allocations: 1.485 MB / 3.846 GB, free: 103.7 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.49e-05/9.003, allocations: 45.69 kB / 3.846 GB, free: 103.7 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001833/9.003, allocations: 68.38 kB / 3.846 GB, free: 103.6 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/9.005, allocations: 0.9563 MB / 3.847 GB, free: 102.6 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/9.005, allocations: 7.938 kB / 3.847 GB, free: 102.6 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.578e-05/9.005, allocations: 20 kB / 3.847 GB, free: 102.6 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/9.005, allocations: 20 kB / 3.847 GB, free: 102.5 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/9.006, allocations: 0.7531 MB / 3.848 GB, free: 101.8 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.004537/9.011, allocations: 4.722 MB / 3.853 GB, free: 96.74 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001866/9.012, allocations: 4.062 MB / 3.857 GB, free: 91.85 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004467/9.013, allocations: 350.5 kB / 3.857 GB, free: 91.5 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00028/9.013, allocations: 202.2 kB / 3.857 GB, free: 91.27 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004576/9.014, allocations: 329.7 kB / 3.857 GB, free: 90.93 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005601/9.014, allocations: 31.69 kB / 3.858 GB, free: 90.9 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=36): time 3.516e-06/9.014, allocations: 0 / 3.858 GB, free: 90.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=36): time 0.004473/9.019, allocations: 1.559 MB / 3.859 GB, free: 89.31 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/9.019, allocations: 89.11 kB / 3.859 GB, free: 89.2 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001585/9.02, allocations: 1.169 MB / 3.86 GB, free: 88.02 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.624e-05/9.02, allocations: 45.64 kB / 3.86 GB, free: 87.97 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003964/9.021, allocations: 0.5239 MB / 3.861 GB, free: 87.44 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/9.021, allocations: 126.2 kB / 3.861 GB, free: 87.31 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-05/9.021, allocations: 12 kB / 3.861 GB, free: 87.3 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.256e-05/9.021, allocations: 326 kB / 3.861 GB, free: 86.98 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003435/9.021, allocations: 209 kB / 3.861 GB, free: 86.77 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005133/9.022, allocations: 0.5542 MB / 3.862 GB, free: 86.07 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007751/9.023, allocations: 0.653 MB / 3.863 GB, free: 85.34 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/9.023, allocations: 4 kB / 3.863 GB, free: 85.34 MB / 0.6667 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002134/9.025, allocations: 1.056 MB / 3.864 GB, free: 84.26 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001575/9.025, allocations: 290 kB / 3.864 GB, free: 83.89 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/9.025, allocations: 8 kB / 3.864 GB, free: 83.89 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001171/9.026, allocations: 380.5 kB / 3.864 GB, free: 83.52 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003733/9.027, allocations: 91.83 kB / 3.864 GB, free: 83.43 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/9.028, allocations: 1.665 MB / 3.866 GB, free: 81.71 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/9.029, allocations: 104.4 kB / 3.866 GB, free: 81.61 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.731e-05/9.029, allocations: 24 kB / 3.866 GB, free: 81.59 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/9.029, allocations: 4 kB / 3.866 GB, free: 81.58 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001356/9.031, allocations: 0.8023 MB / 3.867 GB, free: 80.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/9.031, allocations: 7.938 kB / 3.867 GB, free: 80.76 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004531/9.031, allocations: 216.6 kB / 3.867 GB, free: 80.55 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/9.032, allocations: 92.02 kB / 3.867 GB, free: 80.46 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003374/9.035, allocations: 2.894 MB / 3.87 GB, free: 77.44 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/9.036, allocations: 99.8 kB / 3.87 GB, free: 77.34 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-05/9.036, allocations: 27.94 kB / 3.87 GB, free: 77.31 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 (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 10} Notification: Performance of prepare postOptimizeDAE: time 0.0007644/9.037, allocations: 480.9 kB / 3.871 GB, free: 76.83 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002613/9.037, allocations: 106.7 kB / 3.871 GB, free: 76.73 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001392/9.039, allocations: 0.8049 MB / 3.872 GB, free: 75.9 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/9.039, allocations: 4 kB / 3.872 GB, free: 75.9 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/9.039, allocations: 0 / 3.872 GB, free: 75.9 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/9.039, allocations: 3.938 kB / 3.872 GB, free: 75.89 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.003022/9.042, allocations: 2.154 MB / 3.874 GB, free: 73.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/9.042, allocations: 4.188 kB / 3.874 GB, free: 73.59 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002452/9.042, allocations: 60.16 kB / 3.874 GB, free: 73.54 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003643/9.042, allocations: 196.6 kB / 3.874 GB, free: 73.34 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.063e-05/9.042, allocations: 15.92 kB / 3.874 GB, free: 73.32 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008949/9.043, allocations: 1.467 MB / 3.875 GB, free: 71.81 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/9.043, allocations: 8.031 kB / 3.875 GB, free: 71.8 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/9.045, allocations: 0.862 MB / 3.876 GB, free: 70.89 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005379/9.045, allocations: 231.7 kB / 3.876 GB, free: 70.64 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002161/9.045, allocations: 19.92 kB / 3.876 GB, free: 70.62 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008572/9.046, allocations: 79.77 kB / 3.877 GB, free: 70.55 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/9.046, allocations: 31.95 kB / 3.877 GB, free: 70.52 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/9.046, allocations: 11.98 kB / 3.877 GB, free: 70.5 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001369/9.048, allocations: 0.8249 MB / 3.877 GB, free: 69.67 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.01e-07/9.048, allocations: 0 / 3.877 GB, free: 69.67 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002509/9.05, allocations: 0.605 MB / 3.878 GB, free: 69.07 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 (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001998/9.052, allocations: 1.07 MB / 3.879 GB, free: 67.98 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002846/9.055, allocations: 1.287 MB / 3.88 GB, free: 66.66 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/9.055, allocations: 4 kB / 3.88 GB, free: 66.66 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006409/9.056, allocations: 316.2 kB / 3.881 GB, free: 66.35 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004041/9.06, allocations: 0.641 MB / 3.881 GB, free: 65.71 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004176/9.064, allocations: 2.216 MB / 3.883 GB, free: 63.44 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008851/9.065, allocations: 1.217 MB / 3.885 GB, free: 62.19 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001361/9.066, allocations: 388.6 kB / 3.885 GB, free: 61.81 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001915/9.066, allocations: 67.42 kB / 3.885 GB, free: 61.75 MB / 0.6667 GB Notification: Performance of SimCode: time 1.152e-06/9.066, allocations: 0 / 3.885 GB, free: 61.75 MB / 0.6667 GB Notification: Performance of Templates: time 0.05109/9.118, allocations: 33.54 MB / 3.918 GB, free: 28.32 MB / 0.6667 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)