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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.678/2.678, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.79e-05/1.789e-05, allocations: 0 / 303.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4101/0.4101, allocations: 54.86 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.744/9.155, allocations: 2.783 GB / 3.133 GB, free: 98.46 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003883/9.155, allocations: 77.23 kB / 3.133 GB, free: 98.46 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 12.04/21.19, allocations: 2.089 GB / 5.221 GB, free: 31.61 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.355e-06/21.19, allocations: 1.688 kB / 5.221 GB, free: 31.61 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.001198/21.19, allocations: 213.9 kB / 5.222 GB, free: 31.57 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.0692/21.26, allocations: 9.803 MB / 5.231 GB, free: 27.41 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.834e-05/21.26, allocations: 11.34 kB / 5.231 GB, free: 27.41 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02197/21.28, allocations: 1.969 MB / 5.233 GB, free: 26.95 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03468/21.32, allocations: 7.123 MB / 5.24 GB, free: 25.85 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007106/21.32, allocations: 233.2 kB / 5.24 GB, free: 25.85 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004629/21.33, allocations: 426.6 kB / 5.241 GB, free: 25.84 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0348/21.36, allocations: 11.53 MB / 5.252 GB, free: 25.81 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04746/21.41, allocations: 10.26 MB / 5.262 GB, free: 23.89 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006686/21.41, allocations: 43.84 kB / 5.262 GB, free: 23.89 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004534/21.41, allocations: 20.19 kB / 5.262 GB, free: 23.89 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00207/21.41, allocations: 0.6384 MB / 5.263 GB, free: 23.87 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 1.018/22.43, allocations: 119.2 MB / 5.379 GB, free: 64.79 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01585/22.45, allocations: 6.395 MB / 5.385 GB, free: 64.74 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01021/22.46, allocations: 4.125 MB / 5.389 GB, free: 64.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2132/22.67, allocations: 64.93 MB / 5.453 GB, free: 24.98 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002013/22.67, allocations: 102.3 kB / 5.453 GB, free: 24.93 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01207/22.68, allocations: 0.6592 MB / 5.453 GB, free: 24.92 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=573): time 5.121e-05/22.68, allocations: 0 / 5.453 GB, free: 24.92 MB / 0.6355 GB Notification: Performance of matching and sorting (n=695): time 0.337/23.02, allocations: 44.75 MB / 5.497 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/23.02, allocations: 179.3 kB / 5.497 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008385/23.03, allocations: 3.318 MB / 5.501 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.002185/23.03, allocations: 29.27 kB / 5.501 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.003329/23.04, allocations: 3.073 MB / 5.504 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.00435/23.04, allocations: 2.318 MB / 5.506 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001536/23.04, allocations: 0 / 5.506 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0006643/23.04, allocations: 0.629 MB / 5.506 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01191/23.05, allocations: 4.201 MB / 5.511 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01463/23.07, allocations: 6.047 MB / 5.516 GB, free: 17.32 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2252/23.29, allocations: 26.32 MB / 5.542 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.634e-05/23.29, allocations: 14.62 kB / 5.542 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1025) (initialization): time 0.1122/23.41, allocations: 19.44 MB / 5.561 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.00902/23.42, allocations: 20.2 MB / 5.581 GB, free: 6.031 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003747/23.42, allocations: 48 kB / 5.581 GB, free: 5.984 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1407/23.56, allocations: 13.89 MB / 5.595 GB, free: 15.02 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008025/23.56, allocations: 1.064 MB / 5.596 GB, free: 14.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06861/23.63, allocations: 19.25 MB / 5.614 GB, free: 4.207 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01615/23.65, allocations: 0.7298 MB / 5.615 GB, free: 3.66 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003452/23.65, allocations: 385.8 kB / 5.615 GB, free: 3.387 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/23.65, allocations: 5.25 kB / 5.615 GB, free: 3.383 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.7637/24.42, allocations: 19.24 MB / 5.634 GB, free: 102.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002406/24.42, allocations: 53.12 kB / 5.634 GB, free: 102.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1213/24.54, allocations: 12.46 MB / 5.646 GB, free: 102.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008355/24.55, allocations: 1.092 MB / 5.648 GB, free: 102.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06058/24.61, allocations: 17.72 MB / 5.665 GB, free: 101.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01317/24.62, allocations: 0.7044 MB / 5.666 GB, free: 101.2 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003322/24.62, allocations: 387.2 kB / 5.666 GB, free: 101.2 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.006064/24.63, allocations: 331.3 kB / 5.666 GB, free: 101.1 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.09742/24.73, allocations: 16.15 MB / 5.682 GB, free: 100.8 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004164/24.73, allocations: 0.6152 MB / 5.683 GB, free: 100.8 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1103/24.84, allocations: 27.57 MB / 5.71 GB, free: 99.56 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000401/24.84, allocations: 221.2 kB / 5.71 GB, free: 99.56 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.263e-05/24.84, allocations: 0 / 5.71 GB, free: 99.56 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.09217/24.94, allocations: 24.33 MB / 5.733 GB, free: 98.19 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1517/25.09, allocations: 46.15 MB / 5.779 GB, free: 90.31 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001473/25.09, allocations: 14.34 kB / 5.779 GB, free: 90.31 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007796/25.09, allocations: 0.8928 MB / 5.779 GB, free: 90.27 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03825/25.13, allocations: 6.35 MB / 5.786 GB, free: 89.01 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00238/25.14, allocations: 162.4 kB / 5.786 GB, free: 88.97 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02785/25.16, allocations: 16.15 MB / 5.802 GB, free: 76.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.61e-05/25.16, allocations: 27.41 kB / 5.802 GB, free: 76.38 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1106/25.27, allocations: 32.8 MB / 5.834 GB, free: 47.2 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008547/25.28, allocations: 1.891 MB / 5.835 GB, free: 45.54 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004091/25.29, allocations: 95.81 kB / 5.836 GB, free: 45.46 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01207/25.3, allocations: 452.2 kB / 5.836 GB, free: 45.18 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002671/25.3, allocations: 0.4895 MB / 5.836 GB, free: 44.88 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001871/25.3, allocations: 272.4 kB / 5.837 GB, free: 44.64 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.006407/25.31, allocations: 2.32 MB / 5.839 GB, free: 42.6 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.132e-06/25.31, allocations: 0 / 5.839 GB, free: 42.6 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.03546/25.35, allocations: 5.939 MB / 5.845 GB, free: 37.18 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: 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.7781/26.12, allocations: 42.96 MB / 5.887 GB, free: 98.7 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.05649/26.18, allocations: 18.78 MB / 5.905 GB, free: 98.4 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.408e-05/26.18, allocations: 6.406 kB / 5.905 GB, free: 98.4 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.02382/26.2, allocations: 8.32 MB / 5.913 GB, free: 98.34 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03344/26.24, allocations: 2.57 MB / 5.916 GB, free: 98.28 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09546/26.33, allocations: 24.49 MB / 5.94 GB, free: 94.15 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0138/26.35, allocations: 5.771 MB / 5.945 GB, free: 93.25 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.011/26.36, allocations: 4.177 MB / 5.949 GB, free: 93.24 MB / 0.6667 GB Notification: Performance of SimCode: time 2.104e-06/26.36, allocations: 3.594 kB / 5.949 GB, free: 93.24 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 9.028/35.39, allocations: 424.9 MB / 6.364 GB, free: 123.7 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