Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadModel(Modelica): time 1.728/1.728, allocations: 194.8 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003495, allocations: 8 kB / 263.9 MB, free: 13.56 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07678/0.07715, allocations: 44.51 MB / 308.5 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7567/0.8339, allocations: 261 MB / 0.5561 GB, free: 139.6 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004387/0.8344, allocations: 91.94 kB / 0.5562 GB, free: 139.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2349/1.069, allocations: 84.41 MB / 0.6386 GB, free: 54.06 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.49e-06/1.069, allocations: 0 / 0.6386 GB, free: 54.06 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.547e-05/1.069, allocations: 4 kB / 0.6386 GB, free: 54.05 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006881/1.07, allocations: 0.5427 MB / 0.6392 GB, free: 53.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/1.07, allocations: 12.03 kB / 0.6392 GB, free: 53.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003212/1.071, allocations: 43.61 kB / 0.6392 GB, free: 53.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003318/1.071, allocations: 282.8 kB / 0.6395 GB, free: 53.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/1.071, allocations: 16.56 kB / 0.6395 GB, free: 53.08 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.47e-05/1.071, allocations: 28 kB / 0.6395 GB, free: 53.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005254/1.071, allocations: 309.4 kB / 0.6398 GB, free: 52.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/1.072, allocations: 4 kB / 0.6398 GB, free: 52.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.464e-05/1.072, allocations: 16 kB / 0.6398 GB, free: 52.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.504e-06/1.072, allocations: 4 kB / 0.6398 GB, free: 52.69 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003666/1.072, allocations: 181.5 kB / 0.64 GB, free: 52.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001784/1.074, allocations: 1.728 MB / 0.6417 GB, free: 50.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002576/1.074, allocations: 126.6 kB / 0.6418 GB, free: 50.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001312/1.074, allocations: 166.2 kB / 0.642 GB, free: 50.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/1.074, allocations: 34.56 kB / 0.642 GB, free: 50.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 2.587e-06/1.074, allocations: 3.938 kB / 0.642 GB, free: 50.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.001927/1.076, allocations: 0.8006 MB / 0.6428 GB, free: 49.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.122e-05/1.076, allocations: 59.55 kB / 0.6429 GB, free: 49.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002846/1.077, allocations: 253.7 kB / 0.6431 GB, free: 49.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/1.077, allocations: 29.7 kB / 0.6431 GB, free: 49.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.625e-05/1.077, allocations: 246.1 kB / 0.6434 GB, free: 48.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.2e-05/1.077, allocations: 78.84 kB / 0.6434 GB, free: 48.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.596e-05/1.077, allocations: 12 kB / 0.6434 GB, free: 48.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.613e-05/1.077, allocations: 322.8 kB / 0.6437 GB, free: 48.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/1.077, allocations: 67.91 kB / 0.6438 GB, free: 48.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/1.077, allocations: 187.5 kB / 0.644 GB, free: 48.06 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/1.077, allocations: 104 kB / 0.6441 GB, free: 47.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.115e-06/1.077, allocations: 4 kB / 0.6441 GB, free: 47.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005889/1.078, allocations: 320.9 kB / 0.6444 GB, free: 47.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/1.078, allocations: 4.625 kB / 0.6444 GB, free: 47.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.86e-06/1.078, allocations: 4 kB / 0.6444 GB, free: 47.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.616e-05/1.078, allocations: 24.86 kB / 0.6444 GB, free: 47.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003622/1.079, allocations: 88.33 kB / 0.6445 GB, free: 47.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009532/1.08, allocations: 1.303 MB / 0.6458 GB, free: 46.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002971/1.08, allocations: 24.25 kB / 0.6458 GB, free: 46.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.553e-05/1.08, allocations: 12 kB / 0.6458 GB, free: 46.04 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001754/1.08, allocations: 157.7 kB / 0.646 GB, free: 45.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.878e-05/1.08, allocations: 27.72 kB / 0.646 GB, free: 45.85 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004056/1.081, allocations: 204.5 kB / 0.6462 GB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.026e-06/1.081, allocations: 0 / 0.6462 GB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.368e-06/1.081, allocations: 4 kB / 0.6462 GB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003456/1.081, allocations: 487.7 kB / 0.6467 GB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/1.082, allocations: 0.7682 MB / 0.6474 GB, free: 44.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.131e-06/1.082, allocations: 4 kB / 0.6474 GB, free: 44.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000223/1.082, allocations: 47.92 kB / 0.6475 GB, free: 44.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.617e-06/1.082, allocations: 7.984 kB / 0.6475 GB, free: 44.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/1.083, allocations: 4 kB / 0.6475 GB, free: 44.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.159e-06/1.083, allocations: 7.984 kB / 0.6475 GB, free: 44.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.785e-06/1.083, allocations: 3.938 kB / 0.6475 GB, free: 44.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005338/1.083, allocations: 0.5016 MB / 0.648 GB, free: 43.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.557e-05/1.083, allocations: 108.9 kB / 0.6481 GB, free: 43.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.592e-05/1.083, allocations: 8 kB / 0.6481 GB, free: 43.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003254/1.084, allocations: 19.94 kB / 0.6481 GB, free: 43.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.231e-05/1.084, allocations: 15.98 kB / 0.6481 GB, free: 43.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.593e-05/1.084, allocations: 15.98 kB / 0.6481 GB, free: 43.35 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002207/1.084, allocations: 202 kB / 0.6483 GB, free: 43.15 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.05e-07/1.084, allocations: 0 / 0.6483 GB, free: 43.15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006496/1.085, allocations: 115.9 kB / 0.6484 GB, free: 43.04 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003396/1.085, allocations: 235.3 kB / 0.6487 GB, free: 42.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005283/1.085, allocations: 310.2 kB / 0.649 GB, free: 42.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.026e-06/1.086, allocations: 4 kB / 0.649 GB, free: 42.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001322/1.086, allocations: 69.3 kB / 0.649 GB, free: 42.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009401/1.087, allocations: 162.3 kB / 0.6492 GB, free: 42.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/1.088, allocations: 0.7628 MB / 0.6499 GB, free: 41.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002154/1.088, allocations: 0.7641 MB / 0.6507 GB, free: 40.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.584e-05/1.088, allocations: 39.31 kB / 0.6507 GB, free: 40.6 MB / 410.7 MB Notification: Performance of SimCode: time 1.605e-06/1.088, allocations: 0 / 0.6507 GB, free: 40.6 MB / 410.7 MB Notification: Performance of Templates: time 0.009117/1.097, allocations: 5.881 MB / 0.6565 GB, free: 34.72 MB / 410.7 MB