Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007347/0.007347, allocations: 170.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7539/0.7539, allocations: 135.2 MB / 151.1 MB, free: 13.83 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.645/1.645, allocations: 223.2 MB / 406.9 MB, free: 3.129 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.001008/0.001008, allocations: 90.95 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003693/0.0003693, allocations: 15.94 kB / 0.5691 GB, free: 14.16 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4754/0.4758, allocations: 82.3 MB / 0.6495 GB, free: 36.18 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.842/5.318, allocations: 1.835 GB / 2.484 GB, free: 103 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/5.318, allocations: 94.89 kB / 2.484 GB, free: 103 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.238/9.556, allocations: 1.09 GB / 3.574 GB, free: 52.57 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.946e-06/9.556, allocations: 4 kB / 3.574 GB, free: 52.57 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001115/9.556, allocations: 27.98 kB / 3.574 GB, free: 52.54 MB / 0.6823 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.004986/9.561, allocations: 1.57 MB / 3.576 GB, free: 50.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/9.561, allocations: 16.02 kB / 3.576 GB, free: 50.89 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/9.562, allocations: 198.3 kB / 3.576 GB, free: 50.69 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003776/9.566, allocations: 1.461 MB / 3.577 GB, free: 49.18 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.106e-05/9.566, allocations: 53.3 kB / 3.577 GB, free: 49.12 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/9.566, allocations: 64 kB / 3.577 GB, free: 49.06 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/9.567, allocations: 0.9517 MB / 3.578 GB, free: 48.04 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/9.567, allocations: 4 kB / 3.578 GB, free: 48.03 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.317e-05/9.567, allocations: 20 kB / 3.578 GB, free: 48.01 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/9.568, allocations: 23.94 kB / 3.578 GB, free: 47.99 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/9.569, allocations: 0.757 MB / 3.579 GB, free: 47.23 MB / 0.6823 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.004295/9.573, allocations: 4.703 MB / 3.584 GB, free: 42.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001748/9.575, allocations: 4.008 MB / 3.588 GB, free: 37.36 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002739/9.575, allocations: 198.2 kB / 3.588 GB, free: 37.13 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004738/9.575, allocations: 334.6 kB / 3.588 GB, free: 36.79 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005573/9.576, allocations: 39.59 kB / 3.588 GB, free: 36.75 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 2.735e-06/9.576, allocations: 0 / 3.588 GB, free: 36.75 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36): time 0.003422/9.579, allocations: 1.436 MB / 3.59 GB, free: 35.29 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/9.579, allocations: 93.03 kB / 3.59 GB, free: 35.18 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/9.581, allocations: 1.042 MB / 3.591 GB, free: 34.12 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.67e-05/9.581, allocations: 37.7 kB / 3.591 GB, free: 34.08 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003569/9.581, allocations: 0.5127 MB / 3.591 GB, free: 33.56 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.71e-05/9.581, allocations: 122.2 kB / 3.591 GB, free: 33.44 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/9.581, allocations: 16 kB / 3.591 GB, free: 33.43 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.265e-05/9.581, allocations: 330 kB / 3.592 GB, free: 33.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000318/9.582, allocations: 209 kB / 3.592 GB, free: 32.89 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005/9.582, allocations: 0.5482 MB / 3.592 GB, free: 32.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003927/9.583, allocations: 327.8 kB / 3.593 GB, free: 31.88 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/9.583, allocations: 3.938 kB / 3.593 GB, free: 31.87 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001439/9.584, allocations: 1.002 MB / 3.594 GB, free: 30.85 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004885/9.585, allocations: 2.225 MB / 3.596 GB, free: 28.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/9.585, allocations: 8 kB / 3.596 GB, free: 28.45 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006232/9.585, allocations: 326.2 kB / 3.596 GB, free: 28.13 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003052/9.586, allocations: 83.83 kB / 3.596 GB, free: 28.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/9.587, allocations: 1.114 MB / 3.597 GB, free: 26.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/9.588, allocations: 99.73 kB / 3.597 GB, free: 26.81 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.012e-05/9.588, allocations: 31.98 kB / 3.598 GB, free: 26.78 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/9.588, allocations: 4 kB / 3.598 GB, free: 26.77 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001367/9.59, allocations: 0.8261 MB / 3.598 GB, free: 25.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/9.59, allocations: 8 kB / 3.598 GB, free: 25.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005246/9.59, allocations: 248.6 kB / 3.599 GB, free: 25.69 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002816/9.59, allocations: 83.78 kB / 3.599 GB, free: 25.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003536/9.594, allocations: 3.165 MB / 3.602 GB, free: 22.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/9.595, allocations: 99.8 kB / 3.602 GB, free: 22.21 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.581e-05/9.595, allocations: 24 kB / 3.602 GB, free: 22.19 MB / 0.6823 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.0007769/9.596, allocations: 484.9 kB / 3.602 GB, free: 21.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/9.596, allocations: 110.6 kB / 3.602 GB, free: 21.59 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001305/9.597, allocations: 0.8165 MB / 3.603 GB, free: 20.76 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/9.598, allocations: 4 kB / 3.603 GB, free: 20.76 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/9.598, allocations: 0 / 3.603 GB, free: 20.76 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/9.598, allocations: 0 / 3.603 GB, free: 20.76 MB / 0.6823 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.002967/9.601, allocations: 2.202 MB / 3.605 GB, free: 18.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/9.601, allocations: 4 kB / 3.605 GB, free: 18.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002276/9.601, allocations: 56.16 kB / 3.605 GB, free: 18.36 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004721/9.601, allocations: 240.8 kB / 3.606 GB, free: 18.12 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/9.601, allocations: 8 kB / 3.606 GB, free: 18.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007706/9.602, allocations: 0.9306 MB / 3.607 GB, free: 17.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/9.602, allocations: 4 kB / 3.607 GB, free: 17.15 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/9.603, allocations: 0.998 MB / 3.608 GB, free: 16.07 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005413/9.604, allocations: 231.7 kB / 3.608 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/9.604, allocations: 11.98 kB / 3.608 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006717/9.605, allocations: 79.88 kB / 3.608 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/9.605, allocations: 39.83 kB / 3.608 GB, free: 15.69 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/9.605, allocations: 19.98 kB / 3.608 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001006/9.606, allocations: 0.825 MB / 3.609 GB, free: 14.84 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/9.606, allocations: 0 / 3.609 GB, free: 14.84 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001995/9.608, allocations: 0.6089 MB / 3.609 GB, free: 14.23 MB / 0.6823 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.001747/9.61, allocations: 1.126 MB / 3.61 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002573/9.612, allocations: 1.295 MB / 3.612 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/9.612, allocations: 0 / 3.612 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005591/9.613, allocations: 320.6 kB / 3.612 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003094/9.616, allocations: 0.6468 MB / 3.613 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003106/9.619, allocations: 2.247 MB / 3.615 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005837/9.62, allocations: 1.24 MB / 3.616 GB, free: 7.238 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001204/9.621, allocations: 380.6 kB / 3.616 GB, free: 6.863 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/9.621, allocations: 75.42 kB / 3.616 GB, free: 6.789 MB / 0.6823 GB Notification: Performance of SimCode: time 1.243e-06/9.621, allocations: 0 / 3.616 GB, free: 6.789 MB / 0.6823 GB Notification: Performance of Templates: time 0.5372/10.16, allocations: 33.98 MB / 3.65 GB, free: 162.6 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)