Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001607/0.001608, allocations: 176.2 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7661/0.7661, allocations: 130.7 MB / 138.7 MB, free: 3.516 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.69/1.69, allocations: 221.5 MB / 391.8 MB, free: 14.16 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.001178/0.001178, allocations: 96.38 kB / 473.9 MB, free: 4.461 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.175e-05/2.177e-05, allocations: 4 kB / 0.5485 GB, free: 13.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5993/0.5994, allocations: 81.57 MB / 0.6282 GB, free: 42.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.259/5.858, allocations: 1.834 GB / 2.462 GB, free: 78.22 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/5.859, allocations: 96.55 kB / 2.462 GB, free: 78.16 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.841/12.7, allocations: 1.794 GB / 4.256 GB, free: 44.54 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.783e-06/12.7, allocations: 0 / 4.256 GB, free: 44.54 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001827/12.7, allocations: 31.98 kB / 4.256 GB, free: 44.51 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002772/12.7, allocations: 1.153 MB / 4.257 GB, free: 43.3 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/12.7, allocations: 12.03 kB / 4.257 GB, free: 43.29 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/12.7, allocations: 186.5 kB / 4.257 GB, free: 43.11 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002748/12.71, allocations: 1.089 MB / 4.259 GB, free: 41.96 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.111e-05/12.71, allocations: 19.98 kB / 4.259 GB, free: 41.94 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/12.71, allocations: 43.94 kB / 4.259 GB, free: 41.9 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007906/12.71, allocations: 466.3 kB / 4.259 GB, free: 41.44 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008597/12.71, allocations: 0.6766 MB / 4.26 GB, free: 40.69 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/12.71, allocations: 0 / 4.26 GB, free: 40.69 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.781e-05/12.71, allocations: 4 kB / 4.26 GB, free: 40.68 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/12.71, allocations: 12 kB / 4.26 GB, free: 40.67 MB / 0.6667 GB Warning: The model contains alias variables with conflicting start and/or 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.003784/12.71, allocations: 4.475 MB / 4.264 GB, free: 35.83 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004836/12.71, allocations: 450.4 kB / 4.265 GB, free: 35.38 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002446/12.71, allocations: 243 kB / 4.265 GB, free: 35.14 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000274/12.71, allocations: 194.2 kB / 4.265 GB, free: 34.91 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003346/12.71, allocations: 250.8 kB / 4.265 GB, free: 34.64 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=31): time 1.943e-06/12.71, allocations: 0 / 4.265 GB, free: 34.64 MB / 0.6667 GB Notification: Performance of matching and sorting (n=31): time 0.001678/12.72, allocations: 0.7595 MB / 4.266 GB, free: 33.88 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/12.72, allocations: 89.09 kB / 4.266 GB, free: 33.77 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/12.72, allocations: 0.8482 MB / 4.267 GB, free: 32.91 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.561e-05/12.72, allocations: 29.7 kB / 4.267 GB, free: 32.87 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003088/12.72, allocations: 492.2 kB / 4.267 GB, free: 32.38 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.863e-05/12.72, allocations: 98.56 kB / 4.267 GB, free: 32.29 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.049e-05/12.72, allocations: 4 kB / 4.267 GB, free: 32.28 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 6.77e-05/12.72, allocations: 322 kB / 4.268 GB, free: 31.96 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/12.72, allocations: 176.8 kB / 4.268 GB, free: 31.79 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003797/12.72, allocations: 0.4921 MB / 4.268 GB, free: 31.15 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002959/12.72, allocations: 261.7 kB / 4.269 GB, free: 30.9 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/12.72, allocations: 3.938 kB / 4.269 GB, free: 30.89 MB / 0.6667 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001465/12.72, allocations: 0.8906 MB / 4.27 GB, free: 29.99 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004943/12.72, allocations: 2.119 MB / 4.272 GB, free: 27.71 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/12.72, allocations: 8 kB / 4.272 GB, free: 27.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003936/12.72, allocations: 224.6 kB / 4.272 GB, free: 27.48 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/12.72, allocations: 71.84 kB / 4.272 GB, free: 27.41 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008942/12.72, allocations: 1.101 MB / 4.273 GB, free: 26.28 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009563/12.72, allocations: 91.47 kB / 4.273 GB, free: 26.19 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.904e-05/12.72, allocations: 24 kB / 4.273 GB, free: 26.17 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/12.72, allocations: 4 kB / 4.273 GB, free: 26.16 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001062/12.72, allocations: 0.5902 MB / 4.274 GB, free: 25.57 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/12.72, allocations: 11.94 kB / 4.274 GB, free: 25.56 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004255/12.72, allocations: 188.8 kB / 4.274 GB, free: 25.37 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/12.72, allocations: 67.91 kB / 4.274 GB, free: 25.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002931/12.73, allocations: 2.98 MB / 4.277 GB, free: 22.19 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008221/12.73, allocations: 83.59 kB / 4.277 GB, free: 22.11 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.946e-05/12.73, allocations: 19.98 kB / 4.277 GB, free: 22.09 MB / 0.6667 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * 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.0001801/12.73, allocations: 128.8 kB / 4.277 GB, free: 21.95 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/12.73, allocations: 94.81 kB / 4.277 GB, free: 21.86 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/12.73, allocations: 0.6358 MB / 4.278 GB, free: 21.21 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/12.73, allocations: 8 kB / 4.278 GB, free: 21.2 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/12.73, allocations: 0 / 4.278 GB, free: 21.2 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/12.73, allocations: 7.984 kB / 4.278 GB, free: 21.2 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002134/12.73, allocations: 1.454 MB / 4.279 GB, free: 19.67 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/12.73, allocations: 8.219 kB / 4.279 GB, free: 19.66 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/12.73, allocations: 35.84 kB / 4.279 GB, free: 19.62 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002818/12.73, allocations: 182.7 kB / 4.279 GB, free: 19.45 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/12.73, allocations: 4 kB / 4.279 GB, free: 19.44 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000703/12.73, allocations: 0.9815 MB / 4.28 GB, free: 18.43 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/12.73, allocations: 7.969 kB / 4.28 GB, free: 18.43 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009117/12.73, allocations: 0.8454 MB / 4.281 GB, free: 17.5 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003711/12.73, allocations: 211.9 kB / 4.281 GB, free: 17.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/12.73, allocations: 11.95 kB / 4.281 GB, free: 17.26 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005811/12.73, allocations: 55.78 kB / 4.281 GB, free: 17.21 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.662e-05/12.73, allocations: 31.91 kB / 4.281 GB, free: 17.18 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.516e-05/12.74, allocations: 11.98 kB / 4.282 GB, free: 17.16 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007951/12.74, allocations: 0.6652 MB / 4.282 GB, free: 16.49 MB / 0.6667 GB Notification: Performance of sort global known variables: time 9.92e-07/12.74, allocations: 0 / 4.282 GB, free: 16.49 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001735/12.74, allocations: 491.4 kB / 4.283 GB, free: 16.01 MB / 0.6667 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001692/12.74, allocations: 1.083 MB / 4.284 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001624/12.74, allocations: 0.9778 MB / 4.285 GB, free: 13.92 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/12.74, allocations: 0 / 4.285 GB, free: 13.92 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000351/12.74, allocations: 211.1 kB / 4.285 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001775/12.74, allocations: 402.7 kB / 4.285 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002156/12.75, allocations: 1.335 MB / 4.287 GB, free: 11.93 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006867/12.75, allocations: 1.202 MB / 4.288 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.00173/12.75, allocations: 0.6471 MB / 4.288 GB, free: 10.05 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.748e-05/12.75, allocations: 43.42 kB / 4.288 GB, free: 10.01 MB / 0.6667 GB Notification: Performance of SimCode: time 7.81e-07/12.75, allocations: 3.938 kB / 4.288 GB, free: 10 MB / 0.6667 GB Notification: Performance of Templates: time 0.487/13.23, allocations: 22.39 MB / 4.31 GB, free: 177.5 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)