Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestExamplesVariants.IncompressibleFluidNetwork_StandardWaterOnePhase.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Fluid.TestExamplesVariants.IncompressibleFluidNetwork_StandardWaterOnePhase") Notification: Performance of loadModel(ModelicaTest): time 1.842/1.842, allocations: 209.2 MB / 224.8 MB, free: 344 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004457/0.0004459, allocations: 16 kB / 282.6 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2899, allocations: 48.7 MB / 331.3 MB, free: 6.496 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.318/6.608, allocations: 2.673 GB / 2.997 GB, free: 103.6 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/6.608, allocations: 80.14 kB / 2.997 GB, free: 103.6 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.985/16.59, allocations: 2.059 GB / 5.055 GB, free: 24.71 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.719e-06/16.59, allocations: 0 / 5.055 GB, free: 24.71 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0009508/16.59, allocations: 217 kB / 5.055 GB, free: 24.68 MB / 0.5417 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.05185/16.65, allocations: 10.47 MB / 5.066 GB, free: 20.15 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/16.65, allocations: 7.031 kB / 5.066 GB, free: 20.15 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01904/16.67, allocations: 1.934 MB / 5.068 GB, free: 19.69 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02806/16.69, allocations: 7.144 MB / 5.075 GB, free: 18.6 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009369/16.69, allocations: 0.5403 MB / 5.075 GB, free: 18.58 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003887/16.7, allocations: 0.7114 MB / 5.076 GB, free: 18.57 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04382/16.74, allocations: 12.89 MB / 5.088 GB, free: 16.62 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004608/16.74, allocations: 43.05 kB / 5.088 GB, free: 16.62 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003521/16.75, allocations: 318.6 kB / 5.089 GB, free: 16.61 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001151/16.75, allocations: 0.6371 MB / 5.089 GB, free: 16.6 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03848/16.79, allocations: 12.63 MB / 5.102 GB, free: 16.54 MB / 0.5417 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.09243/16.88, allocations: 53.95 MB / 5.154 GB, free: 15.59 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01981/16.9, allocations: 7.395 MB / 5.162 GB, free: 15.36 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7074/17.61, allocations: 97.88 MB / 5.257 GB, free: 12.46 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001211/17.61, allocations: 101.3 kB / 5.257 GB, free: 12.41 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007155/17.61, allocations: 0.8286 MB / 5.258 GB, free: 12.39 MB / 0.573 GB Notification: Performance of pre-optimization done (n=583): time 3.592e-05/17.61, allocations: 0.75 kB / 5.258 GB, free: 12.39 MB / 0.573 GB Notification: Performance of matching and sorting (n=705): time 0.2241/17.84, allocations: 50.29 MB / 5.307 GB, free: 9.41 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.72e-05/17.84, allocations: 187.5 kB / 5.307 GB, free: 9.273 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01165/17.85, allocations: 4.254 MB / 5.312 GB, free: 8.926 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.002066/17.85, allocations: 154.8 kB / 5.312 GB, free: 8.895 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.003083/17.85, allocations: 2.992 MB / 5.315 GB, free: 7.887 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003932/17.86, allocations: 2.434 MB / 5.317 GB, free: 6.328 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002076/17.86, allocations: 164.4 kB / 5.317 GB, free: 6.328 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0008576/17.86, allocations: 0.6262 MB / 5.318 GB, free: 6 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01144/17.87, allocations: 4.434 MB / 5.322 GB, free: 5.973 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01345/17.89, allocations: 6.328 MB / 5.328 GB, free: 3.977 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4281/18.31, allocations: 42.98 MB / 5.37 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.458e-05/18.31, allocations: 12 kB / 5.37 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1025) (initialization): time 0.04404/18.36, allocations: 14.99 MB / 5.385 GB, free: 3.602 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.4912/18.85, allocations: 20.2 MB / 5.405 GB, free: 81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002421/18.85, allocations: 51.81 kB / 5.405 GB, free: 81 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1699/19.02, allocations: 18.45 MB / 5.423 GB, free: 80.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005921/19.03, allocations: 1.061 MB / 5.424 GB, free: 80.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03593/19.06, allocations: 15.08 MB / 5.438 GB, free: 79.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01197/19.07, allocations: 0.8821 MB / 5.439 GB, free: 79.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002563/19.08, allocations: 389.3 kB / 5.44 GB, free: 79.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/19.08, allocations: 5.25 kB / 5.44 GB, free: 79.71 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03954/19.12, allocations: 14.25 MB / 5.454 GB, free: 79.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001785/19.12, allocations: 53.84 kB / 5.454 GB, free: 79.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1483/19.26, allocations: 16.67 MB / 5.47 GB, free: 79.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005985/19.27, allocations: 1.09 MB / 5.471 GB, free: 79.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03136/19.3, allocations: 14.08 MB / 5.485 GB, free: 78.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009481/19.31, allocations: 0.8655 MB / 5.486 GB, free: 78.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002484/19.31, allocations: 382.8 kB / 5.486 GB, free: 78.2 MB / 0.6042 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.009129/19.32, allocations: 2.274 MB / 5.488 GB, free: 78 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003325/19.33, allocations: 0.6639 MB / 5.489 GB, free: 78 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05632/19.38, allocations: 26.73 MB / 5.515 GB, free: 76.69 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002466/19.38, allocations: 229.3 kB / 5.515 GB, free: 76.69 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.97e-05/19.38, allocations: 5.531 kB / 5.515 GB, free: 76.69 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04421/19.43, allocations: 23.17 MB / 5.538 GB, free: 72.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09577/19.52, allocations: 46.35 MB / 5.583 GB, free: 40.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001608/19.52, allocations: 16 kB / 5.583 GB, free: 40.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005649/19.53, allocations: 0.909 MB / 5.584 GB, free: 39.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07085/19.6, allocations: 10.63 MB / 5.594 GB, free: 32.28 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001948/19.6, allocations: 261.7 kB / 5.595 GB, free: 32.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01906/19.62, allocations: 14.62 MB / 5.609 GB, free: 18.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.171e-05/19.62, allocations: 28.44 kB / 5.609 GB, free: 18.92 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5501/20.17, allocations: 31.41 MB / 5.64 GB, free: 78 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007318/20.18, allocations: 2.018 MB / 5.642 GB, free: 77.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003338/20.18, allocations: 215.5 kB / 5.642 GB, free: 77.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009061/20.19, allocations: 0.5659 MB / 5.642 GB, free: 77.91 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002023/20.19, allocations: 0.4983 MB / 5.643 GB, free: 77.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001408/20.19, allocations: 264.4 kB / 5.643 GB, free: 77.89 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.008709/20.2, allocations: 3.177 MB / 5.646 GB, free: 77.68 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.467e-06/20.2, allocations: 0 / 5.646 GB, free: 77.68 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.02956/20.23, allocations: 6.468 MB / 5.652 GB, free: 77.51 MB / 0.6042 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.02034/20.25, allocations: 5.251 MB / 5.658 GB, free: 76.79 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.04878/20.3, allocations: 19.89 MB / 5.677 GB, free: 76.39 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.571e-05/20.3, allocations: 4.25 kB / 5.677 GB, free: 76.39 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.01893/20.32, allocations: 8.745 MB / 5.686 GB, free: 76.29 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01971/20.34, allocations: 2.988 MB / 5.688 GB, free: 76.22 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1652/20.51, allocations: 72.95 MB / 5.76 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01197/20.52, allocations: 5.828 MB / 5.765 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003096/20.52, allocations: 0.5269 MB / 5.766 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of SimCode: time 1.828e-06/20.52, allocations: 2.438 kB / 5.766 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of Templates: time 1.617/22.14, allocations: 389.7 MB / 6.146 GB, free: 121 MB / 0.6511 GB