Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Fluid.Examples.NonCircularPipes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.NonCircularPipes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Fluid.Examples.NonCircularPipes") translateModel(Modelica.Fluid.Examples.NonCircularPipes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Fluid.Examples.NonCircularPipes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009033/0.009033, allocations: 165.2 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.445/1.445, allocations: 170.8 MB / 186.6 MB, free: 1.113 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001631/0.001631, allocations: 111.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003504, allocations: 11.98 kB / 274.1 MB, free: 10.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2471, allocations: 38.76 MB / 312.9 MB, free: 38.71 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.192/6.44, allocations: 2.518 GB / 2.824 GB, free: 89.55 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003479/6.44, allocations: 80.47 kB / 2.824 GB, free: 89.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.142/8.582, allocations: 0.5353 GB / 3.359 GB, free: 25.76 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.835e-06/8.582, allocations: 0 / 3.359 GB, free: 25.76 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002821/8.582, allocations: 47.56 kB / 3.359 GB, free: 25.75 MB / 378.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.01654/8.599, allocations: 2.936 MB / 3.362 GB, free: 24.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.92e-05/8.599, allocations: 10.81 kB / 3.362 GB, free: 24.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005692/8.605, allocations: 0.5893 MB / 3.363 GB, free: 23.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005878/8.611, allocations: 1.456 MB / 3.364 GB, free: 23.24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002811/8.611, allocations: 148.5 kB / 3.364 GB, free: 23.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008822/8.612, allocations: 144.6 kB / 3.364 GB, free: 23.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008735/8.621, allocations: 2.811 MB / 3.367 GB, free: 21.67 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.763e-05/8.621, allocations: 7.938 kB / 3.367 GB, free: 21.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005391/8.621, allocations: 71.66 kB / 3.367 GB, free: 21.6 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001958/8.622, allocations: 124.2 kB / 3.367 GB, free: 21.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006901/8.629, allocations: 2.646 MB / 3.37 GB, free: 19.37 MB / 378.7 MB 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.01783/8.646, allocations: 11.96 MB / 3.382 GB, free: 6.746 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00442/8.651, allocations: 1.733 MB / 3.383 GB, free: 5.012 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3408/8.992, allocations: 5.676 MB / 3.389 GB, free: 27.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.839e-05/8.992, allocations: 49.06 kB / 3.389 GB, free: 27.28 MB / 378.7 MB Notification: Performance of pre-optimization done (n=108): time 3.547e-06/8.992, allocations: 1.969 kB / 3.389 GB, free: 27.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=124): time 0.02025/9.012, allocations: 7.127 MB / 3.396 GB, free: 26.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.108e-05/9.012, allocations: 141.6 kB / 3.396 GB, free: 26.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001857/9.014, allocations: 1.023 MB / 3.397 GB, free: 26.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001489/9.014, allocations: 45.08 kB / 3.397 GB, free: 26.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006302/9.015, allocations: 0.765 MB / 3.398 GB, free: 25.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000428/9.015, allocations: 438.4 kB / 3.398 GB, free: 25.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.997e-05/9.015, allocations: 31.78 kB / 3.398 GB, free: 25.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001665/9.016, allocations: 372.4 kB / 3.399 GB, free: 25.46 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001556/9.017, allocations: 0.8793 MB / 3.399 GB, free: 25.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001953/9.019, allocations: 1.323 MB / 3.401 GB, free: 24.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.441/11.46, allocations: 377.7 MB / 3.77 GB, free: 62.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.838e-05/11.46, allocations: 5.203 kB / 3.77 GB, free: 62.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=206) (initialization): time 0.005834/11.47, allocations: 2.71 MB / 3.772 GB, free: 60.71 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001199/11.47, allocations: 5.144 MB / 3.777 GB, free: 55.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.295e-05/11.47, allocations: 12.75 kB / 3.777 GB, free: 55.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001611/11.47, allocations: 0.4995 MB / 3.778 GB, free: 54.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001472/11.47, allocations: 392 kB / 3.778 GB, free: 54.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001827/11.47, allocations: 2.877 MB / 3.781 GB, free: 51.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001962/11.47, allocations: 206.8 kB / 3.781 GB, free: 51.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/11.47, allocations: 87.86 kB / 3.781 GB, free: 51.76 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/11.47, allocations: 7.75 kB / 3.781 GB, free: 51.76 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004469/11.48, allocations: 2.514 MB / 3.784 GB, free: 50.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/11.48, allocations: 18.08 kB / 3.784 GB, free: 50.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001433/11.48, allocations: 0.5018 MB / 3.784 GB, free: 49.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/11.48, allocations: 391.8 kB / 3.785 GB, free: 49.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00163/11.48, allocations: 2.87 MB / 3.787 GB, free: 46.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/11.49, allocations: 207.9 kB / 3.788 GB, free: 46.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/11.49, allocations: 81.23 kB / 3.788 GB, free: 46.36 MB / 426.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 () * Number of clocked 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.00123/11.49, allocations: 0.5882 MB / 3.788 GB, free: 45.95 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002669/11.49, allocations: 136 kB / 3.788 GB, free: 45.88 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006885/11.49, allocations: 5.457 MB / 3.794 GB, free: 42.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.165e-05/11.49, allocations: 63.23 kB / 3.794 GB, free: 42.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/11.49, allocations: 4 kB / 3.794 GB, free: 42.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006101/11.5, allocations: 5.001 MB / 3.799 GB, free: 38.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01235/11.51, allocations: 8.013 MB / 3.806 GB, free: 33.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/11.51, allocations: 3.375 kB / 3.806 GB, free: 33.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/11.51, allocations: 286.5 kB / 3.807 GB, free: 33.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001915/11.52, allocations: 0.5676 MB / 3.807 GB, free: 32.68 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001386/11.52, allocations: 44.42 kB / 3.807 GB, free: 32.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/11.52, allocations: 2.931 MB / 3.81 GB, free: 29.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/11.52, allocations: 0 / 3.81 GB, free: 29.95 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007013/11.52, allocations: 5.324 MB / 3.815 GB, free: 26.34 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001427/11.53, allocations: 0.5166 MB / 3.816 GB, free: 25.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002221/11.53, allocations: 32.98 kB / 3.816 GB, free: 25.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/11.53, allocations: 154.6 kB / 3.816 GB, free: 25.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002377/11.53, allocations: 122.6 kB / 3.816 GB, free: 25.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.06e-05/11.53, allocations: 48.52 kB / 3.816 GB, free: 25.65 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001215/11.53, allocations: 0.8215 MB / 3.817 GB, free: 25.04 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.91e-07/11.53, allocations: 0 / 3.817 GB, free: 25.04 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009684/11.54, allocations: 2.169 MB / 3.819 GB, free: 23.32 MB / 426.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 () * Number of clocked 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.01093/11.55, allocations: 2.219 MB / 3.821 GB, free: 21.67 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007747/11.56, allocations: 3.856 MB / 3.825 GB, free: 18.99 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/11.56, allocations: 320 / 3.825 GB, free: 18.99 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002848/11.56, allocations: 1.711 MB / 3.827 GB, free: 17.96 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003408/11.56, allocations: 0.6286 MB / 3.827 GB, free: 17.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4027/11.97, allocations: 80.17 MB / 3.906 GB, free: 62.56 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00133/11.97, allocations: 1.801 MB / 3.907 GB, free: 61.79 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003796/11.97, allocations: 1.92 MB / 3.909 GB, free: 61.72 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003622/11.97, allocations: 132.6 kB / 3.909 GB, free: 61.71 MB / 426.7 MB Notification: Performance of SimCode: time 1.814e-06/11.97, allocations: 0 / 3.909 GB, free: 61.71 MB / 426.7 MB Notification: Performance of Templates: time 0.09525/12.07, allocations: 65.14 MB / 3.973 GB, free: 41.68 MB / 426.7 MB make -j1 -f Modelica_3.2.1_Modelica.Fluid.Examples.NonCircularPipes.makefile (rm -f Modelica_3.2.1_Modelica.Fluid.Examples.NonCircularPipes.pipe ; mkfifo Modelica_3.2.1_Modelica.Fluid.Examples.NonCircularPipes.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Fluid.Examples.NonCircularPipes.pipe >> ../files/Modelica_3.2.1_Modelica.Fluid.Examples.NonCircularPipes.sim & ./Modelica_3.2.1_Modelica.Fluid.Examples.NonCircularPipes -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Fluid.Examples.NonCircularPipes.pipe 2>&1)