Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Fluid.Examples.NonCircularPipes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.NonCircularPipes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.NonCircularPipes") translateModel(Modelica.Fluid.Examples.NonCircularPipes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.NonCircularPipes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001401/0.001401, allocations: 181.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.534/1.534, allocations: 194.3 MB / 208.4 MB, free: 6.711 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001654/0.001654, allocations: 124.7 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.426e-05/3.43e-05, allocations: 4 kB / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.108, allocations: 44.5 MB / 349.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.261/7.37, allocations: 2.628 GB / 2.969 GB, free: 6.375 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/7.37, allocations: 75.97 kB / 2.969 GB, free: 6.301 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.47/9.84, allocations: 0.5462 GB / 3.515 GB, free: 36.17 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.583e-06/9.84, allocations: 0 / 3.515 GB, free: 36.17 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001362/9.84, allocations: 45.42 kB / 3.515 GB, free: 36.16 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 391 * Number of variables: 391 Notification: Performance of Generate backend data structure: time 0.01166/9.852, allocations: 2.797 MB / 3.518 GB, free: 34.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/9.852, allocations: 10.91 kB / 3.518 GB, free: 34.89 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004669/9.856, allocations: 0.6014 MB / 3.519 GB, free: 34.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003728/9.86, allocations: 1.448 MB / 3.52 GB, free: 34.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001404/9.86, allocations: 145.3 kB / 3.52 GB, free: 34.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000272/9.861, allocations: 148.4 kB / 3.52 GB, free: 34.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005109/9.866, allocations: 2.777 MB / 3.523 GB, free: 33.97 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.325e-05/9.866, allocations: 7.969 kB / 3.523 GB, free: 33.97 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001883/9.866, allocations: 71.27 kB / 3.523 GB, free: 33.97 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001424/9.866, allocations: 124.9 kB / 3.523 GB, free: 33.97 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004517/9.871, allocations: 2.489 MB / 3.526 GB, free: 33.95 MB / 426.7 MB 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.0136/9.884, allocations: 11.96 MB / 3.537 GB, free: 26.63 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003275/9.888, allocations: 1.607 MB / 3.539 GB, free: 26.59 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000872/9.888, allocations: 0.7105 MB / 3.54 GB, free: 26.58 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01044/9.899, allocations: 5.739 MB / 3.545 GB, free: 22.54 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.396e-05/9.899, allocations: 52.59 kB / 3.545 GB, free: 22.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=108): time 3.176e-06/9.899, allocations: 0 / 3.545 GB, free: 22.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=124): time 0.01543/9.914, allocations: 5.879 MB / 3.551 GB, free: 21.83 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.366e-05/9.915, allocations: 142.9 kB / 3.551 GB, free: 21.67 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/9.916, allocations: 1.005 MB / 3.552 GB, free: 21.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001143/9.916, allocations: 56.14 kB / 3.552 GB, free: 21.46 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004257/9.917, allocations: 0.7561 MB / 3.553 GB, free: 21.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002899/9.917, allocations: 431.2 kB / 3.553 GB, free: 20.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.238e-05/9.917, allocations: 33.94 kB / 3.553 GB, free: 20.82 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/9.917, allocations: 375.7 kB / 3.554 GB, free: 20.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009705/9.918, allocations: 0.7616 MB / 3.555 GB, free: 20.51 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001214/9.919, allocations: 1.215 MB / 3.556 GB, free: 20 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.386/12.31, allocations: 377.7 MB / 3.925 GB, free: 38.59 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.331e-05/12.31, allocations: 4 kB / 3.925 GB, free: 38.58 MB / 474.7 MB Notification: Performance of matching and sorting (n=206) (initialization): time 0.006417/12.31, allocations: 2.486 MB / 3.927 GB, free: 36.91 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001253/12.31, allocations: 5.141 MB / 3.932 GB, free: 31.47 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.246e-05/12.31, allocations: 19.98 kB / 3.932 GB, free: 31.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001563/12.31, allocations: 0.4906 MB / 3.933 GB, free: 31.05 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/12.32, allocations: 390.8 kB / 3.933 GB, free: 30.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001852/12.32, allocations: 2.865 MB / 3.936 GB, free: 28.03 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002179/12.32, allocations: 207.2 kB / 3.936 GB, free: 27.87 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002951/12.32, allocations: 85.84 kB / 3.936 GB, free: 27.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/12.32, allocations: 4.656 kB / 3.936 GB, free: 27.8 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004076/12.32, allocations: 2.282 MB / 3.938 GB, free: 26.24 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.696e-05/12.32, allocations: 17.72 kB / 3.938 GB, free: 26.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001397/12.33, allocations: 0.4909 MB / 3.939 GB, free: 25.83 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/12.33, allocations: 393 kB / 3.939 GB, free: 25.48 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00175/12.33, allocations: 2.874 MB / 3.942 GB, free: 22.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001896/12.33, allocations: 202.6 kB / 3.942 GB, free: 22.64 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002151/12.33, allocations: 80.8 kB / 3.942 GB, free: 22.58 MB / 474.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: circular_pipe.mediums[1].p = 1000000.0 annulus_pipe.mediums[1].p = 1000000.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 11 (boundary.medium.phase,massflowsink1.medium.phase,massflowsink2.medium.phase,circular_pipe.statesFM[1].phase,circular_pipe.statesFM[2].phase,annulus_pipe.statesFM[1].phase,annulus_pipe.statesFM[2].phase,annulus_pipe.state_b.phase,annulus_pipe.state_a.phase,circular_pipe.state_b.phase,circular_pipe.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (186): * Single equations (assignments): 182 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 8,1 1,2 8,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006097/12.33, allocations: 213 kB / 3.942 GB, free: 22.45 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004739/12.33, allocations: 138.8 kB / 3.942 GB, free: 22.38 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006786/12.34, allocations: 5.361 MB / 3.948 GB, free: 18.98 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.55e-05/12.34, allocations: 55.92 kB / 3.948 GB, free: 18.94 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.331e-05/12.34, allocations: 0 / 3.948 GB, free: 18.94 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004919/12.34, allocations: 4.907 MB / 3.953 GB, free: 15.55 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01101/12.36, allocations: 7.898 MB / 3.96 GB, free: 10.42 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/12.36, allocations: 0 / 3.96 GB, free: 10.42 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/12.36, allocations: 294.3 kB / 3.961 GB, free: 10.15 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001948/12.36, allocations: 0.5584 MB / 3.961 GB, free: 9.699 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000132/12.36, allocations: 38.73 kB / 3.961 GB, free: 9.684 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002449/12.36, allocations: 2.938 MB / 3.964 GB, free: 6.969 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.123e-06/12.36, allocations: 0 / 3.964 GB, free: 6.969 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007587/12.37, allocations: 4.981 MB / 3.969 GB, free: 3.664 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001786/12.37, allocations: 0.5201 MB / 3.969 GB, free: 3.246 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006297/12.37, allocations: 30.94 kB / 3.969 GB, free: 3.238 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00193/12.37, allocations: 152.2 kB / 3.97 GB, free: 3.109 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003474/12.37, allocations: 121.9 kB / 3.97 GB, free: 3.004 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/12.37, allocations: 40.86 kB / 3.97 GB, free: 2.973 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001848/12.38, allocations: 0.8123 MB / 3.97 GB, free: 2.367 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.71e-07/12.38, allocations: 4 kB / 3.971 GB, free: 2.363 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0109/12.39, allocations: 2.172 MB / 3.973 GB, free: 0.6406 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (circular_pipe.mediums[1].h,circular_pipe.mediums[2].p,circular_pipe.mediums[2].h,annulus_pipe.mediums[1].h,annulus_pipe.mediums[2].p,annulus_pipe.mediums[2].h) * Number of discrete variables: 35 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,boundary.medium.phase,massflowsink1.medium.phase,massflowsink2.medium.phase,circular_pipe.statesFM[1].phase,circular_pipe.statesFM[2].phase,annulus_pipe.statesFM[1].phase,annulus_pipe.statesFM[2].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 8,1 1,2 8,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.3511/12.74, allocations: 2.239 MB / 3.975 GB, free: 80.54 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009786/12.75, allocations: 3.552 MB / 3.978 GB, free: 80.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/12.75, allocations: 0 / 3.978 GB, free: 80.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00302/12.75, allocations: 1.606 MB / 3.98 GB, free: 80.49 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0042/12.75, allocations: 0.6167 MB / 3.98 GB, free: 80.49 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1475/12.9, allocations: 79.42 MB / 4.058 GB, free: 75.26 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001477/12.9, allocations: 1.799 MB / 4.06 GB, free: 74.49 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00428/12.91, allocations: 2.048 MB / 4.062 GB, free: 74.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003327/12.91, allocations: 117.2 kB / 4.062 GB, free: 74.39 MB / 474.7 MB Notification: Performance of SimCode: time 1.663e-06/12.91, allocations: 0 / 4.062 GB, free: 74.39 MB / 474.7 MB Notification: Performance of Templates: time 0.09554/13, allocations: 69.19 MB / 4.129 GB, free: 33.45 MB / 474.7 MB make -j1 -f Modelica_3.2.2_Modelica.Fluid.Examples.NonCircularPipes.makefile (rm -f Modelica_3.2.2_Modelica.Fluid.Examples.NonCircularPipes.pipe ; mkfifo Modelica_3.2.2_Modelica.Fluid.Examples.NonCircularPipes.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Fluid.Examples.NonCircularPipes.pipe >> ../files/Modelica_3.2.2_Modelica.Fluid.Examples.NonCircularPipes.sim & ./Modelica_3.2.2_Modelica.Fluid.Examples.NonCircularPipes -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Fluid.Examples.NonCircularPipes.pipe 2>&1)