Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01027/0.01027, allocations: 172 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/package.mo): time 0.8619/0.8619, allocations: 132.3 MB / 148.1 MB, free: 276 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.595/1.595, allocations: 223.2 MB / 403.2 MB, free: 6.742 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.001076/0.001075, allocations: 106.3 kB / 485.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004466/0.0004467, allocations: 8 kB / 0.5641 GB, free: 2.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4932/0.4937, allocations: 81.58 MB / 0.6438 GB, free: 39.26 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.957/5.451, allocations: 1.832 GB / 2.476 GB, free: 132 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/5.451, allocations: 97.47 kB / 2.476 GB, free: 132 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.412/12.86, allocations: 1.998 GB / 4.474 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.665e-06/12.86, allocations: 0 / 4.474 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001408/12.86, allocations: 36.59 kB / 4.474 GB, free: 166.6 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.005754/12.87, allocations: 1.582 MB / 4.475 GB, free: 166 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/12.87, allocations: 14.41 kB / 4.475 GB, free: 166 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/12.87, allocations: 197.4 kB / 4.475 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003686/12.87, allocations: 1.436 MB / 4.477 GB, free: 165.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.296e-05/12.87, allocations: 47.16 kB / 4.477 GB, free: 165.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/12.87, allocations: 67.05 kB / 4.477 GB, free: 165.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/12.88, allocations: 0.9528 MB / 4.478 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/12.88, allocations: 6.594 kB / 4.478 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.292e-05/12.88, allocations: 28.94 kB / 4.478 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.949e-05/12.88, allocations: 18.47 kB / 4.478 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/12.88, allocations: 0.7547 MB / 4.479 GB, free: 165.4 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.004641/12.88, allocations: 4.733 MB / 4.483 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002311/12.88, allocations: 4.063 MB / 4.487 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003109/12.88, allocations: 193 kB / 4.487 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005204/12.88, allocations: 334.8 kB / 4.488 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005166/12.89, allocations: 29.92 kB / 4.488 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 4.298e-06/12.89, allocations: 3.516 kB / 4.488 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36): time 0.003116/12.89, allocations: 1.313 MB / 4.489 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.074e-05/12.89, allocations: 81.8 kB / 4.489 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/12.89, allocations: 1.04 MB / 4.49 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.128e-05/12.89, allocations: 40.42 kB / 4.49 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000448/12.89, allocations: 0.5117 MB / 4.491 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000102/12.89, allocations: 135 kB / 4.491 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.36e-05/12.89, allocations: 11.66 kB / 4.491 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.49e-05/12.89, allocations: 325 kB / 4.491 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003364/12.89, allocations: 210.7 kB / 4.491 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005804/12.89, allocations: 0.5513 MB / 4.492 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004522/12.89, allocations: 325.8 kB / 4.492 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/12.89, allocations: 3.625 kB / 4.492 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001523/12.89, allocations: 0.9737 MB / 4.493 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.00076/12.89, allocations: 2.218 MB / 4.495 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/12.89, allocations: 5.531 kB / 4.495 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006117/12.9, allocations: 254.9 kB / 4.495 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003148/12.9, allocations: 73.73 kB / 4.496 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009576/12.9, allocations: 0.9992 MB / 4.496 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/12.9, allocations: 104.2 kB / 4.497 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.223e-05/12.9, allocations: 33.25 kB / 4.497 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/12.9, allocations: 7.406 kB / 4.497 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001379/12.9, allocations: 0.7773 MB / 4.497 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/12.9, allocations: 7.812 kB / 4.497 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005306/12.9, allocations: 227.4 kB / 4.498 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/12.9, allocations: 82.91 kB / 4.498 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003291/12.9, allocations: 2.938 MB / 4.501 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/12.9, allocations: 103.6 kB / 4.501 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-05/12.9, allocations: 28.28 kB / 4.501 GB, free: 151.9 MB / 0.6823 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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.0007945/12.91, allocations: 481.5 kB / 4.501 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/12.91, allocations: 114.6 kB / 4.501 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001416/12.91, allocations: 0.7876 MB / 4.502 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/12.91, allocations: 3.312 kB / 4.502 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/12.91, allocations: 4.688 kB / 4.502 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/12.91, allocations: 7.453 kB / 4.502 GB, free: 151.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 postOpt removeSimpleEquations (simulation): time 0.002978/12.91, allocations: 2.15 MB / 4.504 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/12.91, allocations: 7.031 kB / 4.504 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/12.91, allocations: 55.7 kB / 4.504 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000393/12.91, allocations: 174.2 kB / 4.504 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/12.91, allocations: 7.75 kB / 4.504 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005995/12.91, allocations: 0.8578 MB / 4.505 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/12.91, allocations: 2.594 kB / 4.505 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/12.91, allocations: 0.9673 MB / 4.506 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004664/12.91, allocations: 232.5 kB / 4.506 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/12.91, allocations: 10.09 kB / 4.506 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006401/12.91, allocations: 81.8 kB / 4.506 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/12.91, allocations: 38.27 kB / 4.506 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.601e-05/12.91, allocations: 13.5 kB / 4.507 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009763/12.91, allocations: 0.8233 MB / 4.507 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/12.91, allocations: 0 / 4.507 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002115/12.92, allocations: 0.6098 MB / 4.508 GB, free: 149.6 MB / 0.6823 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001973/12.92, allocations: 1.069 MB / 4.509 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002123/12.92, allocations: 1.133 MB / 4.51 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/12.92, allocations: 2.312 kB / 4.51 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004433/12.92, allocations: 257.4 kB / 4.51 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003095/12.92, allocations: 0.6439 MB / 4.511 GB, free: 149 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003415/12.93, allocations: 2.099 MB / 4.513 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007223/12.93, allocations: 1.24 MB / 4.514 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001235/12.93, allocations: 383.2 kB / 4.515 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/12.93, allocations: 73.2 kB / 4.515 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of SimCode: time 1.613e-06/12.93, allocations: 0 / 4.515 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of Templates: time 0.05676/12.99, allocations: 33.36 MB / 4.547 GB, free: 140 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)