Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00813/0.00813, allocations: 169.9 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.7719/0.7719, allocations: 135.2 MB / 151.1 MB, free: 13.84 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.549/1.549, allocations: 223.2 MB / 406.9 MB, free: 3.219 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.001093/0.001093, allocations: 101.6 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004677/0.0004679, allocations: 8 kB / 0.5691 GB, free: 14.17 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4853/0.4858, allocations: 82.31 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.947/5.433, allocations: 1.832 GB / 2.482 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/5.433, allocations: 90.89 kB / 2.482 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.248/12.68, allocations: 1.998 GB / 4.479 GB, free: 161.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.17e-06/12.68, allocations: 3.75 kB / 4.479 GB, free: 161.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001317/12.68, allocations: 32.94 kB / 4.48 GB, free: 161.9 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.005374/12.69, allocations: 1.575 MB / 4.481 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/12.69, allocations: 6.781 kB / 4.481 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/12.69, allocations: 207 kB / 4.481 GB, free: 161.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003703/12.69, allocations: 1.447 MB / 4.483 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.84e-05/12.69, allocations: 46 kB / 4.483 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.77e-05/12.69, allocations: 64.19 kB / 4.483 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/12.69, allocations: 0.9541 MB / 4.484 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/12.69, allocations: 9.078 kB / 4.484 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.794e-05/12.69, allocations: 25.03 kB / 4.484 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/12.69, allocations: 14.72 kB / 4.484 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/12.7, allocations: 0.754 MB / 4.484 GB, free: 160.6 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.004515/12.7, allocations: 4.725 MB / 4.489 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001959/12.7, allocations: 4.064 MB / 4.493 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002924/12.7, allocations: 198.6 kB / 4.493 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004738/12.7, allocations: 339 kB / 4.494 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005085/12.7, allocations: 30.36 kB / 4.494 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 2.304e-06/12.7, allocations: 0 / 4.494 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36): time 0.003078/12.71, allocations: 1.301 MB / 4.495 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/12.71, allocations: 88.91 kB / 4.495 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/12.71, allocations: 1.042 MB / 4.496 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.474e-05/12.71, allocations: 33.58 kB / 4.496 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003727/12.71, allocations: 0.5181 MB / 4.497 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.925e-05/12.71, allocations: 130.8 kB / 4.497 GB, free: 151.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.325e-05/12.71, allocations: 11.62 kB / 4.497 GB, free: 151.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.434e-05/12.71, allocations: 329.1 kB / 4.497 GB, free: 151 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003355/12.71, allocations: 209.9 kB / 4.497 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005287/12.71, allocations: 0.5565 MB / 4.498 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004296/12.71, allocations: 322.6 kB / 4.498 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/12.71, allocations: 3.938 kB / 4.498 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001439/12.71, allocations: 0.9781 MB / 4.499 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004932/12.71, allocations: 2.22 MB / 4.501 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/12.71, allocations: 10.77 kB / 4.501 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005024/12.71, allocations: 239.4 kB / 4.501 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002814/12.71, allocations: 86.38 kB / 4.501 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008533/12.71, allocations: 1.006 MB / 4.502 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/12.71, allocations: 98.25 kB / 4.503 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-05/12.71, allocations: 28.92 kB / 4.503 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/12.71, allocations: 7.062 kB / 4.503 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001343/12.72, allocations: 0.7924 MB / 4.503 GB, free: 146 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/12.72, allocations: 7.875 kB / 4.503 GB, free: 146 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004959/12.72, allocations: 227 kB / 4.504 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/12.72, allocations: 70.92 kB / 4.504 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003089/12.72, allocations: 2.942 MB / 4.507 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/12.72, allocations: 102.2 kB / 4.507 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.005e-05/12.72, allocations: 31.3 kB / 4.507 GB, free: 143.6 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): 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.0008015/12.72, allocations: 473.8 kB / 4.507 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/12.72, allocations: 116.6 kB / 4.507 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001345/12.72, allocations: 0.7822 MB / 4.508 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/12.72, allocations: 3.375 kB / 4.508 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/12.72, allocations: 6.938 kB / 4.508 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/12.72, allocations: 3.984 kB / 4.508 GB, free: 142.7 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.003461/12.73, allocations: 2.138 MB / 4.51 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/12.73, allocations: 3.844 kB / 4.51 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002086/12.73, allocations: 52.5 kB / 4.51 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003946/12.73, allocations: 183.3 kB / 4.51 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.12e-05/12.73, allocations: 11.92 kB / 4.51 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000722/12.73, allocations: 0.8576 MB / 4.511 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/12.73, allocations: 4 kB / 4.511 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/12.73, allocations: 0.9552 MB / 4.512 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005359/12.73, allocations: 239.6 kB / 4.512 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/12.73, allocations: 8 kB / 4.512 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006892/12.73, allocations: 86.62 kB / 4.512 GB, free: 138.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.937e-05/12.73, allocations: 35.89 kB / 4.512 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-05/12.73, allocations: 12 kB / 4.512 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001077/12.73, allocations: 0.817 MB / 4.513 GB, free: 138 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/12.73, allocations: 0 / 4.513 GB, free: 138 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002421/12.73, allocations: 0.6088 MB / 4.514 GB, free: 137.4 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): 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.00208/12.74, allocations: 1.07 MB / 4.515 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002019/12.74, allocations: 1.138 MB / 4.516 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/12.74, allocations: 0 / 4.516 GB, free: 135.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004321/12.74, allocations: 266.9 kB / 4.516 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002821/12.74, allocations: 0.6432 MB / 4.517 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003176/12.74, allocations: 2.107 MB / 4.519 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006963/12.75, allocations: 1.232 MB / 4.52 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001177/12.75, allocations: 390.8 kB / 4.521 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/12.75, allocations: 75.42 kB / 4.521 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of SimCode: time 1.593e-06/12.75, allocations: 0 / 4.521 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of Templates: time 0.05001/12.8, allocations: 33.36 MB / 4.553 GB, free: 98.22 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)