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.ConstantPropertyLiquidWater.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.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.288/2.288, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.209e-05/3.215e-05, allocations: 11.94 kB / 303.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3505, allocations: 54.84 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.129/1.48, allocations: 347.2 MB / 0.6888 GB, free: 110.2 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003306/1.48, allocations: 97.8 kB / 0.6888 GB, free: 110.2 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7364/2.216, allocations: 128.3 MB / 0.8141 GB, free: 115.3 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.844e-06/2.216, allocations: 0 / 0.8141 GB, free: 115.3 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.665e-05/2.217, allocations: 21.14 kB / 0.8142 GB, free: 115.3 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002827/2.219, allocations: 0.8976 MB / 0.815 GB, free: 114.9 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/2.219, allocations: 13.17 kB / 0.8151 GB, free: 114.9 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006397/2.22, allocations: 91 kB / 0.8151 GB, free: 114.8 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001667/2.222, allocations: 0.5486 MB / 0.8157 GB, free: 114.6 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000148/2.222, allocations: 89.75 kB / 0.8158 GB, free: 114.5 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/2.222, allocations: 28.44 kB / 0.8158 GB, free: 114.5 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001349/2.223, allocations: 0.531 MB / 0.8163 GB, free: 114.5 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/2.225, allocations: 0.7297 MB / 0.817 GB, free: 114.3 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.333e-05/2.225, allocations: 4.125 kB / 0.817 GB, free: 114.3 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/2.225, allocations: 3.719 kB / 0.817 GB, free: 114.3 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.361e-05/2.225, allocations: 39.94 kB / 0.8171 GB, free: 114.3 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006231/2.232, allocations: 4.161 MB / 0.8211 GB, free: 111.4 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006114/2.232, allocations: 263 kB / 0.8214 GB, free: 111.4 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002816/2.232, allocations: 142.2 kB / 0.8215 GB, free: 111.4 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002509/2.235, allocations: 1.493 MB / 0.823 GB, free: 110.3 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/2.235, allocations: 34.12 kB / 0.823 GB, free: 110.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 2.796e-06/2.235, allocations: 0 / 0.823 GB, free: 110.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=20): time 0.002653/2.238, allocations: 0.745 MB / 0.8237 GB, free: 109.9 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/2.238, allocations: 135 kB / 0.8239 GB, free: 109.7 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009/2.239, allocations: 0.5276 MB / 0.8244 GB, free: 109.6 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.277e-05/2.239, allocations: 25.7 kB / 0.8244 GB, free: 109.5 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000283/2.239, allocations: 492.7 kB / 0.8249 GB, free: 109.2 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.39e-05/2.239, allocations: 83.17 kB / 0.8249 GB, free: 109.2 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.49e-05/2.239, allocations: 0 / 0.8249 GB, free: 109.2 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.298e-05/2.239, allocations: 336.2 kB / 0.8253 GB, free: 108.9 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003173/2.24, allocations: 144.2 kB / 0.8254 GB, free: 108.9 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005053/2.24, allocations: 0.5321 MB / 0.8259 GB, free: 108.4 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000707/2.241, allocations: 259.7 kB / 0.8262 GB, free: 108.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.158e-06/2.241, allocations: 2.156 kB / 0.8262 GB, free: 108.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001582/2.243, allocations: 0.6168 MB / 0.8268 GB, free: 108.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/2.243, allocations: 11.56 kB / 0.8268 GB, free: 108.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.889e-05/2.243, allocations: 13.72 kB / 0.8268 GB, free: 108.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.188e-05/2.243, allocations: 21.72 kB / 0.8268 GB, free: 108.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/2.244, allocations: 201.5 kB / 0.827 GB, free: 108.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.736e-05/2.244, allocations: 26.92 kB / 0.827 GB, free: 108.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/2.245, allocations: 44.89 kB / 0.8271 GB, free: 108.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-05/2.245, allocations: 40.75 kB / 0.8271 GB, free: 108.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001969/2.246, allocations: 137.7 kB / 0.8273 GB, free: 108.2 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007398/2.246, allocations: 240.5 kB / 0.8275 GB, free: 108.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/2.247, allocations: 64.7 kB / 0.8275 GB, free: 108.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007574/2.247, allocations: 254.1 kB / 0.8278 GB, free: 108 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/2.247, allocations: 3.969 kB / 0.8278 GB, free: 108 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/2.247, allocations: 2.594 kB / 0.8278 GB, free: 108 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/2.247, allocations: 0 / 0.8278 GB, free: 108 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0017/2.249, allocations: 0.7595 MB / 0.8285 GB, free: 107.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/2.249, allocations: 0 / 0.8285 GB, free: 107.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003647/2.249, allocations: 49.98 kB / 0.8286 GB, free: 107.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001406/2.25, allocations: 28.83 kB / 0.8286 GB, free: 107.7 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/2.25, allocations: 3.719 kB / 0.8286 GB, free: 107.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004682/2.25, allocations: 0.5578 MB / 0.8292 GB, free: 107.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/2.25, allocations: 3.344 kB / 0.8292 GB, free: 107.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009197/2.251, allocations: 494.9 kB / 0.8296 GB, free: 106.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003525/2.251, allocations: 170 kB / 0.8298 GB, free: 106.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/2.252, allocations: 7.375 kB / 0.8298 GB, free: 106.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005938/2.252, allocations: 14.06 kB / 0.8298 GB, free: 106.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/2.252, allocations: 14.14 kB / 0.8298 GB, free: 106.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-05/2.252, allocations: 18.22 kB / 0.8298 GB, free: 106.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006501/2.253, allocations: 388.3 kB / 0.8302 GB, free: 106.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.21e-07/2.253, allocations: 0 / 0.8302 GB, free: 106.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001382/2.254, allocations: 193.2 kB / 0.8304 GB, free: 106.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 21 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001901/2.256, allocations: 1.421 MB / 0.8318 GB, free: 105.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0009819/2.257, allocations: 355.3 kB / 0.8321 GB, free: 105.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/2.257, allocations: 4.594 kB / 0.8321 GB, free: 105.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002794/2.258, allocations: 90.7 kB / 0.8322 GB, free: 105.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001991/2.26, allocations: 235.1 kB / 0.8324 GB, free: 105.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002796/2.263, allocations: 0.9224 MB / 0.8333 GB, free: 105.4 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000451/2.263, allocations: 0.9325 MB / 0.8343 GB, free: 104.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004412/2.263, allocations: 228.7 kB / 0.8345 GB, free: 104.7 MB / 474.7 MB Notification: Performance of SimCode: time 1.012e-06/2.263, allocations: 0 / 0.8345 GB, free: 104.7 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.212/5.476, allocations: 14.6 MB / 0.8487 GB, free: 104.1 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat