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.01112/0.01112, allocations: 173.8 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7467/0.7467, allocations: 132.3 MB / 148.1 MB, free: 236 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.503/1.503, allocations: 223.2 MB / 403.2 MB, free: 6.758 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.000977/0.0009773, allocations: 95.92 kB / 485.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004601/0.0004604, allocations: 16 kB / 0.5641 GB, free: 2.137 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4821/0.4826, allocations: 81.59 MB / 0.6438 GB, free: 39.3 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.804/5.287, allocations: 1.835 GB / 2.478 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/5.287, allocations: 92.88 kB / 2.479 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.569/12.86, allocations: 2.008 GB / 4.486 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.803e-06/12.86, allocations: 0 / 4.486 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001088/12.86, allocations: 31.33 kB / 4.486 GB, free: 166.1 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.004761/12.86, allocations: 1.583 MB / 4.488 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/12.86, allocations: 7.062 kB / 4.488 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009795/12.86, allocations: 201.4 kB / 4.488 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003703/12.87, allocations: 1.463 MB / 4.49 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.47e-05/12.87, allocations: 49.31 kB / 4.49 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.714e-05/12.87, allocations: 68.31 kB / 4.49 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/12.87, allocations: 0.9451 MB / 4.491 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/12.87, allocations: 3.438 kB / 4.491 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.483e-05/12.87, allocations: 25.19 kB / 4.491 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/12.87, allocations: 22.14 kB / 4.491 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/12.87, allocations: 0.749 MB / 4.491 GB, free: 164.8 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.004013/12.87, allocations: 4.706 MB / 4.496 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/12.87, allocations: 4.009 MB / 4.5 GB, free: 157.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002659/12.87, allocations: 197.9 kB / 4.5 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004614/12.88, allocations: 330.5 kB / 4.501 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004152/12.88, allocations: 35.28 kB / 4.501 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 2.204e-06/12.88, allocations: 3.531 kB / 4.501 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36): time 0.003301/12.88, allocations: 1.409 MB / 4.502 GB, free: 157 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/12.88, allocations: 88.27 kB / 4.502 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/12.88, allocations: 1.045 MB / 4.503 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.4e-05/12.88, allocations: 40.67 kB / 4.503 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003503/12.88, allocations: 0.5126 MB / 4.504 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.631e-05/12.88, allocations: 127.9 kB / 4.504 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.158e-05/12.88, allocations: 5.938 kB / 4.504 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.993e-05/12.88, allocations: 327.9 kB / 4.504 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003149/12.88, allocations: 210.3 kB / 4.504 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005033/12.88, allocations: 0.555 MB / 4.505 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004206/12.88, allocations: 331 kB / 4.505 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/12.88, allocations: 0 / 4.505 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001458/12.88, allocations: 1.006 MB / 4.506 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005607/12.88, allocations: 2.231 MB / 4.508 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/12.88, allocations: 9.828 kB / 4.508 GB, free: 153.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006237/12.88, allocations: 265.3 kB / 4.508 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003468/12.89, allocations: 79.38 kB / 4.509 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009748/12.89, allocations: 1.042 MB / 4.51 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/12.89, allocations: 106.2 kB / 4.51 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.528e-05/12.89, allocations: 34.25 kB / 4.51 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/12.89, allocations: 3.812 kB / 4.51 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001336/12.89, allocations: 0.8093 MB / 4.511 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/12.89, allocations: 10.5 kB / 4.511 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005774/12.89, allocations: 253.6 kB / 4.511 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002755/12.89, allocations: 78.17 kB / 4.511 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00328/12.89, allocations: 3.141 MB / 4.514 GB, free: 151.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/12.89, allocations: 98.91 kB / 4.514 GB, free: 151.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-05/12.89, allocations: 26.66 kB / 4.514 GB, free: 151.4 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 (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.0006472/12.89, allocations: 481.5 kB / 4.514 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/12.89, allocations: 113.4 kB / 4.515 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/12.9, allocations: 0.8197 MB / 4.515 GB, free: 151 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/12.9, allocations: 3.812 kB / 4.515 GB, free: 151 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/12.9, allocations: 0 / 4.515 GB, free: 151 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/12.9, allocations: 0 / 4.515 GB, free: 151 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.002769/12.9, allocations: 2.195 MB / 4.518 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/12.9, allocations: 3.875 kB / 4.518 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002261/12.9, allocations: 53.39 kB / 4.518 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004177/12.9, allocations: 199.5 kB / 4.518 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/12.9, allocations: 13.88 kB / 4.518 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005973/12.9, allocations: 0.8803 MB / 4.519 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/12.9, allocations: 7.891 kB / 4.519 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/12.9, allocations: 0.9977 MB / 4.52 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005381/12.9, allocations: 234.9 kB / 4.52 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00021/12.9, allocations: 10.44 kB / 4.52 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008354/12.9, allocations: 81.22 kB / 4.52 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.83e-05/12.9, allocations: 37.75 kB / 4.52 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.331e-05/12.9, allocations: 11.17 kB / 4.52 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001156/12.9, allocations: 0.8303 MB / 4.521 GB, free: 149 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.2e-07/12.9, allocations: 0 / 4.521 GB, free: 149 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002323/12.91, allocations: 0.6089 MB / 4.521 GB, free: 149 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 (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.001968/12.91, allocations: 1.127 MB / 4.522 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002115/12.91, allocations: 1.149 MB / 4.524 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/12.91, allocations: 0 / 4.524 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004656/12.91, allocations: 274 kB / 4.524 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003353/12.91, allocations: 0.6539 MB / 4.525 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003662/12.92, allocations: 2.112 MB / 4.527 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007745/12.92, allocations: 1.232 MB / 4.528 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001378/12.92, allocations: 382.4 kB / 4.528 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002215/12.92, allocations: 69.75 kB / 4.528 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of SimCode: time 1.513e-06/12.92, allocations: 1.219 kB / 4.528 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of Templates: time 0.05133/12.97, allocations: 34.34 MB / 4.562 GB, free: 127.5 MB / 0.6823 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)