Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007407/0.007407, allocations: 171.2 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.764/0.764, allocations: 135.2 MB / 151.1 MB, free: 13.79 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.586/1.586, allocations: 223.2 MB / 406.9 MB, free: 3.211 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.001105/0.001105, allocations: 104.5 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003827/0.0003827, allocations: 12 kB / 0.5691 GB, free: 14.19 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4967/0.4971, allocations: 82.3 MB / 0.6495 GB, free: 36.19 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.035/5.532, allocations: 1.832 GB / 2.482 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/5.532, allocations: 96.27 kB / 2.482 GB, free: 105.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.814/12.35, allocations: 1.804 GB / 4.285 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.627e-06/12.35, allocations: 0 / 4.285 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001161/12.35, allocations: 35.86 kB / 4.285 GB, free: 114.1 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.005052/12.35, allocations: 1.506 MB / 4.287 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/12.35, allocations: 12.02 kB / 4.287 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/12.35, allocations: 178.5 kB / 4.287 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003789/12.36, allocations: 1.397 MB / 4.288 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.496e-05/12.36, allocations: 45 kB / 4.289 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/12.36, allocations: 63.95 kB / 4.289 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/12.36, allocations: 0.7927 MB / 4.289 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/12.36, allocations: 3.938 kB / 4.289 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.161e-05/12.36, allocations: 20 kB / 4.289 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/12.36, allocations: 12 kB / 4.289 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007663/12.36, allocations: 0.5384 MB / 4.29 GB, free: 109.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 preOpt removeSimpleEquations (simulation): time 0.003694/12.36, allocations: 4.217 MB / 4.294 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006289/12.36, allocations: 448.3 kB / 4.294 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002862/12.36, allocations: 198.2 kB / 4.295 GB, free: 104.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004264/12.36, allocations: 307.3 kB / 4.295 GB, free: 103.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003788/12.36, allocations: 47.69 kB / 4.295 GB, free: 103.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 2.164e-06/12.36, allocations: 0 / 4.295 GB, free: 103.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.00327/12.37, allocations: 1.357 MB / 4.296 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/12.37, allocations: 81.11 kB / 4.296 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/12.37, allocations: 1.016 MB / 4.297 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.947e-05/12.37, allocations: 41.7 kB / 4.297 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003138/12.37, allocations: 493.7 kB / 4.298 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.314e-05/12.37, allocations: 118.4 kB / 4.298 GB, free: 100.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.449e-05/12.37, allocations: 12 kB / 4.298 GB, free: 100.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.777e-05/12.37, allocations: 322 kB / 4.298 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003012/12.37, allocations: 205 kB / 4.299 GB, free: 100.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004576/12.37, allocations: 0.537 MB / 4.299 GB, free: 99.39 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000389/12.37, allocations: 309.9 kB / 4.299 GB, free: 99.09 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/12.37, allocations: 4 kB / 4.299 GB, free: 99.08 MB / 0.6823 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001313/12.37, allocations: 0.9682 MB / 4.3 GB, free: 98.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004569/12.37, allocations: 2.14 MB / 4.302 GB, free: 95.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/12.37, allocations: 4 kB / 4.302 GB, free: 95.79 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005671/12.37, allocations: 248.5 kB / 4.303 GB, free: 95.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/12.37, allocations: 71.89 kB / 4.303 GB, free: 95.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008394/12.37, allocations: 1.031 MB / 4.304 GB, free: 94.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/12.37, allocations: 87.81 kB / 4.304 GB, free: 94.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.724e-05/12.38, allocations: 28 kB / 4.304 GB, free: 94.31 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/12.38, allocations: 8 kB / 4.304 GB, free: 94.3 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001246/12.38, allocations: 0.7727 MB / 4.305 GB, free: 93.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/12.38, allocations: 4 kB / 4.305 GB, free: 93.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00057/12.38, allocations: 245.1 kB / 4.305 GB, free: 93.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/12.38, allocations: 71.84 kB / 4.305 GB, free: 93.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00321/12.38, allocations: 3.063 MB / 4.308 GB, free: 90.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/12.38, allocations: 91.81 kB / 4.308 GB, free: 89.92 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.682e-05/12.38, allocations: 20 kB / 4.308 GB, free: 89.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (35): * Single equations (assignments): 33 * 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 20} Notification: Performance of prepare postOptimizeDAE: time 0.0006818/12.38, allocations: 479.3 kB / 4.308 GB, free: 89.43 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/12.38, allocations: 102.8 kB / 4.309 GB, free: 89.32 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00127/12.38, allocations: 0.7774 MB / 4.309 GB, free: 88.52 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/12.38, allocations: 4 kB / 4.309 GB, free: 88.52 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/12.38, allocations: 7.984 kB / 4.309 GB, free: 88.51 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/12.38, allocations: 3.938 kB / 4.309 GB, free: 88.51 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002371/12.39, allocations: 1.71 MB / 4.311 GB, free: 86.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-06/12.39, allocations: 8.031 kB / 4.311 GB, free: 86.71 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/12.39, allocations: 35.84 kB / 4.311 GB, free: 86.68 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004378/12.39, allocations: 240.8 kB / 4.311 GB, free: 86.44 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.556e-05/12.39, allocations: 8 kB / 4.311 GB, free: 86.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007199/12.39, allocations: 1.007 MB / 4.312 GB, free: 85.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/12.39, allocations: 0 / 4.312 GB, free: 85.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/12.39, allocations: 0.9765 MB / 4.313 GB, free: 84.35 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004224/12.39, allocations: 231.7 kB / 4.313 GB, free: 84.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.941e-05/12.39, allocations: 11.98 kB / 4.313 GB, free: 84.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006014/12.39, allocations: 71.77 kB / 4.313 GB, free: 84.02 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.145e-05/12.39, allocations: 27.92 kB / 4.314 GB, free: 83.99 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.722e-05/12.39, allocations: 11.98 kB / 4.314 GB, free: 83.98 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008939/12.39, allocations: 0.808 MB / 4.314 GB, free: 83.16 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.31e-07/12.39, allocations: 0 / 4.314 GB, free: 83.16 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001722/12.39, allocations: 0.5465 MB / 4.315 GB, free: 82.62 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (13): * Single equations (assignments): 10 * 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 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.001383/12.39, allocations: 0.9013 MB / 4.316 GB, free: 81.72 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001769/12.4, allocations: 1.106 MB / 4.317 GB, free: 80.57 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/12.4, allocations: 4 kB / 4.317 GB, free: 80.57 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000421/12.4, allocations: 242.8 kB / 4.317 GB, free: 80.34 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002863/12.4, allocations: 0.6281 MB / 4.318 GB, free: 79.72 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002718/12.4, allocations: 1.994 MB / 4.32 GB, free: 77.67 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000533/12.4, allocations: 1.208 MB / 4.321 GB, free: 76.43 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009851/12.4, allocations: 308.4 kB / 4.321 GB, free: 76.13 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/12.4, allocations: 63.44 kB / 4.321 GB, free: 76.07 MB / 0.6823 GB Notification: Performance of SimCode: time 1.172e-06/12.4, allocations: 0 / 4.321 GB, free: 76.07 MB / 0.6823 GB Notification: Performance of Templates: time 0.04258/12.45, allocations: 31.42 MB / 4.352 GB, free: 44.85 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)