Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.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.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.028/2.028, allocations: 209.2 MB / 224.8 MB, free: 0.6328 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004316/0.0004317, allocations: 8 kB / 282.7 MB, free: 9.551 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3587, allocations: 48.7 MB / 331.4 MB, free: 6.406 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.335/7.693, allocations: 2.516 GB / 2.84 GB, free: 2.246 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003338/7.694, allocations: 92.39 kB / 2.84 GB, free: 2.191 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.624/10.32, allocations: 491.3 MB / 3.319 GB, free: 35.49 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.174e-06/10.32, allocations: 0 / 3.319 GB, free: 35.49 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.832e-05/10.32, allocations: 19.66 kB / 3.32 GB, free: 35.49 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.007878/10.33, allocations: 1.798 MB / 3.321 GB, free: 34.08 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/10.33, allocations: 12.03 kB / 3.321 GB, free: 34.07 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002956/10.33, allocations: 106.9 kB / 3.321 GB, free: 33.95 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003271/10.33, allocations: 322.7 kB / 3.322 GB, free: 33.64 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001727/10.33, allocations: 0.6043 MB / 3.322 GB, free: 33.01 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/10.33, allocations: 115.7 kB / 3.322 GB, free: 32.89 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/10.33, allocations: 58.28 kB / 3.322 GB, free: 32.84 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003857/10.34, allocations: 1.202 MB / 3.324 GB, free: 31.55 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.207e-05/10.34, allocations: 3.906 kB / 3.324 GB, free: 31.55 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/10.34, allocations: 35.83 kB / 3.324 GB, free: 31.52 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001051/10.34, allocations: 53.17 kB / 3.324 GB, free: 31.46 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004073/10.34, allocations: 1.047 MB / 3.325 GB, free: 30.43 MB / 442.7 MB 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: Performance of preOpt removeSimpleEquations (simulation): time 0.0086/10.35, allocations: 5.586 MB / 3.33 GB, free: 24.55 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003543/10.35, allocations: 0.7972 MB / 3.331 GB, free: 23.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0565/10.41, allocations: 18.7 MB / 3.349 GB, free: 2.957 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.405e-05/10.41, allocations: 42.5 kB / 3.349 GB, free: 2.906 MB / 442.7 MB Notification: Performance of pre-optimization done (n=45): time 2.816e-06/10.41, allocations: 0 / 3.349 GB, free: 2.906 MB / 442.7 MB Notification: Performance of matching and sorting (n=49): time 0.0105/10.42, allocations: 2.354 MB / 3.352 GB, free: 0.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.517e-05/10.42, allocations: 170.6 kB / 3.352 GB, free: 304 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/10.42, allocations: 0.5303 MB / 3.352 GB, free: 15.76 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001315/10.42, allocations: 33.7 kB / 3.352 GB, free: 15.72 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003989/10.42, allocations: 424.7 kB / 3.353 GB, free: 15.3 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002685/10.42, allocations: 183.3 kB / 3.353 GB, free: 15.13 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.534e-05/10.42, allocations: 16 kB / 3.353 GB, free: 15.12 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001829/10.42, allocations: 346.8 kB / 3.353 GB, free: 14.77 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/10.42, allocations: 289.8 kB / 3.353 GB, free: 14.48 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001521/10.42, allocations: 0.635 MB / 3.354 GB, free: 13.68 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00138/10.43, allocations: 392.5 kB / 3.354 GB, free: 13.3 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.709e-06/10.43, allocations: 4 kB / 3.354 GB, free: 13.29 MB / 458.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003405/10.43, allocations: 0.9649 MB / 3.355 GB, free: 12.32 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.374e-05/10.43, allocations: 12 kB / 3.355 GB, free: 12.31 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.2e-05/10.43, allocations: 12 kB / 3.355 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004453/10.43, allocations: 69.55 kB / 3.356 GB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002649/10.43, allocations: 315.5 kB / 3.356 GB, free: 11.92 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002337/10.43, allocations: 1.991 MB / 3.358 GB, free: 9.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/10.44, allocations: 83.94 kB / 3.358 GB, free: 9.688 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/10.44, allocations: 47.8 kB / 3.358 GB, free: 9.645 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 10 (volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0007335/10.44, allocations: 272.2 kB / 3.358 GB, free: 9.371 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002458/10.44, allocations: 75.16 kB / 3.358 GB, free: 9.297 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005615/10.44, allocations: 2.605 MB / 3.361 GB, free: 6.68 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.468e-05/10.44, allocations: 35.95 kB / 3.361 GB, free: 6.645 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/10.44, allocations: 3.5 kB / 3.361 GB, free: 6.645 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.657e-05/10.44, allocations: 3.984 kB / 3.361 GB, free: 6.641 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007911/10.45, allocations: 3.791 MB / 3.365 GB, free: 2.789 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/10.45, allocations: 0 / 3.365 GB, free: 2.789 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00221/10.45, allocations: 235.7 kB / 3.365 GB, free: 2.559 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006335/10.45, allocations: 96.67 kB / 3.365 GB, free: 2.461 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.412e-05/10.45, allocations: 12 kB / 3.365 GB, free: 2.449 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002093/10.46, allocations: 2.003 MB / 3.367 GB, free: 300 kB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/10.46, allocations: 0 / 3.367 GB, free: 300 kB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3387/10.79, allocations: 2.371 MB / 3.369 GB, free: 60.36 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007411/10.8, allocations: 329.4 kB / 3.369 GB, free: 60.27 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/10.8, allocations: 10.91 kB / 3.369 GB, free: 60.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009596/10.8, allocations: 61.39 kB / 3.369 GB, free: 60.27 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001762/10.8, allocations: 52.98 kB / 3.37 GB, free: 60.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-05/10.8, allocations: 20.31 kB / 3.37 GB, free: 60.27 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001085/10.8, allocations: 0.5453 MB / 3.37 GB, free: 60.18 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.61e-07/10.8, allocations: 3.406 kB / 3.37 GB, free: 60.18 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006022/10.8, allocations: 1.12 MB / 3.371 GB, free: 60.18 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01507/10.82, allocations: 4.446 MB / 3.376 GB, free: 59.24 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003808/10.82, allocations: 1.102 MB / 3.377 GB, free: 59.22 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/10.82, allocations: 0.7188 kB / 3.377 GB, free: 59.22 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002569/10.83, allocations: 0.7973 MB / 3.377 GB, free: 59.22 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003446/10.83, allocations: 373.3 kB / 3.378 GB, free: 59.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02011/10.85, allocations: 13.97 MB / 3.391 GB, free: 49.52 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007466/10.85, allocations: 1.177 MB / 3.393 GB, free: 48.82 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007836/10.85, allocations: 450.7 kB / 3.393 GB, free: 48.81 MB / 458.7 MB Notification: Performance of SimCode: time 1.974e-06/10.85, allocations: 0 / 3.393 GB, free: 48.81 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.015/14.87, allocations: 45.97 MB / 3.438 GB, free: 46.52 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat