Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.267/2.267, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006343/0.0006345, allocations: 8 kB / 314.5 MB, free: 9.453 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3662, allocations: 54.85 MB / 369.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.016/8.382, allocations: 2.625 GB / 2.986 GB, free: 69.04 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003332/8.382, allocations: 99.73 kB / 2.986 GB, free: 68.98 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.982/11.36, allocations: 0.4897 GB / 3.476 GB, free: 48.94 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.437e-06/11.36, allocations: 2.625 kB / 3.476 GB, free: 48.94 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001027/11.36, allocations: 24.47 kB / 3.476 GB, free: 48.94 MB / 490.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.01071/11.38, allocations: 1.771 MB / 3.477 GB, free: 48.21 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/11.38, allocations: 10.69 kB / 3.477 GB, free: 48.21 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004771/11.38, allocations: 112.9 kB / 3.477 GB, free: 48.17 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003729/11.38, allocations: 232.6 kB / 3.478 GB, free: 48.12 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002709/11.38, allocations: 0.5882 MB / 3.478 GB, free: 47.87 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002299/11.38, allocations: 106.7 kB / 3.478 GB, free: 47.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002948/11.38, allocations: 73.52 kB / 3.478 GB, free: 47.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004655/11.39, allocations: 1.053 MB / 3.479 GB, free: 47.48 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.957e-05/11.39, allocations: 10.75 kB / 3.48 GB, free: 47.48 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00021/11.39, allocations: 35.91 kB / 3.48 GB, free: 47.48 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000125/11.39, allocations: 45.48 kB / 3.48 GB, free: 47.48 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004186/11.39, allocations: 0.8027 MB / 3.48 GB, free: 47.47 MB / 490.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.01188/11.4, allocations: 5.519 MB / 3.486 GB, free: 43.61 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002615/11.41, allocations: 0.514 MB / 3.486 GB, free: 43.54 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.224/11.63, allocations: 53.35 MB / 3.538 GB, free: 26.12 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.689e-05/11.63, allocations: 42.48 kB / 3.538 GB, free: 26.08 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=39): time 4.539e-06/11.63, allocations: 2.141 kB / 3.538 GB, free: 26.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44): time 0.01225/11.64, allocations: 2.091 MB / 3.54 GB, free: 25.52 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001519/11.64, allocations: 183.9 kB / 3.541 GB, free: 25.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/11.64, allocations: 0.5536 MB / 3.541 GB, free: 25.16 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001092/11.64, allocations: 34.7 kB / 3.541 GB, free: 25.12 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003357/11.65, allocations: 441 kB / 3.542 GB, free: 24.84 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/11.65, allocations: 163.1 kB / 3.542 GB, free: 24.74 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.403e-05/11.65, allocations: 16.22 kB / 3.542 GB, free: 24.74 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001684/11.65, allocations: 341.5 kB / 3.542 GB, free: 24.43 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006049/11.65, allocations: 226.6 kB / 3.542 GB, free: 24.43 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007985/11.65, allocations: 0.6058 MB / 3.543 GB, free: 23.94 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007906/11.65, allocations: 346.2 kB / 3.543 GB, free: 23.92 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/11.65, allocations: 3.906 kB / 3.543 GB, free: 23.92 MB / 0.4948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002145/11.65, allocations: 0.8803 MB / 3.544 GB, free: 23.84 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.2e-05/11.65, allocations: 9.906 kB / 3.544 GB, free: 23.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.857e-05/11.65, allocations: 10.19 kB / 3.544 GB, free: 23.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006692/11.66, allocations: 269 kB / 3.544 GB, free: 23.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002408/11.66, allocations: 290.2 kB / 3.545 GB, free: 23.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002513/11.66, allocations: 2.028 MB / 3.547 GB, free: 21.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/11.66, allocations: 64.19 kB / 3.547 GB, free: 21.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/11.66, allocations: 41.75 kB / 3.547 GB, free: 21.98 MB / 0.4948 GB 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.0006483/11.66, allocations: 283.1 kB / 3.547 GB, free: 21.84 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002315/11.66, allocations: 66.41 kB / 3.547 GB, free: 21.81 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003362/11.67, allocations: 2.014 MB / 3.549 GB, free: 21.55 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.649e-05/11.67, allocations: 26.31 kB / 3.549 GB, free: 21.55 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/11.67, allocations: 4.625 kB / 3.549 GB, free: 21.55 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/11.67, allocations: 3.75 kB / 3.549 GB, free: 21.55 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005285/11.67, allocations: 2.986 MB / 3.552 GB, free: 21.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/11.67, allocations: 0 / 3.552 GB, free: 21.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001825/11.67, allocations: 193.1 kB / 3.552 GB, free: 21.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003388/11.68, allocations: 306.5 kB / 3.552 GB, free: 21.07 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001333/11.68, allocations: 13.25 kB / 3.552 GB, free: 21.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003065/11.68, allocations: 2.074 MB / 3.555 GB, free: 19.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/11.68, allocations: 5.812 kB / 3.555 GB, free: 19.23 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004288/11.69, allocations: 1.95 MB / 3.556 GB, free: 18.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001781/11.69, allocations: 282.4 kB / 3.557 GB, free: 34.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002801/11.69, allocations: 14.91 kB / 3.557 GB, free: 34.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001385/11.69, allocations: 41.48 kB / 3.557 GB, free: 34.62 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/11.69, allocations: 31.91 kB / 3.557 GB, free: 34.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.233e-05/11.69, allocations: 18.06 kB / 3.557 GB, free: 34.62 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001623/11.69, allocations: 0.5561 MB / 3.557 GB, free: 34.53 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.02e-07/11.69, allocations: 0 / 3.557 GB, free: 34.53 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007732/11.7, allocations: 1.14 MB / 3.558 GB, free: 34.38 MB / 0.5105 GB 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.0164/11.72, allocations: 4.081 MB / 3.562 GB, free: 33.04 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00385/11.72, allocations: 0.8996 MB / 3.563 GB, free: 33.02 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/11.72, allocations: 0 / 3.563 GB, free: 33.02 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002546/11.72, allocations: 0.6178 MB / 3.564 GB, free: 33.01 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004374/11.73, allocations: 364.1 kB / 3.564 GB, free: 32.98 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02316/11.75, allocations: 14.27 MB / 3.578 GB, free: 22.21 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00122/11.75, allocations: 1.109 MB / 3.579 GB, free: 21.49 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001081/11.75, allocations: 391 kB / 3.58 GB, free: 21.48 MB / 0.5105 GB Notification: Performance of SimCode: time 1.373e-06/11.75, allocations: 0 / 3.58 GB, free: 21.48 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.117/15.87, allocations: 43.88 MB / 3.623 GB, free: 6.891 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat