Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 176.1 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.7828/0.7828, allocations: 130.7 MB / 138.7 MB, free: 3.555 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.463/1.463, allocations: 221.5 MB / 391.8 MB, free: 14.24 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.001003/0.001002, allocations: 96.16 kB / 473.9 MB, free: 4.496 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.864e-05/1.867e-05, allocations: 4 kB / 0.5485 GB, free: 13.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5627/0.5628, allocations: 81.57 MB / 0.6282 GB, free: 42.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.309/5.872, allocations: 1.834 GB / 2.462 GB, free: 119.1 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/5.872, allocations: 96.69 kB / 2.462 GB, free: 119 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 8.276/14.15, allocations: 1.986 GB / 4.448 GB, free: 133.3 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.587e-06/14.15, allocations: 0 / 4.448 GB, free: 133.3 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002889/14.15, allocations: 39.41 kB / 4.448 GB, free: 133.3 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.005865/14.15, allocations: 1.272 MB / 4.449 GB, free: 132.1 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.617e-05/14.15, allocations: 8.031 kB / 4.449 GB, free: 132.1 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0018/14.16, allocations: 202.3 kB / 4.45 GB, free: 131.9 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00442/14.16, allocations: 1.448 MB / 4.451 GB, free: 130.4 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.177e-05/14.16, allocations: 16 kB / 4.451 GB, free: 130.4 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001736/14.16, allocations: 46.64 kB / 4.451 GB, free: 130.3 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001103/14.16, allocations: 0.7013 MB / 4.452 GB, free: 129.6 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/14.16, allocations: 0.8515 MB / 4.453 GB, free: 128.7 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/14.16, allocations: 0 / 4.453 GB, free: 128.7 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.336e-05/14.16, allocations: 4 kB / 4.453 GB, free: 128.7 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/14.16, allocations: 12 kB / 4.453 GB, free: 128.7 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.004527/14.17, allocations: 4.582 MB / 4.457 GB, free: 123.9 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/14.17, allocations: 4.023 MB / 4.461 GB, free: 119 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003512/14.17, allocations: 336 kB / 4.461 GB, free: 118.7 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002688/14.17, allocations: 190.2 kB / 4.462 GB, free: 118.5 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003595/14.17, allocations: 308.5 kB / 4.462 GB, free: 118.1 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004148/14.17, allocations: 15.78 kB / 4.462 GB, free: 118.1 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=36): time 2.424e-06/14.17, allocations: 0 / 4.462 GB, free: 118.1 MB / 0.6667 GB Notification: Performance of matching and sorting (n=36): time 0.001719/14.17, allocations: 0.8302 MB / 4.463 GB, free: 117.3 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/14.17, allocations: 87.86 kB / 4.463 GB, free: 117.2 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009969/14.17, allocations: 0.8989 MB / 4.464 GB, free: 116.3 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.816e-05/14.17, allocations: 29.7 kB / 4.464 GB, free: 116.3 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003214/14.17, allocations: 0.5238 MB / 4.464 GB, free: 115.7 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.835e-05/14.17, allocations: 126.2 kB / 4.464 GB, free: 115.6 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.292e-05/14.17, allocations: 0 / 4.464 GB, free: 115.6 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 6.609e-05/14.17, allocations: 336.5 kB / 4.465 GB, free: 115.3 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002245/14.17, allocations: 201 kB / 4.465 GB, free: 115.1 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003785/14.18, allocations: 0.5333 MB / 4.465 GB, free: 114.4 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003258/14.18, allocations: 301.5 kB / 4.466 GB, free: 114.1 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/14.18, allocations: 0 / 4.466 GB, free: 114.1 MB / 0.6667 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001508/14.18, allocations: 0.9854 MB / 4.467 GB, free: 113.1 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004486/14.18, allocations: 2.222 MB / 4.469 GB, free: 110.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/14.18, allocations: 8 kB / 4.469 GB, free: 110.8 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004414/14.18, allocations: 252.2 kB / 4.469 GB, free: 110.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003025/14.18, allocations: 71.88 kB / 4.469 GB, free: 110.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009271/14.18, allocations: 1.161 MB / 4.47 GB, free: 109.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009982/14.18, allocations: 95.8 kB / 4.47 GB, free: 109.2 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.619e-05/14.18, allocations: 27.98 kB / 4.47 GB, free: 109.1 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/14.18, allocations: 9.203 kB / 4.47 GB, free: 109.1 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009994/14.18, allocations: 0.6721 MB / 4.471 GB, free: 108.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/14.18, allocations: 7.938 kB / 4.471 GB, free: 108.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005182/14.18, allocations: 228.7 kB / 4.471 GB, free: 108.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002833/14.18, allocations: 83.81 kB / 4.471 GB, free: 108.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002914/14.19, allocations: 2.958 MB / 4.474 GB, free: 105.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009083/14.19, allocations: 83.81 kB / 4.474 GB, free: 105 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.389e-05/14.19, allocations: 27.98 kB / 4.474 GB, free: 105 MB / 0.6667 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 35 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0001466/14.19, allocations: 130.7 kB / 4.474 GB, free: 104.8 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/14.19, allocations: 102.7 kB / 4.475 GB, free: 104.7 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/14.19, allocations: 0.7454 MB / 4.475 GB, free: 104 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/14.19, allocations: 4 kB / 4.475 GB, free: 104 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/14.19, allocations: 0 / 4.475 GB, free: 104 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/14.19, allocations: 7.938 kB / 4.475 GB, free: 104 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 postOpt removeSimpleEquations (simulation): time 0.002556/14.19, allocations: 2.041 MB / 4.477 GB, free: 101.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/14.19, allocations: 0 / 4.477 GB, free: 101.8 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/14.19, allocations: 52.2 kB / 4.477 GB, free: 101.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002666/14.19, allocations: 162.5 kB / 4.477 GB, free: 101.6 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/14.19, allocations: 12 kB / 4.477 GB, free: 101.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005622/14.19, allocations: 0.8996 MB / 4.478 GB, free: 100.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/14.19, allocations: 3.953 kB / 4.478 GB, free: 100.6 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009446/14.19, allocations: 0.9131 MB / 4.479 GB, free: 99.64 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003604/14.19, allocations: 227.8 kB / 4.479 GB, free: 99.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/14.19, allocations: 0 / 4.479 GB, free: 99.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007183/14.19, allocations: 79.75 kB / 4.48 GB, free: 99.32 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.548e-05/14.19, allocations: 39.84 kB / 4.48 GB, free: 99.29 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/14.19, allocations: 15.98 kB / 4.48 GB, free: 99.27 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007423/14.19, allocations: 0.6986 MB / 4.48 GB, free: 98.56 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.91e-07/14.19, allocations: 4 kB / 4.48 GB, free: 98.56 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001768/14.2, allocations: 0.5726 MB / 4.481 GB, free: 97.99 MB / 0.6667 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * 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 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.001769/14.2, allocations: 1.285 MB / 4.482 GB, free: 96.86 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001397/14.2, allocations: 1.077 MB / 4.483 GB, free: 95.75 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/14.2, allocations: 0 / 4.483 GB, free: 95.75 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003196/14.2, allocations: 239.3 kB / 4.483 GB, free: 95.52 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003023/14.2, allocations: 0.5916 MB / 4.484 GB, free: 94.94 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/14.2, allocations: 1.424 MB / 4.485 GB, free: 93.46 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006353/14.21, allocations: 1.238 MB / 4.487 GB, free: 92.2 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001854/14.21, allocations: 0.7297 MB / 4.487 GB, free: 91.47 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/14.21, allocations: 47.44 kB / 4.487 GB, free: 91.43 MB / 0.6667 GB Notification: Performance of SimCode: time 7.42e-07/14.21, allocations: 0 / 4.487 GB, free: 91.43 MB / 0.6667 GB Notification: Performance of Templates: time 0.03966/14.25, allocations: 25.95 MB / 4.513 GB, free: 65.75 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)