Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.IncompressibleFluidNetwork_StandardWaterOnePhase,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestExamplesVariants_IncompressibleFluidNetwork_StandardWaterOnePhase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.885/1.885, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005989/0.000599, allocations: 12 kB / 282.7 MB, free: 9.551 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1093, allocations: 48.7 MB / 331.4 MB, free: 8.754 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.401/8.51, allocations: 2.673 GB / 2.997 GB, free: 90.54 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/8.511, allocations: 82.86 kB / 2.997 GB, free: 90.5 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 11.55/20.06, allocations: 2.059 GB / 5.055 GB, free: 26.82 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.745e-06/20.06, allocations: 0 / 5.055 GB, free: 26.82 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.001163/20.06, allocations: 215.7 kB / 5.056 GB, free: 26.79 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.06822/20.13, allocations: 10.48 MB / 5.066 GB, free: 22.27 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/20.13, allocations: 10.62 kB / 5.066 GB, free: 22.27 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00665/20.13, allocations: 0.984 MB / 5.067 GB, free: 22.18 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02166/20.15, allocations: 1.941 MB / 5.069 GB, free: 21.72 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03421/20.19, allocations: 7.141 MB / 5.076 GB, free: 20.62 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001164/20.19, allocations: 0.5383 MB / 5.076 GB, free: 20.61 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004971/20.19, allocations: 0.7095 MB / 5.077 GB, free: 20.59 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05119/20.25, allocations: 12.9 MB / 5.089 GB, free: 18.59 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004802/20.25, allocations: 36.94 kB / 5.089 GB, free: 18.57 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004169/20.25, allocations: 315.8 kB / 5.09 GB, free: 18.57 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001319/20.25, allocations: 0.6392 MB / 5.09 GB, free: 18.55 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04213/20.29, allocations: 12.63 MB / 5.103 GB, free: 18.34 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.1047/20.4, allocations: 53.95 MB / 5.155 GB, free: 15.36 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02268/20.42, allocations: 7.393 MB / 5.163 GB, free: 11.23 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.9093/21.33, allocations: 97.77 MB / 5.258 GB, free: 8.934 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001416/21.33, allocations: 101.2 kB / 5.258 GB, free: 8.883 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009141/21.34, allocations: 0.8304 MB / 5.259 GB, free: 8.863 MB / 0.573 GB Notification: Performance of pre-optimization done (n=583): time 4.387e-05/21.34, allocations: 0 / 5.259 GB, free: 8.863 MB / 0.573 GB Notification: Performance of matching and sorting (n=705): time 0.2877/21.63, allocations: 50.29 MB / 5.308 GB, free: 5.867 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/21.63, allocations: 175.3 kB / 5.308 GB, free: 5.734 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01215/21.64, allocations: 4.262 MB / 5.312 GB, free: 5.387 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.002484/21.64, allocations: 152.6 kB / 5.313 GB, free: 5.355 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.003613/21.65, allocations: 2.98 MB / 5.316 GB, free: 4.34 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.004566/21.65, allocations: 2.444 MB / 5.318 GB, free: 2.777 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002101/21.65, allocations: 164.7 kB / 5.318 GB, free: 2.773 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0007636/21.65, allocations: 0.6262 MB / 5.319 GB, free: 2.445 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01324/21.67, allocations: 4.433 MB / 5.323 GB, free: 2.422 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01664/21.68, allocations: 6.328 MB / 5.329 GB, free: 440 kB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6307/22.31, allocations: 46.15 MB / 5.374 GB, free: 6.707 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-05/22.31, allocations: 12 kB / 5.374 GB, free: 6.695 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1025) (initialization): time 0.05497/22.37, allocations: 14.99 MB / 5.389 GB, free: 12.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.5699/22.94, allocations: 20.2 MB / 5.409 GB, free: 77.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002782/22.94, allocations: 52.75 kB / 5.409 GB, free: 77.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2284/23.17, allocations: 18.46 MB / 5.427 GB, free: 77.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009701/23.18, allocations: 1.064 MB / 5.428 GB, free: 77.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05613/23.23, allocations: 15.08 MB / 5.442 GB, free: 75.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01773/23.25, allocations: 0.8804 MB / 5.443 GB, free: 75.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002758/23.25, allocations: 389.3 kB / 5.444 GB, free: 75.95 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/23.26, allocations: 3.562 kB / 5.444 GB, free: 75.95 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04323/23.3, allocations: 14.24 MB / 5.458 GB, free: 75.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001592/23.3, allocations: 51.84 kB / 5.458 GB, free: 75.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2286/23.53, allocations: 16.68 MB / 5.474 GB, free: 75.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007961/23.54, allocations: 1.092 MB / 5.475 GB, free: 75.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04027/23.58, allocations: 14.07 MB / 5.489 GB, free: 74.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01286/23.59, allocations: 0.869 MB / 5.49 GB, free: 74.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003214/23.59, allocations: 384.2 kB / 5.49 GB, free: 74.45 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.01139/23.6, allocations: 2.28 MB / 5.492 GB, free: 74.25 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004096/23.61, allocations: 0.661 MB / 5.493 GB, free: 74.25 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06754/23.67, allocations: 26.73 MB / 5.519 GB, free: 72.94 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000325/23.68, allocations: 228 kB / 5.519 GB, free: 72.94 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.099e-05/23.68, allocations: 5.438 kB / 5.519 GB, free: 72.94 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05141/23.73, allocations: 23.17 MB / 5.542 GB, free: 68.47 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1153/23.84, allocations: 46.35 MB / 5.587 GB, free: 34.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001508/23.84, allocations: 21.81 kB / 5.587 GB, free: 34.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007595/23.85, allocations: 0.9078 MB / 5.588 GB, free: 33.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09584/23.95, allocations: 10.63 MB / 5.598 GB, free: 26.83 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002504/23.95, allocations: 258.6 kB / 5.599 GB, free: 26.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02301/23.97, allocations: 14.62 MB / 5.613 GB, free: 13.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.032e-05/23.97, allocations: 23.94 kB / 5.613 GB, free: 13.44 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6659/24.64, allocations: 31.77 MB / 5.644 GB, free: 81.43 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008633/24.65, allocations: 2.016 MB / 5.646 GB, free: 81.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004463/24.65, allocations: 220.7 kB / 5.646 GB, free: 81.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01214/24.66, allocations: 0.564 MB / 5.647 GB, free: 81.16 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002619/24.67, allocations: 0.499 MB / 5.647 GB, free: 81.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0015/24.67, allocations: 269.2 kB / 5.647 GB, free: 81.14 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.01007/24.68, allocations: 3.179 MB / 5.651 GB, free: 80.93 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.192e-06/24.68, allocations: 0 / 5.651 GB, free: 80.93 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.03637/24.71, allocations: 6.469 MB / 5.657 GB, free: 80.75 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.09592/24.81, allocations: 40.68 MB / 5.697 GB, free: 70.62 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.07737/24.89, allocations: 19.9 MB / 5.716 GB, free: 70.22 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.367e-05/24.89, allocations: 8.562 kB / 5.716 GB, free: 70.22 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.02456/24.91, allocations: 8.739 MB / 5.725 GB, free: 70.11 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02852/24.94, allocations: 2.991 MB / 5.727 GB, free: 70.04 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8262/25.77, allocations: 117.4 MB / 5.842 GB, free: 91.02 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01905/25.79, allocations: 5.827 MB / 5.848 GB, free: 90.12 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01415/25.8, allocations: 4.266 MB / 5.852 GB, free: 90.12 MB / 0.6198 GB Notification: Performance of SimCode: time 3.096e-06/25.8, allocations: 2.156 kB / 5.852 GB, free: 90.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 8.421/34.22, allocations: 426.4 MB / 6.268 GB, free: 14 MB / 0.6355 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestExamplesVariants.IncompressibleFluidNetwork_StandardWaterOnePhase_res.mat does not exist to compare? outputFormat=mat