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.Incompressible.Glycol47.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.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.913/1.913, allocations: 209.2 MB / 224.8 MB, free: 300 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004772/0.0004774, allocations: 8 kB / 282.7 MB, free: 9.496 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3548, allocations: 48.7 MB / 331.4 MB, free: 6.379 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6624/1.017, allocations: 230.7 MB / 0.5489 GB, free: 35.56 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003394/1.018, allocations: 96.25 kB / 0.549 GB, free: 35.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.532/2.55, allocations: 269.9 MB / 0.8126 GB, free: 77.97 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.346e-06/2.55, allocations: 0 / 0.8126 GB, free: 77.97 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.809e-05/2.55, allocations: 22.28 kB / 0.8126 GB, free: 77.97 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.005342/2.555, allocations: 1.588 MB / 0.8141 GB, free: 77.31 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/2.555, allocations: 11.44 kB / 0.8142 GB, free: 77.31 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003306/2.556, allocations: 105.4 kB / 0.8143 GB, free: 77.27 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001389/2.557, allocations: 140.5 kB / 0.8144 GB, free: 77.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001824/2.559, allocations: 0.5544 MB / 0.8149 GB, free: 77 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/2.559, allocations: 109.3 kB / 0.815 GB, free: 76.94 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/2.559, allocations: 45.09 kB / 0.8151 GB, free: 76.94 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002118/2.561, allocations: 0.8239 MB / 0.8159 GB, free: 76.69 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.964e-05/2.561, allocations: 6.75 kB / 0.8159 GB, free: 76.69 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/2.561, allocations: 25.59 kB / 0.8159 GB, free: 76.69 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.107e-05/2.562, allocations: 37.97 kB / 0.816 GB, free: 76.69 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001771/2.563, allocations: 0.5826 MB / 0.8165 GB, free: 76.68 MB / 426.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.01072/2.574, allocations: 4.416 MB / 0.8208 GB, free: 73.61 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001488/2.576, allocations: 318.8 kB / 0.8211 GB, free: 73.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000494/2.576, allocations: 342.5 kB / 0.8215 GB, free: 73.21 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.152e-05/2.576, allocations: 39.38 kB / 0.8215 GB, free: 73.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 5.381e-06/2.576, allocations: 0 / 0.8215 GB, free: 73.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.009407/2.586, allocations: 1.489 MB / 0.823 GB, free: 72.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.802e-05/2.586, allocations: 137.9 kB / 0.8231 GB, free: 72.53 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001505/2.587, allocations: 0.5575 MB / 0.8236 GB, free: 72.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001643/2.588, allocations: 43.98 kB / 0.8237 GB, free: 72.37 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003961/2.588, allocations: 429.4 kB / 0.8241 GB, free: 72.11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002204/2.588, allocations: 133.2 kB / 0.8242 GB, free: 72.05 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.54e-05/2.588, allocations: 12.94 kB / 0.8242 GB, free: 72.05 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/2.588, allocations: 343.5 kB / 0.8246 GB, free: 71.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008505/2.589, allocations: 197.1 kB / 0.8247 GB, free: 71.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/2.59, allocations: 0.5309 MB / 0.8253 GB, free: 71.32 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/2.592, allocations: 301.3 kB / 0.8255 GB, free: 71.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.209e-05/2.592, allocations: 6.031 kB / 0.8256 GB, free: 71.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003439/2.595, allocations: 0.8436 MB / 0.8264 GB, free: 71.24 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.337e-05/2.595, allocations: 14.19 kB / 0.8264 GB, free: 71.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.833e-05/2.595, allocations: 11.72 kB / 0.8264 GB, free: 71.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003143/2.598, allocations: 273.5 kB / 0.8267 GB, free: 71.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/2.6, allocations: 130.8 kB / 0.8268 GB, free: 71.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002129/2.602, allocations: 1.372 MB / 0.8281 GB, free: 70.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/2.603, allocations: 38.2 kB / 0.8282 GB, free: 70.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001763/2.604, allocations: 48.08 kB / 0.8282 GB, free: 70.18 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * 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 4,1 13} Notification: Performance of prepare postOptimizeDAE: time 0.0007634/2.605, allocations: 251.2 kB / 0.8284 GB, free: 70.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002727/2.605, allocations: 73.67 kB / 0.8285 GB, free: 70.03 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003468/2.608, allocations: 0.6868 MB / 0.8292 GB, free: 69.93 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/2.608, allocations: 6.25 kB / 0.8292 GB, free: 69.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/2.608, allocations: 0 / 0.8292 GB, free: 69.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/2.608, allocations: 3.844 kB / 0.8292 GB, free: 69.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004605/2.613, allocations: 1.207 MB / 0.8304 GB, free: 69.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/2.613, allocations: 0 / 0.8304 GB, free: 69.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004737/2.614, allocations: 41.86 kB / 0.8304 GB, free: 69.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002117/2.616, allocations: 204.5 kB / 0.8306 GB, free: 69.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.061e-05/2.616, allocations: 7.219 kB / 0.8306 GB, free: 69.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001909/2.618, allocations: 1.293 MB / 0.8319 GB, free: 68.53 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.025e-05/2.618, allocations: 3.953 kB / 0.8319 GB, free: 68.52 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003185/2.621, allocations: 0.8042 MB / 0.8327 GB, free: 68.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007242/2.622, allocations: 195.5 kB / 0.8329 GB, free: 68.16 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002372/2.622, allocations: 12.66 kB / 0.8329 GB, free: 68.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/2.623, allocations: 23.05 kB / 0.8329 GB, free: 68.16 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/2.623, allocations: 23.36 kB / 0.8329 GB, free: 68.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.324e-05/2.624, allocations: 25.62 kB / 0.8329 GB, free: 68.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001213/2.625, allocations: 438 kB / 0.8334 GB, free: 68.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.232e-06/2.625, allocations: 3.656 kB / 0.8334 GB, free: 68.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002882/2.628, allocations: 372.3 kB / 0.8337 GB, free: 68.02 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * 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 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.005408/2.633, allocations: 1.821 MB / 0.8355 GB, free: 67.08 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002596/2.636, allocations: 0.5165 MB / 0.836 GB, free: 67.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-05/2.636, allocations: 0 / 0.836 GB, free: 67.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001192/2.637, allocations: 216.1 kB / 0.8362 GB, free: 67.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003849/2.641, allocations: 294.5 kB / 0.8365 GB, free: 67.05 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01734/2.658, allocations: 11.39 MB / 0.8476 GB, free: 58.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006962/2.659, allocations: 0.9395 MB / 0.8485 GB, free: 57.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008926/2.66, allocations: 244.4 kB / 0.8488 GB, free: 57.7 MB / 426.7 MB Notification: Performance of SimCode: time 1.633e-06/2.66, allocations: 0 / 0.8488 GB, free: 57.7 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.323/5.983, allocations: 21.11 MB / 0.8694 GB, free: 56.9 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat does not exist to compare? outputFormat=mat