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_pT.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_pT,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.953/1.953, allocations: 209.2 MB / 224.8 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004587/0.0004586, allocations: 19.98 kB / 282.7 MB, free: 9.543 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4113/0.4118, allocations: 48.7 MB / 331.4 MB, free: 6.527 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.339/7.75, allocations: 2.514 GB / 2.838 GB, free: 4.684 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004025/7.751, allocations: 95.12 kB / 2.838 GB, free: 4.629 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.591/10.34, allocations: 489 MB / 3.316 GB, free: 37.62 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.883e-06/10.34, allocations: 0 / 3.316 GB, free: 37.62 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.426e-05/10.34, allocations: 22.67 kB / 3.316 GB, free: 37.62 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.007782/10.35, allocations: 1.743 MB / 3.317 GB, free: 36.6 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/10.35, allocations: 10.91 kB / 3.317 GB, free: 36.6 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003273/10.35, allocations: 112.1 kB / 3.318 GB, free: 36.52 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002193/10.35, allocations: 225.1 kB / 3.318 GB, free: 36.46 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001764/10.35, allocations: 0.5882 MB / 3.318 GB, free: 36.09 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/10.35, allocations: 112.8 kB / 3.318 GB, free: 36.01 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/10.35, allocations: 58.78 kB / 3.319 GB, free: 35.99 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00267/10.36, allocations: 1.061 MB / 3.32 GB, free: 35.4 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.589e-05/10.36, allocations: 7.344 kB / 3.32 GB, free: 35.4 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/10.36, allocations: 26.81 kB / 3.32 GB, free: 35.38 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.03e-05/10.36, allocations: 52.42 kB / 3.32 GB, free: 35.37 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002425/10.36, allocations: 0.8015 MB / 3.32 GB, free: 35.12 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.00793/10.37, allocations: 5.509 MB / 3.326 GB, free: 30.3 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/10.37, allocations: 0.527 MB / 3.326 GB, free: 29.82 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5143/10.88, allocations: 53.23 MB / 3.378 GB, free: 57.45 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/10.88, allocations: 37.56 kB / 3.378 GB, free: 57.41 MB / 458.7 MB Notification: Performance of pre-optimization done (n=39): time 4.068e-06/10.88, allocations: 3.812 kB / 3.378 GB, free: 57.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=44): time 0.009361/10.89, allocations: 2.071 MB / 3.38 GB, free: 56.93 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.018e-05/10.89, allocations: 188.9 kB / 3.381 GB, free: 56.71 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/10.89, allocations: 0.5573 MB / 3.381 GB, free: 56.59 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000146/10.89, allocations: 31.77 kB / 3.381 GB, free: 56.55 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003095/10.89, allocations: 438.7 kB / 3.382 GB, free: 56.3 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002236/10.9, allocations: 172.5 kB / 3.382 GB, free: 56.22 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.65e-05/10.9, allocations: 15.41 kB / 3.382 GB, free: 56.22 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.583e-05/10.9, allocations: 341.7 kB / 3.382 GB, free: 55.91 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006485/10.9, allocations: 224.5 kB / 3.382 GB, free: 55.91 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008833/10.9, allocations: 0.6114 MB / 3.383 GB, free: 55.43 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009434/10.9, allocations: 340.4 kB / 3.383 GB, free: 55.43 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.187e-05/10.9, allocations: 3.969 kB / 3.383 GB, free: 55.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002417/10.9, allocations: 0.8721 MB / 3.384 GB, free: 55.37 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.76e-05/10.9, allocations: 17.48 kB / 3.384 GB, free: 55.36 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.446e-05/10.9, allocations: 13.09 kB / 3.384 GB, free: 55.36 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006934/10.91, allocations: 267.9 kB / 3.384 GB, free: 55.36 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00248/10.91, allocations: 290.5 kB / 3.385 GB, free: 55.36 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002057/10.91, allocations: 2.022 MB / 3.387 GB, free: 53.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/10.91, allocations: 62.28 kB / 3.387 GB, free: 53.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001438/10.91, allocations: 51.08 kB / 3.387 GB, free: 53.52 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 10 (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,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * 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 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006974/10.91, allocations: 274.3 kB / 3.387 GB, free: 53.4 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002667/10.91, allocations: 73.27 kB / 3.387 GB, free: 53.37 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003945/10.92, allocations: 2.014 MB / 3.389 GB, free: 53.16 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.637e-05/10.92, allocations: 26.05 kB / 3.389 GB, free: 53.16 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/10.92, allocations: 1.281 kB / 3.389 GB, free: 53.16 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.98e-05/10.92, allocations: 4.453 kB / 3.389 GB, free: 53.16 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00573/10.92, allocations: 2.984 MB / 3.392 GB, free: 52.72 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/10.92, allocations: 3.031 kB / 3.392 GB, free: 52.72 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00174/10.93, allocations: 184.8 kB / 3.392 GB, free: 52.72 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003194/10.93, allocations: 306.4 kB / 3.392 GB, free: 52.7 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001215/10.93, allocations: 15.53 kB / 3.392 GB, free: 52.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001915/10.93, allocations: 2.09 MB / 3.394 GB, free: 50.86 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/10.93, allocations: 0 / 3.394 GB, free: 50.86 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003021/10.93, allocations: 1.945 MB / 3.396 GB, free: 50.44 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000656/10.94, allocations: 280.3 kB / 3.397 GB, free: 50.29 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001688/10.94, allocations: 14.73 kB / 3.397 GB, free: 50.29 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008204/10.94, allocations: 35.94 kB / 3.397 GB, free: 50.29 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/10.94, allocations: 31.28 kB / 3.397 GB, free: 50.29 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.215e-05/10.94, allocations: 23.91 kB / 3.397 GB, free: 50.29 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001058/10.94, allocations: 0.5555 MB / 3.397 GB, free: 50.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.8e-07/10.94, allocations: 0 / 3.397 GB, free: 50.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006128/10.94, allocations: 1.13 MB / 3.398 GB, free: 50.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01352/10.96, allocations: 4.082 MB / 3.402 GB, free: 49.07 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003002/10.96, allocations: 0.9043 MB / 3.403 GB, free: 49.06 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/10.96, allocations: 2.406 kB / 3.403 GB, free: 49.06 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001838/10.96, allocations: 0.6141 MB / 3.404 GB, free: 49.05 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003266/10.97, allocations: 369.6 kB / 3.404 GB, free: 49.04 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01591/10.98, allocations: 14.26 MB / 3.418 GB, free: 38.52 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007086/10.98, allocations: 1.114 MB / 3.419 GB, free: 37.82 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006902/10.98, allocations: 384.3 kB / 3.42 GB, free: 37.81 MB / 458.7 MB Notification: Performance of SimCode: time 1.473e-06/10.98, allocations: 0 / 3.42 GB, free: 37.81 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.236/15.22, allocations: 43.72 MB / 3.462 GB, free: 35.01 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_pT_res.mat does not exist to compare? outputFormat=mat