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.501/2.501, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004793/0.0004793, allocations: 16 kB / 314.5 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3807/0.3813, allocations: 54.85 MB / 369.3 MB, free: 12.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.589/8.97, allocations: 2.784 GB / 3.144 GB, free: 106.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/8.971, allocations: 88.81 kB / 3.144 GB, free: 106.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 11.84/20.81, allocations: 2.109 GB / 5.254 GB, free: 24.54 MB / 0.5886 GB Notification: Performance of FrontEnd: time 4.969e-06/20.82, allocations: 0 / 5.254 GB, free: 24.54 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.001257/20.82, allocations: 212.5 kB / 5.254 GB, free: 24.49 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.07211/20.89, allocations: 10.76 MB / 5.265 GB, free: 19.75 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/20.89, allocations: 10.34 kB / 5.265 GB, free: 19.75 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006557/20.9, allocations: 0.9985 MB / 5.266 GB, free: 19.66 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02156/20.92, allocations: 1.97 MB / 5.268 GB, free: 19.2 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03453/20.95, allocations: 7.157 MB / 5.275 GB, free: 17.87 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001097/20.95, allocations: 0.5361 MB / 5.275 GB, free: 17.86 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005212/20.96, allocations: 0.7102 MB / 5.276 GB, free: 17.85 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04977/21.01, allocations: 12.9 MB / 5.288 GB, free: 15.7 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005454/21.01, allocations: 35.41 kB / 5.288 GB, free: 15.68 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004489/21.01, allocations: 313.9 kB / 5.289 GB, free: 15.65 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001449/21.01, allocations: 0.6395 MB / 5.289 GB, free: 15.62 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0434/21.06, allocations: 12.64 MB / 5.302 GB, free: 8.273 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.8771/21.93, allocations: 53.93 MB / 5.354 GB, free: 36.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02277/21.96, allocations: 7.386 MB / 5.361 GB, free: 36.32 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3736/22.33, allocations: 97.89 MB / 5.457 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001639/22.33, allocations: 102.1 kB / 5.457 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01009/22.34, allocations: 0.8351 MB / 5.458 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=583): time 4.652e-05/22.34, allocations: 4 kB / 5.458 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of matching and sorting (n=705): time 0.3252/22.67, allocations: 50.29 MB / 5.507 GB, free: 7.762 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002288/22.67, allocations: 176.1 kB / 5.507 GB, free: 7.629 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01836/22.69, allocations: 4.258 MB / 5.511 GB, free: 7.281 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.00314/22.69, allocations: 155.6 kB / 5.512 GB, free: 7.25 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.005375/22.69, allocations: 2.982 MB / 5.514 GB, free: 6.234 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.006375/22.7, allocations: 2.438 MB / 5.517 GB, free: 4.676 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003108/22.7, allocations: 162.9 kB / 5.517 GB, free: 4.676 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.001366/22.71, allocations: 0.6296 MB / 5.518 GB, free: 4.344 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01992/22.73, allocations: 4.436 MB / 5.522 GB, free: 4.316 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02333/22.75, allocations: 6.326 MB / 5.528 GB, free: 2.32 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7754/23.52, allocations: 46 MB / 5.573 GB, free: 11.37 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.98e-05/23.52, allocations: 12 kB / 5.573 GB, free: 11.36 MB / 0.6667 GB Notification: Performance of matching and sorting (n=1025) (initialization): time 0.05575/23.58, allocations: 14.99 MB / 5.588 GB, free: 1.664 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.6511/24.23, allocations: 20.21 MB / 5.607 GB, free: 79.76 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004827/24.23, allocations: 50.59 kB / 5.608 GB, free: 79.76 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.225/24.46, allocations: 18.46 MB / 5.626 GB, free: 79.64 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007807/24.46, allocations: 1.06 MB / 5.627 GB, free: 79.64 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04693/24.51, allocations: 15.08 MB / 5.641 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01621/24.53, allocations: 0.8852 MB / 5.642 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003341/24.53, allocations: 388.5 kB / 5.643 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/24.53, allocations: 6.188 kB / 5.643 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05236/24.58, allocations: 14.25 MB / 5.656 GB, free: 78.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002994/24.58, allocations: 51.67 kB / 5.656 GB, free: 78.25 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2098/24.79, allocations: 16.67 MB / 5.673 GB, free: 78.14 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008221/24.8, allocations: 1.089 MB / 5.674 GB, free: 78.14 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04667/24.85, allocations: 14.08 MB / 5.688 GB, free: 76.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01723/24.87, allocations: 0.8682 MB / 5.688 GB, free: 76.96 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003102/24.87, allocations: 381.9 kB / 5.689 GB, free: 76.96 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.01213/24.88, allocations: 2.282 MB / 5.691 GB, free: 76.77 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004069/24.89, allocations: 0.6671 MB / 5.692 GB, free: 76.77 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06894/24.95, allocations: 26.72 MB / 5.718 GB, free: 75.47 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003117/24.95, allocations: 226.2 kB / 5.718 GB, free: 75.47 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.528e-05/24.96, allocations: 4.891 kB / 5.718 GB, free: 75.46 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05354/25.01, allocations: 23.17 MB / 5.741 GB, free: 72.95 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1315/25.14, allocations: 46.36 MB / 5.786 GB, free: 48.31 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001475/25.14, allocations: 16 kB / 5.786 GB, free: 48.29 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009484/25.15, allocations: 0.9167 MB / 5.787 GB, free: 47.56 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1165/25.27, allocations: 10.62 MB / 5.797 GB, free: 40.54 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002431/25.27, allocations: 260.2 kB / 5.797 GB, free: 40.32 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02278/25.29, allocations: 14.62 MB / 5.812 GB, free: 27.14 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.497e-05/25.29, allocations: 28.84 kB / 5.812 GB, free: 27.12 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7954/26.09, allocations: 31.64 MB / 5.843 GB, free: 92.59 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008843/26.1, allocations: 2.01 MB / 5.845 GB, free: 92.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00426/26.1, allocations: 218.7 kB / 5.845 GB, free: 92.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01176/26.11, allocations: 0.5662 MB / 5.845 GB, free: 92.5 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002548/26.11, allocations: 0.4957 MB / 5.846 GB, free: 92.48 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001735/26.12, allocations: 271.6 kB / 5.846 GB, free: 92.48 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.00971/26.13, allocations: 3.175 MB / 5.849 GB, free: 92.27 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6.81e-07/26.13, allocations: 0 / 5.849 GB, free: 92.27 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.03679/26.16, allocations: 6.501 MB / 5.856 GB, free: 92.1 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.09726/26.26, allocations: 40.74 MB / 5.895 GB, free: 82.24 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.07178/26.33, allocations: 19.89 MB / 5.915 GB, free: 81.83 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.371e-05/26.33, allocations: 4.719 kB / 5.915 GB, free: 81.83 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.02273/26.36, allocations: 8.741 MB / 5.923 GB, free: 81.73 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02971/26.38, allocations: 2.989 MB / 5.926 GB, free: 81.66 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2344/26.62, allocations: 119.7 MB / 6.043 GB, free: 24.88 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.012/26.63, allocations: 5.822 MB / 6.049 GB, free: 21.38 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00992/26.64, allocations: 4.269 MB / 6.053 GB, free: 17.41 MB / 0.6667 GB Notification: Performance of SimCode: time 1.292e-06/26.64, allocations: 0 / 6.053 GB, free: 17.41 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 9.366/36.01, allocations: 427.5 MB / 6.47 GB, free: 91.6 MB / 0.698 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