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.001989/0.001989, allocations: 188.5 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.518/1.518, allocations: 194.3 MB / 203.1 MB, free: 9.25 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001755/0.001755, allocations: 124.3 kB / 248.1 MB, free: 6.359 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 2.225e-05/2.234e-05, allocations: 4 kB / 298.1 MB, free: 8.234 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09754/0.09758, allocations: 44.5 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.025/7.122, allocations: 2.627 GB / 2.962 GB, free: 102.3 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/7.123, allocations: 73.81 kB / 2.962 GB, free: 102.3 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.13/9.253, allocations: 0.541 GB / 3.503 GB, free: 8.234 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.363e-06/9.253, allocations: 0 / 3.503 GB, free: 8.234 MB / 411.1 MB Notification: Performance of Transformations before backend: time 0.0002189/9.253, allocations: 51.14 kB / 3.503 GB, free: 8.188 MB / 411.1 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.01127/9.264, allocations: 2.793 MB / 3.506 GB, free: 5.352 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/9.264, allocations: 8.031 kB / 3.506 GB, free: 5.344 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004973/9.269, allocations: 0.5988 MB / 3.506 GB, free: 4.742 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004116/9.273, allocations: 1.459 MB / 3.508 GB, free: 3.262 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000169/9.274, allocations: 87.91 kB / 3.508 GB, free: 3.176 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005539/9.274, allocations: 84 kB / 3.508 GB, free: 3.094 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003687/9.278, allocations: 1.966 MB / 3.51 GB, free: 1.125 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00463/9.282, allocations: 2.152 MB / 3.512 GB, free: 14.82 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.471e-05/9.283, allocations: 7.938 kB / 3.512 GB, free: 14.81 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003565/9.283, allocations: 4 kB / 3.512 GB, free: 14.8 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001985/9.283, allocations: 130.7 kB / 3.512 GB, free: 14.68 MB / 427.1 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.5007/9.784, allocations: 75.61 MB / 3.586 GB, free: 20.37 MB / 443.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00209/9.786, allocations: 1.11 MB / 3.587 GB, free: 20.33 MB / 443.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001034/9.787, allocations: 0.665 MB / 3.587 GB, free: 20.32 MB / 443.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00814/9.795, allocations: 4.33 MB / 3.592 GB, free: 17.05 MB / 443.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.535e-05/9.795, allocations: 54.38 kB / 3.592 GB, free: 17.01 MB / 443.1 MB Notification: Performance of pre-optimization done (n=102): time 4.849e-06/9.795, allocations: 0 / 3.592 GB, free: 17.01 MB / 443.1 MB Notification: Performance of matching and sorting (n=118): time 0.01512/9.81, allocations: 4.893 MB / 3.597 GB, free: 16.45 MB / 443.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/9.811, allocations: 141.4 kB / 3.597 GB, free: 16.29 MB / 443.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002242/9.813, allocations: 0.8499 MB / 3.597 GB, free: 16.13 MB / 443.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002166/9.813, allocations: 25.7 kB / 3.598 GB, free: 16.1 MB / 443.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008904/9.814, allocations: 0.7824 MB / 3.598 GB, free: 15.78 MB / 443.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005482/9.815, allocations: 401.7 kB / 3.599 GB, free: 15.58 MB / 443.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/9.815, allocations: 0 / 3.599 GB, free: 15.58 MB / 443.1 MB Notification: Performance of setup shared object (initialization): time 0.0002583/9.815, allocations: 374.8 kB / 3.599 GB, free: 15.27 MB / 443.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001235/9.816, allocations: 0.7376 MB / 3.6 GB, free: 15.27 MB / 443.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/9.818, allocations: 1.17 MB / 3.601 GB, free: 14.76 MB / 443.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01596/9.834, allocations: 4.21 MB / 3.605 GB, free: 14.45 MB / 443.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.869e-05/9.834, allocations: 3.562 kB / 3.605 GB, free: 14.45 MB / 443.1 MB Notification: Performance of matching and sorting (n=206) (initialization): time 0.01393/9.848, allocations: 4.218 MB / 3.609 GB, free: 14.23 MB / 443.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.003324/9.851, allocations: 5.139 MB / 3.614 GB, free: 24.84 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.286e-05/9.851, allocations: 13.78 kB / 3.614 GB, free: 24.84 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001449/9.853, allocations: 478.8 kB / 3.615 GB, free: 24.81 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/9.854, allocations: 396 kB / 3.615 GB, free: 24.8 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003034/9.857, allocations: 2.912 MB / 3.618 GB, free: 22.71 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002367/9.86, allocations: 191.4 kB / 3.618 GB, free: 22.69 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000329/9.86, allocations: 84.75 kB / 3.618 GB, free: 22.69 MB / 459.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/9.86, allocations: 7.688 kB / 3.618 GB, free: 22.69 MB / 459.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01307/9.873, allocations: 3.961 MB / 3.622 GB, free: 22.57 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-05/9.873, allocations: 14.34 kB / 3.622 GB, free: 22.57 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001376/9.875, allocations: 482.5 kB / 3.622 GB, free: 22.54 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001654/9.876, allocations: 392.1 kB / 3.623 GB, free: 22.53 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003423/9.88, allocations: 2.92 MB / 3.626 GB, free: 20.44 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002337/9.882, allocations: 177.9 kB / 3.626 GB, free: 20.42 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003543/9.883, allocations: 75.45 kB / 3.626 GB, free: 20.42 MB / 459.1 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 (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,boundary.medium.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.0007308/9.883, allocations: 166.9 kB / 3.626 GB, free: 20.31 MB / 459.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004408/9.884, allocations: 129 kB / 3.626 GB, free: 20.25 MB / 459.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007578/9.891, allocations: 4.695 MB / 3.631 GB, free: 19.81 MB / 459.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.516e-05/9.891, allocations: 53.55 kB / 3.631 GB, free: 19.81 MB / 459.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-05/9.891, allocations: 2.844 kB / 3.631 GB, free: 19.81 MB / 459.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005359/9.897, allocations: 4.33 MB / 3.635 GB, free: 19.08 MB / 459.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0116/9.908, allocations: 6.949 MB / 3.642 GB, free: 18.48 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.317e-06/9.909, allocations: 0 / 3.642 GB, free: 18.48 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/9.91, allocations: 270.5 kB / 3.642 GB, free: 18.47 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001483/9.911, allocations: 0.5322 MB / 3.643 GB, free: 18.42 MB / 459.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001263/9.911, allocations: 18.45 kB / 3.643 GB, free: 18.42 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002594/9.914, allocations: 3.07 MB / 3.646 GB, free: 16.32 MB / 459.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/9.914, allocations: 0.8125 kB / 3.646 GB, free: 16.32 MB / 459.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006598/9.92, allocations: 4.668 MB / 3.65 GB, free: 15.91 MB / 459.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001174/9.922, allocations: 0.49 MB / 3.651 GB, free: 15.68 MB / 459.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004576/9.922, allocations: 9.562 kB / 3.651 GB, free: 15.68 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001485/9.924, allocations: 135.9 kB / 3.651 GB, free: 15.66 MB / 459.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002333/9.924, allocations: 112.1 kB / 3.651 GB, free: 15.65 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001096/9.924, allocations: 50.06 kB / 3.651 GB, free: 15.65 MB / 459.1 MB Notification: Performance of sorting global known variables: time 0.001211/9.925, allocations: 0.6819 MB / 3.652 GB, free: 15.54 MB / 459.1 MB Notification: Performance of sort global known variables: time 1.683e-06/9.925, allocations: 0 / 3.652 GB, free: 15.54 MB / 459.1 MB Notification: Performance of remove unused functions: time 0.01056/9.936, allocations: 2.075 MB / 3.654 GB, free: 15.45 MB / 459.1 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: 30 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,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 (114): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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.0127/9.949, allocations: 2.339 MB / 3.656 GB, free: 15.11 MB / 459.1 MB Notification: Performance of simCode: created initialization part: time 0.007254/9.956, allocations: 3.334 MB / 3.659 GB, free: 15.05 MB / 459.1 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/9.956, allocations: 0 / 3.659 GB, free: 15.05 MB / 459.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002488/9.958, allocations: 1.493 MB / 3.661 GB, free: 15.04 MB / 459.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003605/9.962, allocations: 0.5473 MB / 3.661 GB, free: 15.02 MB / 459.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4142/10.38, allocations: 57.7 MB / 3.718 GB, free: 62.84 MB / 459.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001521/10.38, allocations: 1.771 MB / 3.719 GB, free: 62.11 MB / 459.1 MB Notification: Performance of simCode: alias equations: time 0.004732/10.38, allocations: 2.091 MB / 3.721 GB, free: 62.09 MB / 459.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003825/10.38, allocations: 105.1 kB / 3.721 GB, free: 62.08 MB / 459.1 MB Notification: Performance of SimCode: time 1.213e-06/10.38, allocations: 0 / 3.721 GB, free: 62.08 MB / 459.1 MB Notification: Performance of Templates: time 0.08398/10.47, allocations: 58.92 MB / 3.779 GB, free: 58.33 MB / 459.1 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)