Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.IncompressibleFluidNetwork_StandardWaterOnePhase,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestExamplesVariants_IncompressibleFluidNetwork_StandardWaterOnePhase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.438/2.438, allocations: 235 MB / 248.1 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.73e-05/3.76e-05, allocations: 4 kB / 309.8 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4397/0.4398, allocations: 54.84 MB / 364.6 MB, free: 5.551 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.594/9.034, allocations: 2.784 GB / 3.14 GB, free: 90.92 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/9.034, allocations: 74.36 kB / 3.14 GB, free: 90.92 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 11.97/21, allocations: 2.104 GB / 5.244 GB, free: 29.19 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.144e-06/21, allocations: 0 / 5.244 GB, free: 29.19 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.001181/21, allocations: 213.8 kB / 5.244 GB, free: 29.15 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.06609/21.07, allocations: 9.807 MB / 5.254 GB, free: 24.98 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.294e-05/21.07, allocations: 12.56 kB / 5.254 GB, free: 24.98 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006395/21.08, allocations: 0.9744 MB / 5.255 GB, free: 24.89 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02132/21.1, allocations: 1.971 MB / 5.257 GB, free: 24.43 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03434/21.13, allocations: 7.128 MB / 5.264 GB, free: 23.33 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001085/21.13, allocations: 0.5358 MB / 5.264 GB, free: 23.31 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004716/21.14, allocations: 0.7093 MB / 5.265 GB, free: 23.3 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04938/21.19, allocations: 12.97 MB / 5.278 GB, free: 21.35 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005934/21.19, allocations: 37.38 kB / 5.278 GB, free: 21.35 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004388/21.19, allocations: 318.3 kB / 5.278 GB, free: 21.35 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001467/21.19, allocations: 0.643 MB / 5.279 GB, free: 21.33 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04357/21.24, allocations: 12.6 MB / 5.291 GB, free: 21.21 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.126/21.36, allocations: 53.95 MB / 5.344 GB, free: 4.23 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03427/21.4, allocations: 7.524 MB / 5.351 GB, free: 3.078 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01913/21.42, allocations: 4.284 MB / 5.355 GB, free: 1.465 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.9866/22.4, allocations: 98.4 MB / 5.451 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001558/22.4, allocations: 95.52 kB / 5.451 GB, free: 16.06 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009444/22.41, allocations: 0.8293 MB / 5.452 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=583): time 4.845e-05/22.41, allocations: 0 / 5.452 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=705): time 0.2558/22.67, allocations: 45.29 MB / 5.496 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/22.67, allocations: 179.6 kB / 5.497 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0135/22.68, allocations: 4.225 MB / 5.501 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.002629/22.69, allocations: 152.9 kB / 5.501 GB, free: 13 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.003822/22.69, allocations: 2.982 MB / 5.504 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.004898/22.69, allocations: 2.447 MB / 5.506 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002362/22.7, allocations: 161.2 kB / 5.506 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0009136/22.7, allocations: 0.6342 MB / 5.507 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0134/22.71, allocations: 4.307 MB / 5.511 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01569/22.73, allocations: 6.205 MB / 5.517 GB, free: 8.035 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5733/23.3, allocations: 41.27 MB / 5.557 GB, free: 1.641 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001281/23.3, allocations: 16 kB / 5.557 GB, free: 1.625 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1025) (initialization): time 0.09977/23.4, allocations: 14.96 MB / 5.572 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.01051/23.41, allocations: 20.21 MB / 5.592 GB, free: 4.844 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003569/23.41, allocations: 53.62 kB / 5.592 GB, free: 4.793 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2694/23.68, allocations: 20.84 MB / 5.612 GB, free: 14.51 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008234/23.69, allocations: 1.065 MB / 5.613 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04462/23.73, allocations: 14.97 MB / 5.628 GB, free: 5.648 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01626/23.75, allocations: 0.8785 MB / 5.629 GB, free: 5.078 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003264/23.75, allocations: 388.8 kB / 5.629 GB, free: 4.801 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/23.75, allocations: 4 kB / 5.629 GB, free: 4.797 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.7059/24.46, allocations: 14.18 MB / 5.643 GB, free: 98.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002768/24.46, allocations: 52.91 kB / 5.643 GB, free: 98.3 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2176/24.68, allocations: 16.79 MB / 5.659 GB, free: 98.18 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008295/24.69, allocations: 1.089 MB / 5.66 GB, free: 98.18 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04146/24.73, allocations: 13.97 MB / 5.674 GB, free: 97.01 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01311/24.74, allocations: 0.8659 MB / 5.675 GB, free: 97.01 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003212/24.74, allocations: 385.1 kB / 5.675 GB, free: 97.01 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 () * 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.00573/24.75, allocations: 0.596 MB / 5.676 GB, free: 96.89 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004021/24.75, allocations: 0.6686 MB / 5.677 GB, free: 96.89 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07373/24.83, allocations: 27.11 MB / 5.703 GB, free: 95.57 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003482/24.83, allocations: 232.7 kB / 5.703 GB, free: 95.57 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.632e-05/24.83, allocations: 0.9375 kB / 5.703 GB, free: 95.57 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06003/24.89, allocations: 23.56 MB / 5.726 GB, free: 94.1 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1215/25.01, allocations: 46.37 MB / 5.772 GB, free: 86.38 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001577/25.01, allocations: 18 kB / 5.772 GB, free: 86.38 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008042/25.02, allocations: 0.9124 MB / 5.772 GB, free: 86.34 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1075/25.13, allocations: 10.42 MB / 5.783 GB, free: 84.5 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00224/25.13, allocations: 259.9 kB / 5.783 GB, free: 84.39 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02255/25.15, allocations: 14.56 MB / 5.797 GB, free: 75.93 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.989e-05/25.15, allocations: 26.72 kB / 5.797 GB, free: 75.93 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06376/25.21, allocations: 31.03 MB / 5.827 GB, free: 54.38 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008848/25.22, allocations: 2.016 MB / 5.829 GB, free: 52.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003662/25.23, allocations: 216.1 kB / 5.83 GB, free: 52.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01191/25.24, allocations: 0.5781 MB / 5.83 GB, free: 51.98 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002588/25.24, allocations: 0.5003 MB / 5.831 GB, free: 51.67 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001841/25.24, allocations: 264.6 kB / 5.831 GB, free: 51.43 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.00899/25.25, allocations: 3.12 MB / 5.834 GB, free: 48.64 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.212e-06/25.25, allocations: 0 / 5.834 GB, free: 48.64 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.03616/25.29, allocations: 6.5 MB / 5.84 GB, free: 42.66 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 () * 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,6 36,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.7564/26.04, allocations: 40.36 MB / 5.88 GB, free: 99 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.06376/26.11, allocations: 19.54 MB / 5.899 GB, free: 98.66 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-05/26.11, allocations: 4.156 kB / 5.899 GB, free: 98.66 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.02259/26.13, allocations: 8.639 MB / 5.907 GB, free: 98.56 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02887/26.16, allocations: 2.99 MB / 5.91 GB, free: 98.48 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2341/26.39, allocations: 71.02 MB / 5.979 GB, free: 93.55 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01348/26.41, allocations: 5.835 MB / 5.985 GB, free: 92.54 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01119/26.42, allocations: 4.262 MB / 5.989 GB, free: 92.54 MB / 0.6667 GB Notification: Performance of SimCode: time 1.703e-06/26.42, allocations: 0 / 5.989 GB, free: 92.54 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 9.181/35.6, allocations: 434.5 MB / 6.414 GB, free: 144.8 MB / 0.7136 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestExamplesVariants.IncompressibleFluidNetwork_StandardWaterOnePhase_res.mat does not exist to compare? outputFormat=mat