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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.152/2.152, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.698e-05/1.707e-05, allocations: 0 / 303.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2778, allocations: 54.85 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.399/6.677, allocations: 2.783 GB / 3.133 GB, free: 6.035 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002004/6.677, allocations: 79.95 kB / 3.133 GB, free: 5.957 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 10.12/16.8, allocations: 2.089 GB / 5.221 GB, free: 27.74 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.257e-06/16.8, allocations: 0 / 5.221 GB, free: 27.74 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0009432/16.8, allocations: 211.1 kB / 5.221 GB, free: 27.71 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.04829/16.85, allocations: 9.809 MB / 5.231 GB, free: 23.55 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/16.85, allocations: 9.969 kB / 5.231 GB, free: 23.55 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01883/16.86, allocations: 1.971 MB / 5.233 GB, free: 23.09 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02703/16.89, allocations: 7.126 MB / 5.24 GB, free: 21.99 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005854/16.89, allocations: 231.7 kB / 5.24 GB, free: 21.99 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00358/16.9, allocations: 431.9 kB / 5.241 GB, free: 21.98 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02854/16.92, allocations: 11.52 MB / 5.252 GB, free: 21.95 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03201/16.96, allocations: 10.26 MB / 5.262 GB, free: 20.02 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005478/16.96, allocations: 38.06 kB / 5.262 GB, free: 20.02 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00335/16.96, allocations: 21.31 kB / 5.262 GB, free: 20.02 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001158/16.96, allocations: 0.644 MB / 5.263 GB, free: 20 MB / 0.5886 GB 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: 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.2713/17.23, allocations: 119.2 MB / 5.379 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5048/17.74, allocations: 6.392 MB / 5.385 GB, free: 73.82 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00932/17.75, allocations: 4.13 MB / 5.389 GB, free: 73.77 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1378/17.89, allocations: 64.93 MB / 5.453 GB, free: 34.18 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000116/17.89, allocations: 98.97 kB / 5.453 GB, free: 34.13 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006549/17.89, allocations: 0.6545 MB / 5.453 GB, free: 34.12 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=573): time 3.854e-05/17.89, allocations: 5.312 kB / 5.453 GB, free: 34.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=695): time 0.24/18.13, allocations: 44.77 MB / 5.497 GB, free: 32.13 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.3e-05/18.13, allocations: 173.1 kB / 5.497 GB, free: 32 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009179/18.14, allocations: 3.317 MB / 5.501 GB, free: 31.66 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.001927/18.14, allocations: 30.64 kB / 5.501 GB, free: 31.62 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.003017/18.15, allocations: 3.07 MB / 5.504 GB, free: 30.49 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.003806/18.15, allocations: 2.316 MB / 5.506 GB, free: 28.95 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001956/18.15, allocations: 0 / 5.506 GB, free: 28.95 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0008784/18.15, allocations: 0.6279 MB / 5.506 GB, free: 28.62 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01024/18.16, allocations: 4.206 MB / 5.511 GB, free: 28.6 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01219/18.18, allocations: 6.05 MB / 5.516 GB, free: 26.62 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1459/18.32, allocations: 26.31 MB / 5.542 GB, free: 24.23 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.431e-05/18.32, allocations: 14.31 kB / 5.542 GB, free: 24.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1025) (initialization): time 0.08402/18.41, allocations: 19.44 MB / 5.561 GB, free: 23.72 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.004094/18.41, allocations: 20.21 MB / 5.581 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002308/18.41, allocations: 54.84 kB / 5.581 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09006/18.5, allocations: 13.98 MB / 5.595 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005301/18.51, allocations: 1.059 MB / 5.596 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06158/18.57, allocations: 19.25 MB / 5.614 GB, free: 4.207 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01169/18.58, allocations: 0.729 MB / 5.615 GB, free: 3.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002677/18.58, allocations: 387.1 kB / 5.615 GB, free: 3.387 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/18.58, allocations: 4 kB / 5.615 GB, free: 3.383 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5949/19.18, allocations: 19.65 MB / 5.635 GB, free: 83.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002384/19.18, allocations: 53.48 kB / 5.635 GB, free: 83.18 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07592/19.25, allocations: 12.46 MB / 5.647 GB, free: 83.07 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005297/19.26, allocations: 1.085 MB / 5.648 GB, free: 83.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05212/19.31, allocations: 17.73 MB / 5.665 GB, free: 81.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009272/19.32, allocations: 0.7046 MB / 5.666 GB, free: 81.88 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002505/19.32, allocations: 381.9 kB / 5.666 GB, free: 81.88 MB / 0.6511 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 () * 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.004377/19.33, allocations: 341.4 kB / 5.667 GB, free: 81.77 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00311/19.33, allocations: 0.6131 MB / 5.667 GB, free: 81.77 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0846/19.41, allocations: 27.56 MB / 5.694 GB, free: 80.54 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000275/19.41, allocations: 220.7 kB / 5.694 GB, free: 80.54 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.165e-05/19.41, allocations: 7.734 kB / 5.694 GB, free: 80.54 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07416/19.49, allocations: 24.33 MB / 5.718 GB, free: 79.17 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.121/19.61, allocations: 46.14 MB / 5.763 GB, free: 75.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001195/19.61, allocations: 16.75 kB / 5.763 GB, free: 75.71 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004982/19.62, allocations: 0.8959 MB / 5.764 GB, free: 75.71 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02665/19.64, allocations: 6.352 MB / 5.77 GB, free: 75.34 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001825/19.64, allocations: 160.5 kB / 5.77 GB, free: 75.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02391/19.67, allocations: 16.16 MB / 5.786 GB, free: 66.05 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.367e-05/19.67, allocations: 24.66 kB / 5.786 GB, free: 66.05 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08464/19.75, allocations: 32.79 MB / 5.818 GB, free: 43.09 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006718/19.76, allocations: 1.891 MB / 5.82 GB, free: 41.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003173/19.76, allocations: 91.88 kB / 5.82 GB, free: 41.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00863/19.77, allocations: 450.4 kB / 5.821 GB, free: 41.11 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002112/19.77, allocations: 0.4918 MB / 5.821 GB, free: 40.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001614/19.77, allocations: 268.2 kB / 5.821 GB, free: 40.57 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.006262/19.78, allocations: 2.321 MB / 5.824 GB, free: 38.53 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.22e-06/19.78, allocations: 4 kB / 5.824 GB, free: 38.52 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.02912/19.81, allocations: 5.934 MB / 5.829 GB, free: 33.11 MB / 0.6511 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: 98 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.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,$cse22.phase,$cse22.region,$cse27.phase,$cse27.region,$cse28.phase,$cse28.region,$cse30.phase,$cse30.region,$cse32.phase,$cse32.region,$cse41.phase,$cse41.region,$cse43.phase,$cse43.region,$cse44.phase,$cse44.region,$cse50.phase,$cse50.region,$cse51.phase,$cse51.region,$cse52.phase,$cse52.region,$cse53.phase,$cse53.region,$cse55.phase,$cse55.region,$cse62.phase,$cse62.region,$cse63.phase,$cse63.region,$cse65.phase,$cse65.region,$cse66.phase,$cse66.region,$cse67.phase,$cse67.region,$cse69.phase,$cse69.region,$cse71.phase,$cse71.region,$cse72.phase,$cse72.region,$cse73.phase,$cse73.region,$cse75.phase,$cse75.region,$cse76.phase,$cse76.region,$cse78.phase,$cse78.region,$cse79.phase,$cse79.region,$cse81.phase,$cse81.region,$cse82.phase,$cse82.region,$cse83.phase,$cse83.region,$cse84.phase,$cse84.region,$cse86.phase,$cse86.region,$cse87.phase,$cse87.region,$cse88.phase,$cse88.region,$cse89.phase,$cse89.region,$cse91.phase,$cse91.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (545): * Single equations (assignments): 486 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 49 * 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,6 36,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.02081/19.83, allocations: 5.656 MB / 5.835 GB, free: 29.41 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.04369/19.87, allocations: 18.78 MB / 5.853 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-05/19.87, allocations: 7.219 kB / 5.853 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.522/20.4, allocations: 8.354 MB / 5.861 GB, free: 78.31 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01745/20.41, allocations: 2.562 MB / 5.864 GB, free: 78.26 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05059/20.47, allocations: 21.31 MB / 5.885 GB, free: 74.51 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0118/20.48, allocations: 5.768 MB / 5.89 GB, free: 73.61 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002852/20.48, allocations: 0.497 MB / 5.891 GB, free: 73.61 MB / 0.6511 GB Notification: Performance of SimCode: time 2.043e-06/20.48, allocations: 0 / 5.891 GB, free: 73.61 MB / 0.6511 GB Notification: Performance of Templates: time 1.027/21.51, allocations: 381 MB / 6.263 GB, free: 58.09 MB / 0.6667 GB