Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.009778/0.009778, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7893/0.7893, allocations: 132.3 MB / 148.1 MB, free: 260 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.603/1.603, allocations: 223.2 MB / 403.2 MB, free: 6.621 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.0009332/0.0009334, allocations: 97.83 kB / 485.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003707, allocations: 15.98 kB / 0.5641 GB, free: 2.059 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4798/0.4802, allocations: 81.58 MB / 0.6438 GB, free: 39.27 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.596/5.076, allocations: 1.832 GB / 2.476 GB, free: 173 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003248/5.076, allocations: 95.94 kB / 2.476 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.994/12.07, allocations: 1.802 GB / 4.278 GB, free: 186.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.416e-06/12.07, allocations: 0 / 4.278 GB, free: 186.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001179/12.07, allocations: 28.67 kB / 4.278 GB, free: 186.5 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.003307/12.07, allocations: 1.423 MB / 4.279 GB, free: 185.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/12.07, allocations: 7.594 kB / 4.279 GB, free: 185.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007846/12.08, allocations: 188 kB / 4.279 GB, free: 185.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002152/12.08, allocations: 1.096 MB / 4.28 GB, free: 185.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.67e-05/12.08, allocations: 42.62 kB / 4.28 GB, free: 185.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.769e-05/12.08, allocations: 59.59 kB / 4.28 GB, free: 185.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/12.08, allocations: 0.7637 MB / 4.281 GB, free: 184.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/12.08, allocations: 1.688 kB / 4.281 GB, free: 184.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.263e-05/12.08, allocations: 27.2 kB / 4.281 GB, free: 184.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/12.08, allocations: 21.28 kB / 4.281 GB, free: 184.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008005/12.08, allocations: 0.5134 MB / 4.282 GB, free: 184.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.003995/12.08, allocations: 4.588 MB / 4.286 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007028/12.08, allocations: 432.6 kB / 4.287 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000334/12.08, allocations: 201 kB / 4.287 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004364/12.09, allocations: 285.6 kB / 4.287 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 2.374e-06/12.09, allocations: 0 / 4.287 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.001342/12.09, allocations: 0.6428 MB / 4.288 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/12.09, allocations: 80.73 kB / 4.288 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/12.09, allocations: 0.9818 MB / 4.289 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.503e-05/12.09, allocations: 33.42 kB / 4.289 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003745/12.09, allocations: 497 kB / 4.289 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.315e-05/12.09, allocations: 110 kB / 4.289 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.296e-05/12.09, allocations: 11.88 kB / 4.289 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.952e-05/12.09, allocations: 321.8 kB / 4.29 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003008/12.09, allocations: 193.1 kB / 4.29 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005014/12.09, allocations: 0.5108 MB / 4.29 GB, free: 177.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004149/12.09, allocations: 290.7 kB / 4.291 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/12.09, allocations: 0 / 4.291 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000966/12.09, allocations: 0.6768 MB / 4.291 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004896/12.09, allocations: 2.137 MB / 4.293 GB, free: 175 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/12.09, allocations: 3.812 kB / 4.293 GB, free: 175 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/12.09, allocations: 14.75 kB / 4.293 GB, free: 175 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004337/12.09, allocations: 104.2 kB / 4.293 GB, free: 175 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.746e-05/12.09, allocations: 14.8 kB / 4.293 GB, free: 174.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000847/12.09, allocations: 111.5 kB / 4.294 GB, free: 174.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.378e-05/12.09, allocations: 33.77 kB / 4.294 GB, free: 174.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.975e-06/12.09, allocations: 7.531 kB / 4.294 GB, free: 174.9 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007832/12.09, allocations: 0.5332 MB / 4.294 GB, free: 174.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/12.09, allocations: 7.625 kB / 4.294 GB, free: 174.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/12.09, allocations: 11.77 kB / 4.294 GB, free: 174.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003461/12.09, allocations: 110.3 kB / 4.294 GB, free: 174.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/12.09, allocations: 7.25 kB / 4.294 GB, free: 174.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006433/12.09, allocations: 97.05 kB / 4.294 GB, free: 174.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.98e-05/12.09, allocations: 25.75 kB / 4.294 GB, free: 174.5 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.0005618/12.09, allocations: 469.4 kB / 4.295 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/12.09, allocations: 104.6 kB / 4.295 GB, free: 174.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000821/12.1, allocations: 0.4966 MB / 4.295 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/12.1, allocations: 3.969 kB / 4.295 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/12.1, allocations: 0 / 4.295 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/12.1, allocations: 3.984 kB / 4.295 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00199/12.1, allocations: 1.387 MB / 4.297 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/12.1, allocations: 3.984 kB / 4.297 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002361/12.1, allocations: 65.09 kB / 4.297 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/12.1, allocations: 7.922 kB / 4.297 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/12.1, allocations: 11.38 kB / 4.297 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/12.1, allocations: 3.812 kB / 4.297 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/12.1, allocations: 2.812 kB / 4.297 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000771/12.1, allocations: 0.6982 MB / 4.298 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003483/12.1, allocations: 227.2 kB / 4.298 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.48e-05/12.1, allocations: 7.875 kB / 4.298 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004654/12.1, allocations: 50.23 kB / 4.298 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.411e-05/12.1, allocations: 41.78 kB / 4.298 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/12.1, allocations: 8 kB / 4.298 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008407/12.1, allocations: 0.7836 MB / 4.299 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.41e-07/12.1, allocations: 0 / 4.299 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001561/12.1, allocations: 477.7 kB / 4.299 GB, free: 170.8 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.001552/12.1, allocations: 0.9133 MB / 4.3 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001425/12.11, allocations: 0.8123 MB / 4.301 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/12.11, allocations: 0 / 4.301 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003245/12.11, allocations: 199.8 kB / 4.301 GB, free: 169.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00193/12.11, allocations: 456 kB / 4.301 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003091/12.11, allocations: 1.947 MB / 4.303 GB, free: 166.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006218/12.11, allocations: 1.199 MB / 4.304 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001187/12.11, allocations: 429.9 kB / 4.305 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/12.11, allocations: 71.42 kB / 4.305 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of SimCode: time 2.234e-06/12.11, allocations: 4 kB / 4.305 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of Templates: time 0.03695/12.15, allocations: 26.73 MB / 4.331 GB, free: 138.9 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)