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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.007727/0.007727, allocations: 171.7 kB / 16.26 MB, free: 6.676 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.548/1.548, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0004767/0.0004769, allocations: 12 kB / 279.4 MB, free: 12.53 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.294, allocations: 47.59 MB / 327 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.NonCircularPipes): time 0.0624/0.3564, allocations: 63.6 MB / 390.6 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0376/0.3941, allocations: 27.02 MB / 417.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002751/0.3969, allocations: 59.5 kB / 417.7 MB, free: 8.426 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002493/0.3994, allocations: 0.6996 MB / 418.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0112/0.4106, allocations: 3.537 MB / 421.9 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02174/0.4324, allocations: 6.957 MB / 428.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008784/0.4412, allocations: 7.24 MB / 436.1 MB, free: 5.938 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00179/0.443, allocations: 0.9443 MB / 437.1 MB, free: 4.969 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01552/0.4585, allocations: 7.94 MB / 445 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01435/0.4729, allocations: 8.038 MB / 453.1 MB, free: 4.766 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000452/0.4734, allocations: 76 kB / 453.1 MB, free: 4.691 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2707/0.7441, allocations: 8.777 MB / 461.9 MB, free: 27.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001867/0.7461, allocations: 0.6254 MB / 462.5 MB, free: 27.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001917/0.748, allocations: 0.9526 MB / 463.5 MB, free: 27.9 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02149/0.7695, allocations: 7.44 MB / 470.9 MB, free: 27.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.7695, allocations: 0 / 470.9 MB, free: 27.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.7696, allocations: 0 / 470.9 MB, free: 27.78 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.979e-05/0.7696, allocations: 0 / 470.9 MB, free: 27.78 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.009042/0.7787, allocations: 2.607 MB / 473.5 MB, free: 26.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.7787, allocations: 10.75 kB / 473.5 MB, free: 26.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004657/0.7834, allocations: 0.5948 MB / 474.1 MB, free: 26.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002417/0.7858, allocations: 1.156 MB / 475.3 MB, free: 26.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/0.786, allocations: 142.1 kB / 475.4 MB, free: 26.08 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002468/0.7863, allocations: 148.5 kB / 475.6 MB, free: 26.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005921/0.7922, allocations: 2.821 MB / 478.4 MB, free: 25.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.191e-05/0.7923, allocations: 7.531 kB / 478.4 MB, free: 25.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000178/0.7925, allocations: 68.77 kB / 478.5 MB, free: 25.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001821/0.7927, allocations: 149.2 kB / 478.6 MB, free: 25.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005898/0.7986, allocations: 2.676 MB / 481.3 MB, free: 25.68 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.01288/0.8115, allocations: 11.68 MB / 493 MB, free: 18.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004447/0.816, allocations: 1.777 MB / 494.8 MB, free: 18.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001449/0.8175, allocations: 0.8667 MB / 495.6 MB, free: 18.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01632/0.8338, allocations: 8.422 MB / 0.4922 GB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.33e-05/0.8339, allocations: 48.75 kB / 0.4923 GB, free: 12.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=114): time 3.457e-06/0.8339, allocations: 0 / 0.4923 GB, free: 12.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.02065/0.8545, allocations: 7.501 MB / 0.4996 GB, free: 9.102 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.049e-05/0.8547, allocations: 145.8 kB / 0.4997 GB, free: 8.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001603/0.8563, allocations: 1.193 MB / 0.5009 GB, free: 8.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001309/0.8564, allocations: 59.77 kB / 0.501 GB, free: 7.977 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004431/0.8569, allocations: 0.7157 MB / 0.5017 GB, free: 7.504 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003156/0.8572, allocations: 453.5 kB / 0.5021 GB, free: 7.125 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001876/0.8574, allocations: 149.2 kB / 0.5022 GB, free: 7.031 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.619e-05/0.8575, allocations: 301.1 kB / 0.5025 GB, free: 6.734 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00148/0.8589, allocations: 0.9015 MB / 0.5034 GB, free: 6.113 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001685/0.8606, allocations: 1.291 MB / 0.5047 GB, free: 4.992 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: circular_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: annulus_pipe.mediums[1].p = 1000000.0 (boundary.p = 1000000.0) Notification: Performance of analyzeInitialSystem (initialization): time 2.609/3.469, allocations: 0.492 GB / 0.9967 GB, free: 71.89 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/3.469, allocations: 4 kB / 0.9967 GB, free: 71.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004762/3.474, allocations: 2.712 MB / 0.9993 GB, free: 69.24 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001629/3.474, allocations: 414.4 kB / 0.9997 GB, free: 68.69 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/3.474, allocations: 12 kB / 0.9997 GB, free: 68.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001619/3.476, allocations: 0.5223 MB / 1 GB, free: 68.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/3.477, allocations: 379.5 kB / 1.001 GB, free: 67.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001671/3.479, allocations: 2.914 MB / 1.003 GB, free: 64.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001691/3.481, allocations: 200.9 kB / 1.004 GB, free: 64.58 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/3.481, allocations: 75.97 kB / 1.004 GB, free: 64.51 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.957e-06/3.481, allocations: 4 kB / 1.004 GB, free: 64.5 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004283/3.485, allocations: 2.502 MB / 1.006 GB, free: 61.99 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/3.485, allocations: 14.44 kB / 1.006 GB, free: 61.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001504/3.487, allocations: 0.5229 MB / 1.007 GB, free: 61.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/3.488, allocations: 376.9 kB / 1.007 GB, free: 61.08 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001549/3.49, allocations: 2.918 MB / 1.01 GB, free: 58.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/3.491, allocations: 196.8 kB / 1.01 GB, free: 57.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/3.491, allocations: 71.98 kB / 1.01 GB, free: 57.82 MB / 494.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: 48 * Number of states: 0 () * Number of discrete variables: 11 (annulus_pipe.statesFM[2].phase,annulus_pipe.statesFM[1].phase,circular_pipe.statesFM[2].phase,circular_pipe.statesFM[1].phase,massflowsink2.medium.phase,massflowsink1.medium.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 () * 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,8), (1,1), (2,8), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.001062/3.492, allocations: 0.5897 MB / 1.011 GB, free: 57.22 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002568/3.493, allocations: 146.5 kB / 1.011 GB, free: 57.15 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006846/3.499, allocations: 5.556 MB / 1.016 GB, free: 51.69 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-05/3.5, allocations: 63.91 kB / 1.016 GB, free: 51.62 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/3.5, allocations: 0 / 1.016 GB, free: 51.62 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005239/3.505, allocations: 5.101 MB / 1.021 GB, free: 46.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01057/3.515, allocations: 8.619 MB / 1.03 GB, free: 37.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/3.515, allocations: 4 kB / 1.03 GB, free: 37.69 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/3.516, allocations: 287.8 kB / 1.03 GB, free: 37.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001759/3.518, allocations: 0.5649 MB / 1.031 GB, free: 36.84 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.84e-05/3.518, allocations: 43.97 kB / 1.031 GB, free: 36.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001539/3.52, allocations: 2.908 MB / 1.033 GB, free: 33.78 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/3.52, allocations: 4.594 kB / 1.033 GB, free: 33.78 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006664/3.527, allocations: 5.427 MB / 1.039 GB, free: 28.26 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009782/3.528, allocations: 0.5288 MB / 1.039 GB, free: 27.71 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002038/3.528, allocations: 32 kB / 1.039 GB, free: 27.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/3.529, allocations: 163.6 kB / 1.039 GB, free: 27.52 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002378/3.529, allocations: 135 kB / 1.04 GB, free: 27.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.07e-05/3.529, allocations: 51.86 kB / 1.04 GB, free: 27.34 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001056/3.53, allocations: 0.9089 MB / 1.041 GB, free: 26.43 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/3.53, allocations: 0 / 1.041 GB, free: 26.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005639/3.536, allocations: 1.985 MB / 1.042 GB, free: 24.59 MB / 494.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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,8), (1,1), (2,8), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005482/3.541, allocations: 1.66 MB / 1.044 GB, free: 23.22 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006132/3.548, allocations: 3.864 MB / 1.048 GB, free: 19.36 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/3.548, allocations: 0 / 1.048 GB, free: 19.36 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002313/3.55, allocations: 1.826 MB / 1.05 GB, free: 17.54 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004141/3.554, allocations: 0.7745 MB / 1.05 GB, free: 16.78 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007068/3.561, allocations: 6.479 MB / 1.057 GB, free: 10.25 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009193/3.562, allocations: 1.77 MB / 1.058 GB, free: 8.438 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002881/3.565, allocations: 1.957 MB / 1.06 GB, free: 6.477 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003309/3.565, allocations: 135.4 kB / 1.061 GB, free: 6.344 MB / 494.1 MB Notification: Performance of SimCode: time 7.32e-07/3.565, allocations: 0 / 1.061 GB, free: 6.344 MB / 494.1 MB Notification: Performance of Templates: time 0.2508/3.816, allocations: 71.88 MB / 1.131 GB, free: 161.9 MB / 494.1 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)