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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 94.14 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 183.6 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.647/1.647, allocations: 205.4 MB / 223.4 MB, free: 5.547 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005001/0.0005002, allocations: 8 kB / 280.1 MB, free: 12.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3369, allocations: 47.59 MB / 327.7 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.NonCircularPipes): time 0.0573/0.3942, allocations: 53.36 MB / 381.1 MB, free: 14.04 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0327/0.427, allocations: 22.62 MB / 403.7 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002982/0.43, allocations: 63.44 kB / 403.7 MB, free: 7.312 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002717/0.4328, allocations: 0.7156 MB / 404.5 MB, free: 6.594 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01254/0.4453, allocations: 3.148 MB / 407.6 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02318/0.4685, allocations: 6.535 MB / 414.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006082/0.4746, allocations: 2.702 MB / 416.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002116/0.4768, allocations: 0.9288 MB / 417.8 MB, free: 9.223 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02261/0.4994, allocations: 12.54 MB / 430.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01973/0.5192, allocations: 12.23 MB / 442.5 MB, free: 444 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005288/0.5198, allocations: 76 kB / 442.6 MB, free: 368 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0206/0.5404, allocations: 8.701 MB / 451.3 MB, free: 7.648 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001463/0.5419, allocations: 0.561 MB / 451.9 MB, free: 7.086 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009321/0.5429, allocations: 400.8 kB / 452.3 MB, free: 6.688 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0137/0.5566, allocations: 5.243 MB / 457.5 MB, free: 1.434 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.5566, allocations: 0 / 457.5 MB, free: 1.434 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.5566, allocations: 0 / 457.5 MB, free: 1.434 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.129e-05/0.5567, allocations: 0 / 457.5 MB, free: 1.434 MB / 382.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.2333/0.79, allocations: 2.619 MB / 460.1 MB, free: 117 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.936e-05/0.7901, allocations: 9.125 kB / 460.1 MB, free: 117 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005297/0.7954, allocations: 0.6004 MB / 460.7 MB, free: 116.9 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00309/0.7985, allocations: 1.123 MB / 461.9 MB, free: 116.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001784/0.7987, allocations: 145.5 kB / 462 MB, free: 116.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002495/0.7989, allocations: 145.4 kB / 462.1 MB, free: 116.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006231/0.8052, allocations: 2.799 MB / 464.9 MB, free: 115 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.904e-05/0.8053, allocations: 11.25 kB / 465 MB, free: 115 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001782/0.8054, allocations: 64.2 kB / 465 MB, free: 114.9 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002422/0.8057, allocations: 155.5 kB / 465.2 MB, free: 114.9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005468/0.8112, allocations: 2.663 MB / 467.8 MB, free: 113.6 MB / 382.1 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.01294/0.8241, allocations: 11.69 MB / 479.5 MB, free: 103.4 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004367/0.8285, allocations: 1.771 MB / 481.3 MB, free: 102.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01499/0.8435, allocations: 8.422 MB / 489.7 MB, free: 92.94 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.666e-05/0.8436, allocations: 51.5 kB / 489.8 MB, free: 92.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=114): time 3.096e-06/0.8437, allocations: 0 / 489.8 MB, free: 92.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01958/0.8632, allocations: 7.482 MB / 497.2 MB, free: 85.35 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.714e-05/0.8633, allocations: 141.8 kB / 497.4 MB, free: 85.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/0.8647, allocations: 1.192 MB / 498.6 MB, free: 83.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001226/0.8649, allocations: 45.7 kB / 498.6 MB, free: 83.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003926/0.8653, allocations: 0.71 MB / 499.3 MB, free: 83.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002657/0.8655, allocations: 462.9 kB / 499.8 MB, free: 82.76 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.508e-05/0.8656, allocations: 32 kB / 499.8 MB, free: 82.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.8658, allocations: 369.9 kB / 0.4885 GB, free: 82.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001398/0.8672, allocations: 0.8861 MB / 0.4893 GB, free: 81.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001514/0.8687, allocations: 1.268 MB / 0.4906 GB, free: 80.05 MB / 382.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: annulus_pipe.mediums[1].p = 1000000.0 (boundary.p = 1000000.0) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: circular_pipe.mediums[1].p = 1000000.0 (boundary.p = 1000000.0) Notification: Performance of analyzeInitialSystem (initialization): time 2.783/3.651, allocations: 0.49 GB / 0.9806 GB, free: 74.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/3.651, allocations: 4 kB / 0.9806 GB, free: 74.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.00445/3.656, allocations: 2.681 MB / 0.9832 GB, free: 71.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007609/3.656, allocations: 4.195 MB / 0.9873 GB, free: 67.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/3.657, allocations: 12 kB / 0.9873 GB, free: 67.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001504/3.658, allocations: 0.5208 MB / 0.9878 GB, free: 66.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/3.659, allocations: 375.5 kB / 0.9882 GB, free: 66.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001576/3.661, allocations: 2.914 MB / 0.991 GB, free: 63.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/3.662, allocations: 199.8 kB / 0.9912 GB, free: 63.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/3.662, allocations: 71.98 kB / 0.9913 GB, free: 62.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.756e-06/3.662, allocations: 4 kB / 0.9913 GB, free: 62.96 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003987/3.666, allocations: 2.485 MB / 0.9937 GB, free: 60.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/3.666, allocations: 15.98 kB / 0.9937 GB, free: 60.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001406/3.668, allocations: 0.5193 MB / 0.9942 GB, free: 59.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/3.669, allocations: 375.5 kB / 0.9946 GB, free: 59.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001664/3.671, allocations: 2.908 MB / 0.9974 GB, free: 56.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/3.672, allocations: 195 kB / 0.9976 GB, free: 56.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/3.672, allocations: 71.98 kB / 0.9977 GB, free: 56.29 MB / 414.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: annulus_pipe.mediums[1].p = 1000000.0 circular_pipe.mediums[1].p = 1000000.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (177): * Single equations (assignments): 173 * 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.000916/3.673, allocations: 0.5944 MB / 0.9983 GB, free: 55.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002272/3.674, allocations: 148.7 kB / 0.9984 GB, free: 55.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006023/3.68, allocations: 5.567 MB / 1.004 GB, free: 50.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.814e-05/3.68, allocations: 63.91 kB / 1.004 GB, free: 50.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/3.68, allocations: 0 / 1.004 GB, free: 50.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005076/3.685, allocations: 5.09 MB / 1.009 GB, free: 44.87 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01019/3.695, allocations: 8.61 MB / 1.017 GB, free: 36.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/3.695, allocations: 4 kB / 1.017 GB, free: 36.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/3.696, allocations: 287.8 kB / 1.018 GB, free: 35.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001728/3.698, allocations: 0.5543 MB / 1.018 GB, free: 35.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.479e-05/3.698, allocations: 42.36 kB / 1.018 GB, free: 35.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001457/3.699, allocations: 2.927 MB / 1.021 GB, free: 32.19 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/3.699, allocations: 4.031 kB / 1.021 GB, free: 32.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006434/3.706, allocations: 5.522 MB / 1.026 GB, free: 26.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001051/3.707, allocations: 0.5365 MB / 1.027 GB, free: 25.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000234/3.707, allocations: 35.75 kB / 1.027 GB, free: 25.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/3.708, allocations: 159.5 kB / 1.027 GB, free: 25.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002117/3.708, allocations: 129 kB / 1.027 GB, free: 25.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.735e-05/3.708, allocations: 55.97 kB / 1.027 GB, free: 25.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009633/3.709, allocations: 0.8972 MB / 1.028 GB, free: 24.69 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/3.709, allocations: 0 / 1.028 GB, free: 24.69 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004513/3.714, allocations: 1.993 MB / 1.03 GB, free: 22.84 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (130): * Single equations (assignments): 110 * 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.004676/3.719, allocations: 1.638 MB / 1.032 GB, free: 21.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005814/3.724, allocations: 3.852 MB / 1.035 GB, free: 17.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/3.725, allocations: 4.875 kB / 1.035 GB, free: 17.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002238/3.727, allocations: 1.835 MB / 1.037 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00326/3.73, allocations: 0.7372 MB / 1.038 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006489/3.737, allocations: 6.317 MB / 1.044 GB, free: 8.699 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008955/3.737, allocations: 1.805 MB / 1.046 GB, free: 6.852 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002726/3.74, allocations: 1.961 MB / 1.048 GB, free: 4.887 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003174/3.741, allocations: 135.4 kB / 1.048 GB, free: 4.754 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/3.741, allocations: 0 / 1.048 GB, free: 4.754 MB / 414.1 MB Notification: Performance of Templates: time 0.2418/3.982, allocations: 71.42 MB / 1.118 GB, free: 116.2 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Fluid.Examples.NonCircularPipes.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: