Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestExamplesVariants.IncompressibleFluidNetwork_StandardWaterOnePhase.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.IncompressibleFluidNetwork_StandardWaterOnePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe1.mediums.1..T|pipe1.mediums.2..T|pipe1.mediums.2..p|pipe10.mediums.1..T|pipe10.mediums.2..T|pipe11.mediums.1..T|pipe11.mediums.2..T|pipe11.mediums.2..p|pipe2.mediums.1..T|pipe2.mediums.2..T|pipe2.mediums.2..p|pipe3.mediums.1..T|pipe3.mediums.2..T|pipe3.mediums.2..p|pipe4.mediums.1..T|pipe4.mediums.1..p|pipe4.mediums.2..T|pipe4.mediums.2..p|pipe5.mediums.1..T|pipe5.mediums.2..T|pipe6.mediums.1..T|pipe6.mediums.2..T|pipe6.mediums.2..p|pipe7.mediums.1..T|pipe7.mediums.1..p|pipe7.mediums.2..T|pipe7.mediums.2..p|pipe8.mediums.1..T|pipe8.mediums.2..T|pipe9.mediums.1..T|pipe9.mediums.2..T",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestExamplesVariants.IncompressibleFluidNetwork_StandardWaterOnePhase") Notification: Performance of loadModel(ModelicaTest): time 2.109/2.109, allocations: 234.9 MB / 250.5 MB, free: 9.539 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004351/0.0004352, allocations: 8 kB / 314.4 MB, free: 9.539 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2779, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.62/6.898, allocations: 2.784 GB / 3.144 GB, free: 103.1 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001952/6.898, allocations: 88.45 kB / 3.144 GB, free: 103 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.597/16.5, allocations: 2.109 GB / 5.254 GB, free: 25.62 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.957e-06/16.5, allocations: 0 / 5.254 GB, free: 25.62 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0009392/16.5, allocations: 213.3 kB / 5.254 GB, free: 25.58 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1894 * Number of variables: 1894 Notification: Performance of Generate backend data structure: time 0.05155/16.55, allocations: 10.75 MB / 5.265 GB, free: 20.85 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/16.55, allocations: 9.938 kB / 5.265 GB, free: 20.85 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01848/16.57, allocations: 1.982 MB / 5.266 GB, free: 20.38 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02584/16.59, allocations: 7.146 MB / 5.273 GB, free: 19.05 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000878/16.59, allocations: 0.5384 MB / 5.274 GB, free: 19.02 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003759/16.6, allocations: 0.7092 MB / 5.275 GB, free: 18.98 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03927/16.64, allocations: 12.89 MB / 5.287 GB, free: 16.79 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004064/16.64, allocations: 38.72 kB / 5.287 GB, free: 16.77 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003242/16.64, allocations: 315.1 kB / 5.288 GB, free: 16.74 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009839/16.64, allocations: 0.6415 MB / 5.288 GB, free: 16.71 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03543/16.68, allocations: 12.63 MB / 5.301 GB, free: 7.605 MB / 0.5886 GB 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: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: der(pipe1.mediums[1].p) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.583/17.26, allocations: 53.95 MB / 5.353 GB, free: 17.73 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01936/17.28, allocations: 7.387 MB / 5.36 GB, free: 17.64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2359/17.51, allocations: 97.9 MB / 5.456 GB, free: 24.29 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001305/17.51, allocations: 101.1 kB / 5.456 GB, free: 24.24 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006853/17.52, allocations: 0.8359 MB / 5.457 GB, free: 24.22 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=583): time 3.226e-05/17.52, allocations: 0 / 5.457 GB, free: 24.22 MB / 0.6667 GB Notification: Performance of matching and sorting (n=705): time 0.2196/17.74, allocations: 50.28 MB / 5.506 GB, free: 20.8 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001475/17.74, allocations: 178.8 kB / 5.506 GB, free: 20.66 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01084/17.75, allocations: 4.264 MB / 5.51 GB, free: 20.31 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.002003/17.75, allocations: 157 kB / 5.511 GB, free: 20.28 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.002919/17.76, allocations: 2.98 MB / 5.513 GB, free: 19.27 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.003682/17.76, allocations: 2.439 MB / 5.516 GB, free: 17.71 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001827/17.76, allocations: 164.9 kB / 5.516 GB, free: 17.71 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0008804/17.76, allocations: 0.6315 MB / 5.517 GB, free: 17.38 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01085/17.77, allocations: 4.426 MB / 5.521 GB, free: 17.36 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01305/17.79, allocations: 6.331 MB / 5.527 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.8785/18.67, allocations: 41.25 MB / 5.567 GB, free: 95.58 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-05/18.67, allocations: 18.31 kB / 5.567 GB, free: 95.58 MB / 0.6667 GB Notification: Performance of matching and sorting (n=1025) (initialization): time 0.04494/18.71, allocations: 14.99 MB / 5.582 GB, free: 95.34 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.004185/18.72, allocations: 20.21 MB / 5.602 GB, free: 74.29 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001946/18.72, allocations: 50.75 kB / 5.602 GB, free: 74.29 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1637/18.88, allocations: 18.46 MB / 5.62 GB, free: 74.18 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005093/18.88, allocations: 1.058 MB / 5.621 GB, free: 74.18 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.034/18.92, allocations: 15.08 MB / 5.636 GB, free: 73 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0118/18.93, allocations: 0.879 MB / 5.636 GB, free: 73 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002618/18.93, allocations: 386.8 kB / 5.637 GB, free: 73 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/18.93, allocations: 8.25 kB / 5.637 GB, free: 73 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04113/18.97, allocations: 14.25 MB / 5.651 GB, free: 72.79 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001922/18.97, allocations: 52.81 kB / 5.651 GB, free: 72.79 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.15/19.12, allocations: 16.67 MB / 5.667 GB, free: 72.67 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005715/19.13, allocations: 1.088 MB / 5.668 GB, free: 72.67 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03283/19.16, allocations: 14.08 MB / 5.682 GB, free: 71.49 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009495/19.17, allocations: 0.868 MB / 5.683 GB, free: 71.49 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002572/19.18, allocations: 379.4 kB / 5.683 GB, free: 71.49 MB / 0.6667 GB Warning: The initial conditions are over specified. The following 12 initial equations are redundant, so they are removed from the initialization sytem: $DER.pipe1.mediums[2].p = 0.0 $DER.pipe3.mediums[1].p = 0.0 $DER.pipe7.mediums[2].p = 0.0 $DER.pipe9.mediums[1].p = 0.0 $DER.pipe10.mediums[1].p = 0.0 $DER.pipe4.mediums[2].p = 0.0 $DER.pipe5.mediums[1].p = 0.0 $DER.pipe8.mediums[2].p = 0.0 $DER.pipe10.mediums[2].p = 0.0 $DER.pipe11.mediums[1].p = 0.0 $DER.pipe5.mediums[2].p = 0.0 $DER.pipe9.mediums[2].p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 232 * Number of states: 0 () * Number of discrete variables: 52 (valve3.state_b.phase,valve3.state_a.phase,valve2.state_b.phase,valve2.state_a.phase,valve1.state_b.phase,valve1.state_a.phase,pipe11.mediums[2].phase,pipe11.mediums[1].phase,pipe11.state_b.phase,pipe11.state_a.phase,pipe5.mediums[2].phase,pipe5.mediums[1].phase,pipe5.state_b.phase,pipe5.state_a.phase,pipe10.mediums[2].phase,pipe10.mediums[1].phase,pipe10.state_b.phase,pipe10.state_a.phase,pipe9.mediums[2].phase,pipe9.mediums[1].phase,pipe9.state_b.phase,pipe9.state_a.phase,pipe8.mediums[2].phase,pipe8.mediums[1].phase,pipe8.state_b.phase,pipe8.state_a.phase,sink.medium.phase,pipe7.mediums[2].phase,pipe7.mediums[1].phase,pipe7.state_b.phase,pipe7.state_a.phase,pipe6.mediums[2].phase,pipe6.mediums[1].phase,pipe6.state_b.phase,pipe6.state_a.phase,pipe4.mediums[2].phase,pipe4.mediums[1].phase,pipe4.state_b.phase,pipe4.state_a.phase,pipe3.mediums[2].phase,pipe3.mediums[1].phase,pipe3.state_b.phase,pipe3.state_a.phase,pipe2.mediums[2].phase,pipe2.mediums[1].phase,pipe2.state_b.phase,pipe2.state_a.phase,pipe1.mediums[2].phase,pipe1.mediums[1].phase,pipe1.state_b.phase,pipe1.state_a.phase,source.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (606): * Single equations (assignments): 604 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 10,30 380} Notification: Performance of prepare postOptimizeDAE: time 0.009504/19.19, allocations: 2.274 MB / 5.685 GB, free: 71.3 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003332/19.19, allocations: 0.6642 MB / 5.686 GB, free: 71.3 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05628/19.24, allocations: 26.73 MB / 5.712 GB, free: 70 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002418/19.25, allocations: 226.9 kB / 5.712 GB, free: 70 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.91e-05/19.25, allocations: 0 / 5.712 GB, free: 70 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04178/19.29, allocations: 23.18 MB / 5.735 GB, free: 62.13 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0936/19.38, allocations: 46.35 MB / 5.78 GB, free: 30.19 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001057/19.38, allocations: 16 kB / 5.78 GB, free: 30.17 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005172/19.39, allocations: 0.9121 MB / 5.781 GB, free: 29.39 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07134/19.46, allocations: 10.62 MB / 5.791 GB, free: 22.34 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001909/19.46, allocations: 263.1 kB / 5.792 GB, free: 22.11 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5712/20.03, allocations: 14.68 MB / 5.806 GB, free: 94.48 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-05/20.03, allocations: 30 kB / 5.806 GB, free: 94.48 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06179/20.09, allocations: 31.41 MB / 5.837 GB, free: 89.07 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007507/20.1, allocations: 2.014 MB / 5.839 GB, free: 88.72 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003914/20.1, allocations: 215.5 kB / 5.839 GB, free: 88.72 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009208/20.11, allocations: 0.5698 MB / 5.84 GB, free: 88.7 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00216/20.12, allocations: 0.5058 MB / 5.84 GB, free: 88.68 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001809/20.12, allocations: 264.4 kB / 5.84 GB, free: 88.68 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.008678/20.13, allocations: 3.176 MB / 5.843 GB, free: 88.46 MB / 0.6667 GB Notification: Performance of sort global known variables: time 9.21e-07/20.13, allocations: 0 / 5.843 GB, free: 88.46 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.02984/20.16, allocations: 6.503 MB / 5.85 GB, free: 88.3 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 79 * Number of states: 31 (pipe1.mediums[1].T,pipe1.mediums[2].T,pipe2.mediums[1].p,pipe2.mediums[1].T,pipe2.mediums[2].p,pipe2.mediums[2].T,pipe3.mediums[1].T,pipe3.mediums[2].p,pipe3.mediums[2].T,pipe4.mediums[1].p,pipe4.mediums[1].T,pipe4.mediums[2].T,pipe6.mediums[1].p,pipe6.mediums[1].T,pipe6.mediums[2].p,pipe6.mediums[2].T,pipe7.mediums[1].p,pipe7.mediums[1].T,pipe7.mediums[2].T,pipe8.mediums[1].p,pipe8.mediums[1].T,pipe8.mediums[2].T,pipe9.mediums[1].T,pipe9.mediums[2].T,pipe10.mediums[1].T,pipe10.mediums[2].T,pipe5.mediums[1].T,pipe5.mediums[2].T,pipe11.mediums[1].T,pipe11.mediums[2].p,pipe11.mediums[2].T) * Number of discrete variables: 102 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse29.phase,$cse29.region,$cse30.phase,$cse30.region,$cse32.phase,$cse32.region,$cse34.phase,$cse34.region,$cse43.phase,$cse43.region,$cse45.phase,$cse45.region,$cse46.phase,$cse46.region,$cse52.phase,$cse52.region,$cse53.phase,$cse53.region,$cse54.phase,$cse54.region,$cse55.phase,$cse55.region,$cse57.phase,$cse57.region,$cse64.phase,$cse64.region,$cse65.phase,$cse65.region,$cse67.phase,$cse67.region,$cse68.phase,$cse68.region,$cse70.phase,$cse70.region,$cse71.phase,$cse71.region,$cse73.phase,$cse73.region,$cse75.phase,$cse75.region,$cse76.phase,$cse76.region,$cse77.phase,$cse77.region,$cse79.phase,$cse79.region,$cse80.phase,$cse80.region,$cse82.phase,$cse82.region,$cse83.phase,$cse83.region,$cse85.phase,$cse85.region,$cse86.phase,$cse86.region,$cse87.phase,$cse87.region,$cse88.phase,$cse88.region,$cse90.phase,$cse90.region,$cse91.phase,$cse91.region,$cse92.phase,$cse92.region,$cse93.phase,$cse93.region,$cse95.phase,$cse95.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (558): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 51 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 10 {1 10,4 38,2 1,2 1,2 1,2 1,6 64,6 64,4 38,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.02097/20.18, allocations: 5.291 MB / 5.855 GB, free: 87.59 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0479/20.22, allocations: 19.89 MB / 5.874 GB, free: 87.2 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.541e-05/20.22, allocations: 4 kB / 5.874 GB, free: 87.2 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.01881/20.24, allocations: 8.737 MB / 5.883 GB, free: 87.09 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0191/20.26, allocations: 2.986 MB / 5.886 GB, free: 87.02 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1642/20.43, allocations: 75.15 MB / 5.959 GB, free: 75.31 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01193/20.44, allocations: 5.831 MB / 5.965 GB, free: 74.3 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00307/20.44, allocations: 0.5217 MB / 5.965 GB, free: 74.29 MB / 0.6667 GB Notification: Performance of SimCode: time 1.83e-06/20.44, allocations: 0 / 5.965 GB, free: 74.29 MB / 0.6667 GB Notification: Performance of Templates: time 1.595/22.04, allocations: 390 MB / 6.346 GB, free: 123.3 MB / 0.698 GB