Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009463/0.009463, allocations: 171.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.8259/0.8259, allocations: 135.2 MB / 151.1 MB, free: 13.82 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.631/1.631, allocations: 223.2 MB / 406.9 MB, free: 3.227 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.0009153/0.0009156, allocations: 96.14 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004341/0.0004343, allocations: 16 kB / 0.5691 GB, free: 14.16 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.496/0.4965, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.668/5.165, allocations: 1.832 GB / 2.482 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003538/5.165, allocations: 95.94 kB / 2.482 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.871/12.04, allocations: 1.802 GB / 4.284 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.114e-06/12.04, allocations: 0 / 4.284 GB, free: 146.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001785/12.04, allocations: 31.98 kB / 4.284 GB, free: 146.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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.003565/12.04, allocations: 1.426 MB / 4.285 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/12.04, allocations: 8.031 kB / 4.285 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000811/12.04, allocations: 193.4 kB / 4.285 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002424/12.04, allocations: 1.081 MB / 4.286 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.38e-05/12.04, allocations: 49 kB / 4.286 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.558e-05/12.04, allocations: 59.98 kB / 4.286 GB, free: 144 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/12.04, allocations: 0.7693 MB / 4.287 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/12.04, allocations: 3.938 kB / 4.287 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.173e-05/12.04, allocations: 24 kB / 4.287 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/12.04, allocations: 12 kB / 4.287 GB, free: 143.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007863/12.05, allocations: 0.515 MB / 4.288 GB, free: 142.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.004174/12.05, allocations: 4.607 MB / 4.292 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006703/12.05, allocations: 422.4 kB / 4.293 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003211/12.05, allocations: 198.2 kB / 4.293 GB, free: 137 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004409/12.05, allocations: 298.4 kB / 4.293 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 2.154e-06/12.05, allocations: 0 / 4.293 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.001376/12.05, allocations: 0.645 MB / 4.294 GB, free: 136 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/12.05, allocations: 81.11 kB / 4.294 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/12.05, allocations: 0.9873 MB / 4.295 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.31e-05/12.05, allocations: 33.7 kB / 4.295 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003234/12.05, allocations: 493.4 kB / 4.295 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.556e-05/12.05, allocations: 106.5 kB / 4.295 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.96e-05/12.05, allocations: 15.94 kB / 4.295 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.474e-05/12.05, allocations: 325.9 kB / 4.296 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002924/12.05, allocations: 188.7 kB / 4.296 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004565/12.06, allocations: 0.5044 MB / 4.296 GB, free: 133.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004022/12.06, allocations: 296.2 kB / 4.297 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/12.06, allocations: 0 / 4.297 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009686/12.06, allocations: 0.6775 MB / 4.297 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000596/12.06, allocations: 2.136 MB / 4.299 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/12.06, allocations: 7.938 kB / 4.299 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.667e-05/12.06, allocations: 12 kB / 4.299 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004356/12.06, allocations: 111.8 kB / 4.299 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/12.06, allocations: 8 kB / 4.299 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008881/12.06, allocations: 107.4 kB / 4.3 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.737e-05/12.06, allocations: 27.98 kB / 4.3 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/12.06, allocations: 7.953 kB / 4.3 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007925/12.06, allocations: 0.5359 MB / 4.3 GB, free: 129 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/12.06, allocations: 8 kB / 4.3 GB, free: 129 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/12.06, allocations: 8.656 kB / 4.3 GB, free: 129 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003596/12.06, allocations: 107.8 kB / 4.3 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/12.06, allocations: 11.98 kB / 4.3 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007813/12.06, allocations: 103.5 kB / 4.3 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.124e-05/12.06, allocations: 20 kB / 4.3 GB, free: 128.7 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_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005449/12.06, allocations: 469 kB / 4.301 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/12.06, allocations: 106.7 kB / 4.301 GB, free: 128.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008818/12.06, allocations: 0.495 MB / 4.301 GB, free: 127.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/12.06, allocations: 7.984 kB / 4.301 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/12.06, allocations: 4 kB / 4.301 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/12.06, allocations: 3.984 kB / 4.301 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00211/12.06, allocations: 1.391 MB / 4.303 GB, free: 126.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/12.06, allocations: 0 / 4.303 GB, free: 126.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002337/12.06, allocations: 67.89 kB / 4.303 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.455e-06/12.06, allocations: 4 kB / 4.303 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/12.06, allocations: 12.22 kB / 4.303 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-06/12.06, allocations: 4 kB / 4.303 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/12.06, allocations: 7.938 kB / 4.303 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007313/12.07, allocations: 0.692 MB / 4.304 GB, free: 125.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004504/12.07, allocations: 219.8 kB / 4.304 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000163/12.07, allocations: 8 kB / 4.304 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005649/12.07, allocations: 55.8 kB / 4.304 GB, free: 125 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.987e-05/12.07, allocations: 39.84 kB / 4.304 GB, free: 125 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/12.07, allocations: 16 kB / 4.304 GB, free: 125 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008956/12.07, allocations: 0.7836 MB / 4.305 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.5e-07/12.07, allocations: 0 / 4.305 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001626/12.07, allocations: 483.6 kB / 4.305 GB, free: 123.7 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001626/12.07, allocations: 0.8877 MB / 4.306 GB, free: 122.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001343/12.07, allocations: 0.8031 MB / 4.307 GB, free: 122 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/12.07, allocations: 0 / 4.307 GB, free: 122 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003324/12.07, allocations: 208.4 kB / 4.307 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001971/12.07, allocations: 454.5 kB / 4.307 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003175/12.08, allocations: 1.968 MB / 4.309 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007608/12.08, allocations: 1.193 MB / 4.31 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00127/12.08, allocations: 439.5 kB / 4.311 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002118/12.08, allocations: 75.42 kB / 4.311 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of SimCode: time 1.082e-06/12.08, allocations: 0 / 4.311 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of Templates: time 0.04234/12.12, allocations: 26.72 MB / 4.337 GB, free: 91.04 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)