Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Fluid.Examples.NonCircularPipes") translateModel(Modelica.Fluid.Examples.NonCircularPipes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.0008656/0.0008654, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.00578/0.00578, allocations: 168.6 kB / 16.26 MB, free: 6.652 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.425/1.425, allocations: 205.4 MB / 222.5 MB, free: 5.555 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.0008369/0.000837, allocations: 11.98 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.3785, allocations: 47.59 MB / 327 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.NonCircularPipes): time 0.08086/0.4594, allocations: 63.6 MB / 390.6 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.04192/0.5014, allocations: 27.02 MB / 417.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002545/0.504, allocations: 59.5 kB / 417.7 MB, free: 8.422 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002742/0.5068, allocations: 0.6918 MB / 418.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01375/0.5206, allocations: 3.541 MB / 421.9 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02276/0.5433, allocations: 6.961 MB / 428.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009671/0.553, allocations: 7.228 MB / 436.1 MB, free: 5.945 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002638/0.5557, allocations: 0.9443 MB / 437.1 MB, free: 4.977 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01668/0.5724, allocations: 7.944 MB / 445 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01612/0.5886, allocations: 8.042 MB / 453.1 MB, free: 4.766 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007617/0.5894, allocations: 76 kB / 453.1 MB, free: 4.691 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2734/0.8629, allocations: 8.778 MB / 461.9 MB, free: 27.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001428/0.8644, allocations: 0.6212 MB / 462.5 MB, free: 27.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0018/0.8662, allocations: 0.9591 MB / 463.5 MB, free: 27.83 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02181/0.888, allocations: 7.432 MB / 470.9 MB, free: 27.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.888, allocations: 0 / 470.9 MB, free: 27.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.888, allocations: 2.812 kB / 470.9 MB, free: 27.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.622e-05/0.8881, allocations: 2.281 kB / 470.9 MB, free: 27.71 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.008328/0.8964, allocations: 2.604 MB / 473.5 MB, free: 26.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.8965, allocations: 9.969 kB / 473.5 MB, free: 26.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004222/0.9007, allocations: 0.6049 MB / 474.1 MB, free: 26.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001967/0.9027, allocations: 1.153 MB / 475.3 MB, free: 26.01 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001471/0.9029, allocations: 143.8 kB / 475.4 MB, free: 26.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002308/0.9031, allocations: 148.4 kB / 475.6 MB, free: 26.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00565/0.9088, allocations: 2.818 MB / 478.4 MB, free: 25.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.532e-05/0.9088, allocations: 8.453 kB / 478.4 MB, free: 25.63 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001738/0.909, allocations: 67.48 kB / 478.5 MB, free: 25.63 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001824/0.9092, allocations: 147.2 kB / 478.6 MB, free: 25.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005508/0.9147, allocations: 2.68 MB / 481.3 MB, free: 25.61 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.01256/0.9273, allocations: 11.69 MB / 493 MB, free: 18.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004411/0.9317, allocations: 1.772 MB / 494.8 MB, free: 18.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001404/0.9331, allocations: 0.8695 MB / 495.6 MB, free: 18.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01568/0.9488, allocations: 8.418 MB / 0.4922 GB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.99e-05/0.9489, allocations: 47.41 kB / 0.4923 GB, free: 12.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=114): time 2.745e-06/0.9489, allocations: 0 / 0.4923 GB, free: 12.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.02036/0.9693, allocations: 7.508 MB / 0.4996 GB, free: 9.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.9694, allocations: 141.8 kB / 0.4997 GB, free: 8.852 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/0.9708, allocations: 1.196 MB / 0.5009 GB, free: 7.941 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001362/0.971, allocations: 50.44 kB / 0.501 GB, free: 7.902 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004151/0.9714, allocations: 0.7175 MB / 0.5017 GB, free: 7.426 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003298/0.9717, allocations: 457.4 kB / 0.5021 GB, free: 7.047 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001808/0.9719, allocations: 142.9 kB / 0.5022 GB, free: 6.953 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.806e-05/0.972, allocations: 305.1 kB / 0.5025 GB, free: 6.652 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001506/0.9735, allocations: 0.8922 MB / 0.5034 GB, free: 6.039 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/0.9752, allocations: 1.293 MB / 0.5047 GB, free: 4.914 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.601/3.577, allocations: 0.492 GB / 0.9967 GB, free: 71.88 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.497e-05/3.577, allocations: 8 kB / 0.9967 GB, free: 71.87 MB / 494.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005668/3.582, allocations: 2.71 MB / 0.9993 GB, free: 69.22 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002744/3.583, allocations: 417.2 kB / 0.9997 GB, free: 68.67 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.793e-05/3.583, allocations: 12 kB / 0.9997 GB, free: 68.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001729/3.584, allocations: 0.5195 MB / 1 GB, free: 68.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/3.586, allocations: 379.5 kB / 1.001 GB, free: 67.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00184/3.588, allocations: 2.915 MB / 1.003 GB, free: 64.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001851/3.59, allocations: 200.5 kB / 1.004 GB, free: 64.56 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002162/3.59, allocations: 71.98 kB / 1.004 GB, free: 64.49 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/3.59, allocations: 7.75 kB / 1.004 GB, free: 64.49 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004666/3.595, allocations: 2.505 MB / 1.006 GB, free: 61.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.566e-05/3.595, allocations: 12.88 kB / 1.006 GB, free: 61.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001549/3.596, allocations: 0.5159 MB / 1.007 GB, free: 61.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/3.597, allocations: 375.5 kB / 1.007 GB, free: 61.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001662/3.599, allocations: 2.917 MB / 1.01 GB, free: 58.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001771/3.601, allocations: 193.7 kB / 1.01 GB, free: 57.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001977/3.601, allocations: 78.27 kB / 1.01 GB, free: 57.8 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.001149/3.602, allocations: 0.5952 MB / 1.011 GB, free: 57.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003834/3.603, allocations: 143.7 kB / 1.011 GB, free: 57.13 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007036/3.61, allocations: 5.557 MB / 1.016 GB, free: 51.67 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.26e-05/3.61, allocations: 59.92 kB / 1.016 GB, free: 51.61 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/3.61, allocations: 0 / 1.016 GB, free: 51.61 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005585/3.615, allocations: 5.101 MB / 1.021 GB, free: 46.39 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0112/3.627, allocations: 8.623 MB / 1.03 GB, free: 37.67 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/3.627, allocations: 0 / 1.03 GB, free: 37.67 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/3.628, allocations: 291.9 kB / 1.03 GB, free: 37.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001777/3.63, allocations: 0.5605 MB / 1.031 GB, free: 36.82 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/3.63, allocations: 41.41 kB / 1.031 GB, free: 36.78 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001548/3.631, allocations: 2.92 MB / 1.033 GB, free: 33.76 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/3.631, allocations: 4.031 kB / 1.033 GB, free: 33.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006812/3.638, allocations: 5.429 MB / 1.039 GB, free: 28.24 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009582/3.639, allocations: 0.521 MB / 1.039 GB, free: 27.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003267/3.639, allocations: 39.98 kB / 1.039 GB, free: 27.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001248/3.641, allocations: 163.6 kB / 1.039 GB, free: 27.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002291/3.641, allocations: 129.1 kB / 1.04 GB, free: 27.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.256e-05/3.641, allocations: 51.91 kB / 1.04 GB, free: 27.32 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001077/3.642, allocations: 0.9159 MB / 1.041 GB, free: 26.41 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.91e-07/3.642, allocations: 0 / 1.041 GB, free: 26.41 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005336/3.647, allocations: 1.981 MB / 1.042 GB, free: 24.57 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.006327/3.654, allocations: 1.654 MB / 1.044 GB, free: 23.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00629/3.66, allocations: 3.868 MB / 1.048 GB, free: 19.34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/3.66, allocations: 0 / 1.048 GB, free: 19.34 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002311/3.662, allocations: 1.832 MB / 1.05 GB, free: 17.51 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004211/3.667, allocations: 0.7581 MB / 1.05 GB, free: 16.77 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007392/3.674, allocations: 6.49 MB / 1.057 GB, free: 10.22 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009158/3.675, allocations: 1.762 MB / 1.058 GB, free: 8.418 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00306/3.678, allocations: 1.961 MB / 1.06 GB, free: 6.457 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003391/3.678, allocations: 131.4 kB / 1.06 GB, free: 6.328 MB / 494.1 MB Notification: Performance of SimCode: time 9.51e-07/3.678, allocations: 0 / 1.06 GB, free: 6.328 MB / 494.1 MB Notification: Performance of Templates: time 0.2539/3.932, allocations: 71.88 MB / 1.131 GB, free: 161.9 MB / 494.1 MB make -j1 -f Modelica_3.1_Modelica.Fluid.Examples.NonCircularPipes.makefile (rm -f Modelica_3.1_Modelica.Fluid.Examples.NonCircularPipes.pipe ; mkfifo Modelica_3.1_Modelica.Fluid.Examples.NonCircularPipes.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Fluid.Examples.NonCircularPipes.pipe >> ../files/Modelica_3.1_Modelica.Fluid.Examples.NonCircularPipes.sim & ./Modelica_3.1_Modelica.Fluid.Examples.NonCircularPipes -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Fluid.Examples.NonCircularPipes.pipe 2>&1)