Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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/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/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.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01188/0.01188, 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/package.mo): time 0.7731/0.7731, allocations: 132.3 MB / 148.1 MB, free: 208 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.588/1.588, allocations: 223.2 MB / 403.2 MB, free: 6.641 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.000978/0.0009781, allocations: 101 kB / 485.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003492, allocations: 12 kB / 0.5641 GB, free: 2.059 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5142/0.5146, allocations: 81.58 MB / 0.6438 GB, free: 39.32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.863/5.378, allocations: 1.832 GB / 2.476 GB, free: 173.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/5.378, allocations: 95.77 kB / 2.476 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.801/9.179, allocations: 1.081 GB / 3.556 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.276e-06/9.179, allocations: 7.938 kB / 3.556 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001022/9.179, allocations: 39.92 kB / 3.556 GB, free: 134.2 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.004727/9.184, allocations: 1.569 MB / 3.558 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/9.184, allocations: 12.03 kB / 3.558 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000923/9.185, allocations: 194.4 kB / 3.558 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003445/9.188, allocations: 1.441 MB / 3.56 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.295e-05/9.189, allocations: 57.2 kB / 3.56 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.319e-05/9.189, allocations: 64 kB / 3.56 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/9.19, allocations: 0.9487 MB / 3.561 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/9.19, allocations: 4 kB / 3.561 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.987e-05/9.19, allocations: 28 kB / 3.561 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/9.19, allocations: 12 kB / 3.561 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009556/9.191, allocations: 0.757 MB / 3.561 GB, free: 129 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.003675/9.195, allocations: 4.739 MB / 3.566 GB, free: 123.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/9.196, allocations: 4.055 MB / 3.57 GB, free: 119 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002619/9.196, allocations: 194.2 kB / 3.57 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004264/9.197, allocations: 327.3 kB / 3.57 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004132/9.197, allocations: 31.69 kB / 3.571 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 2.074e-06/9.197, allocations: 0 / 3.571 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36): time 0.002869/9.2, allocations: 1.298 MB / 3.572 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/9.2, allocations: 85.05 kB / 3.572 GB, free: 117 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/9.201, allocations: 1.042 MB / 3.573 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.54e-05/9.201, allocations: 37.7 kB / 3.573 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003085/9.202, allocations: 0.5166 MB / 3.573 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.462e-05/9.202, allocations: 134.2 kB / 3.574 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.137e-05/9.202, allocations: 4 kB / 3.574 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.363e-05/9.202, allocations: 329.9 kB / 3.574 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003004/9.202, allocations: 209 kB / 3.574 GB, free: 114.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004629/9.203, allocations: 0.556 MB / 3.575 GB, free: 114 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004074/9.203, allocations: 332.1 kB / 3.575 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/9.203, allocations: 7.938 kB / 3.575 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00128/9.204, allocations: 0.9631 MB / 3.576 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.00042/9.205, allocations: 2.229 MB / 3.578 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/9.205, allocations: 4 kB / 3.578 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005191/9.205, allocations: 292.1 kB / 3.578 GB, free: 110 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003507/9.206, allocations: 83.89 kB / 3.578 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/9.207, allocations: 1.661 MB / 3.58 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/9.208, allocations: 111.8 kB / 3.58 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.613e-05/9.208, allocations: 27.98 kB / 3.58 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/9.208, allocations: 4 kB / 3.58 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001233/9.21, allocations: 0.7942 MB / 3.581 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/9.21, allocations: 4.656 kB / 3.581 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004318/9.21, allocations: 222.7 kB / 3.581 GB, free: 107 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002499/9.21, allocations: 87.69 kB / 3.581 GB, free: 107 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003008/9.213, allocations: 2.956 MB / 3.584 GB, free: 103.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/9.214, allocations: 103.8 kB / 3.584 GB, free: 103.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.803e-05/9.214, allocations: 27.95 kB / 3.584 GB, free: 103.7 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 (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.0007143/9.215, allocations: 480.9 kB / 3.585 GB, free: 103.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/9.215, allocations: 106.7 kB / 3.585 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/9.216, allocations: 0.7985 MB / 3.586 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/9.216, allocations: 7.953 kB / 3.586 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/9.217, allocations: 4.188 kB / 3.586 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/9.217, allocations: 0 / 3.586 GB, free: 102.3 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.002548/9.219, allocations: 2.155 MB / 3.588 GB, free: 100 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/9.219, allocations: 4 kB / 3.588 GB, free: 100 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002397/9.219, allocations: 63.88 kB / 3.588 GB, free: 99.96 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003516/9.22, allocations: 188.6 kB / 3.588 GB, free: 99.78 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/9.22, allocations: 11.98 kB / 3.588 GB, free: 99.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008032/9.221, allocations: 1.463 MB / 3.589 GB, free: 98.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/9.221, allocations: 12.06 kB / 3.589 GB, free: 98.24 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/9.222, allocations: 0.9645 MB / 3.59 GB, free: 97.19 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004388/9.222, allocations: 231.7 kB / 3.591 GB, free: 96.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/9.222, allocations: 19.92 kB / 3.591 GB, free: 96.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006311/9.223, allocations: 75.77 kB / 3.591 GB, free: 96.85 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.046e-05/9.223, allocations: 35.91 kB / 3.591 GB, free: 96.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.528e-05/9.223, allocations: 15.98 kB / 3.591 GB, free: 96.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000881/9.224, allocations: 0.821 MB / 3.592 GB, free: 95.97 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/9.224, allocations: 0 / 3.592 GB, free: 95.97 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001701/9.226, allocations: 0.6088 MB / 3.592 GB, free: 95.36 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 (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.001356/9.227, allocations: 1.075 MB / 3.593 GB, free: 94.28 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002372/9.229, allocations: 1.268 MB / 3.594 GB, free: 92.97 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/9.229, allocations: 0 / 3.594 GB, free: 92.97 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005507/9.23, allocations: 316.2 kB / 3.595 GB, free: 92.66 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00272/9.233, allocations: 0.6497 MB / 3.595 GB, free: 92.02 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002565/9.235, allocations: 2.23 MB / 3.598 GB, free: 89.75 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005106/9.236, allocations: 1.24 MB / 3.599 GB, free: 88.48 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009882/9.237, allocations: 384.6 kB / 3.599 GB, free: 88.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/9.237, allocations: 67.44 kB / 3.599 GB, free: 88.03 MB / 0.6823 GB Notification: Performance of SimCode: time 1.083e-06/9.237, allocations: 0 / 3.599 GB, free: 88.03 MB / 0.6823 GB Notification: Performance of Templates: time 0.04248/9.279, allocations: 33.19 MB / 3.632 GB, free: 55.04 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)