Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") Notification: Performance of loadModel(Modelica): time 1.703/1.703, allocations: 171.2 MB / 184.2 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.551e-05/2.562e-05, allocations: 4 kB / 228.8 MB, free: 15.39 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2606, allocations: 38.76 MB / 267.6 MB, free: 9.43 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.11/1.371, allocations: 428.9 MB / 0.6802 GB, free: 99.52 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/1.371, allocations: 87.94 kB / 0.6803 GB, free: 99.44 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6424/2.013, allocations: 155 MB / 0.8317 GB, free: 88.03 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.057e-06/2.013, allocations: 0 / 0.8317 GB, free: 88.03 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.993e-05/2.013, allocations: 4 kB / 0.8317 GB, free: 88.03 MB / 362.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.0008846/2.014, allocations: 0.5961 MB / 0.8323 GB, free: 87.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/2.014, allocations: 14.19 kB / 0.8323 GB, free: 87.42 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003392/2.015, allocations: 43.61 kB / 0.8323 GB, free: 87.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003607/2.015, allocations: 278.7 kB / 0.8326 GB, free: 87.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/2.015, allocations: 20.56 kB / 0.8326 GB, free: 87.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.085e-05/2.015, allocations: 24 kB / 0.8326 GB, free: 87.03 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005399/2.016, allocations: 310.3 kB / 0.8329 GB, free: 86.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/2.016, allocations: 2.219 kB / 0.8329 GB, free: 86.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.8e-05/2.016, allocations: 12 kB / 0.8329 GB, free: 86.69 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.399e-06/2.016, allocations: 4 kB / 0.8329 GB, free: 86.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003957/2.016, allocations: 205.6 kB / 0.8331 GB, free: 86.48 MB / 362.7 MB Warning: The model contains alias variables with conflicting start and/or 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.00179/2.018, allocations: 1.575 MB / 0.8347 GB, free: 84.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003211/2.018, allocations: 165.3 kB / 0.8348 GB, free: 84.62 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/2.019, allocations: 93.22 kB / 0.8349 GB, free: 84.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.312e-05/2.019, allocations: 7.547 kB / 0.8349 GB, free: 84.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/2.019, allocations: 41.31 kB / 0.835 GB, free: 84.47 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 3.317e-06/2.019, allocations: 3.172 kB / 0.835 GB, free: 84.47 MB / 362.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.005504/2.024, allocations: 1.228 MB / 0.8362 GB, free: 83.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/2.024, allocations: 63.05 kB / 0.8362 GB, free: 83.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000291/2.025, allocations: 225 kB / 0.8364 GB, free: 82.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.034e-05/2.025, allocations: 33.7 kB / 0.8365 GB, free: 82.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.235e-05/2.025, allocations: 231.9 kB / 0.8367 GB, free: 82.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.902e-05/2.025, allocations: 97.38 kB / 0.8368 GB, free: 82.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/2.025, allocations: 4 kB / 0.8368 GB, free: 82.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.083e-05/2.025, allocations: 334.7 kB / 0.8371 GB, free: 82.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/2.025, allocations: 83.78 kB / 0.8372 GB, free: 82.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/2.025, allocations: 187.4 kB / 0.8374 GB, free: 81.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002524/2.026, allocations: 123 kB / 0.8375 GB, free: 81.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.265e-06/2.026, allocations: 0 / 0.8375 GB, free: 81.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008026/2.026, allocations: 372.8 kB / 0.8378 GB, free: 81.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/2.026, allocations: 8 kB / 0.8378 GB, free: 81.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.399e-06/2.027, allocations: 4 kB / 0.8378 GB, free: 81.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002872/2.027, allocations: 77.67 kB / 0.8379 GB, free: 81.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004079/2.027, allocations: 89.88 kB / 0.838 GB, free: 81.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/2.028, allocations: 1.845 MB / 0.8398 GB, free: 79.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003754/2.029, allocations: 23.92 kB / 0.8398 GB, free: 79.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.426e-05/2.029, allocations: 38.31 kB / 0.8399 GB, free: 79.18 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001305/2.029, allocations: 128.9 kB / 0.84 GB, free: 79.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.008e-05/2.029, allocations: 27.67 kB / 0.84 GB, free: 79.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001263/2.03, allocations: 439.3 kB / 0.8404 GB, free: 78.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.169e-06/2.03, allocations: 7.781 kB / 0.8404 GB, free: 78.59 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.322e-06/2.031, allocations: 3.562 kB / 0.8404 GB, free: 78.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000534/2.031, allocations: 0.5709 MB / 0.841 GB, free: 77.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/2.032, allocations: 0.7132 MB / 0.8417 GB, free: 77.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.063e-06/2.032, allocations: 2.625 kB / 0.8417 GB, free: 77.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000401/2.033, allocations: 75.89 kB / 0.8418 GB, free: 77.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001112/2.033, allocations: 20.84 kB / 0.8418 GB, free: 77.06 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.514e-05/2.033, allocations: 15.98 kB / 0.8418 GB, free: 77.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007934/2.034, allocations: 1.283 MB / 0.8431 GB, free: 75.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.099e-06/2.034, allocations: 4.031 kB / 0.8431 GB, free: 75.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007891/2.035, allocations: 492.3 kB / 0.8435 GB, free: 75.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/2.035, allocations: 104.8 kB / 0.8436 GB, free: 74.99 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.603e-05/2.035, allocations: 8 kB / 0.8436 GB, free: 74.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003475/2.035, allocations: 15.98 kB / 0.8437 GB, free: 74.97 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.323e-05/2.035, allocations: 27.67 kB / 0.8437 GB, free: 74.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.706e-05/2.035, allocations: 31.98 kB / 0.8437 GB, free: 74.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002189/2.035, allocations: 183.1 kB / 0.8439 GB, free: 74.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.11e-07/2.035, allocations: 0 / 0.8439 GB, free: 74.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009034/2.036, allocations: 187.9 kB / 0.8441 GB, free: 74.55 MB / 362.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001183/2.038, allocations: 0.7739 MB / 0.8448 GB, free: 73.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007747/2.038, allocations: 366.2 kB / 0.8452 GB, free: 73.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/2.038, allocations: 4.812 kB / 0.8452 GB, free: 73.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003098/2.039, allocations: 226.6 kB / 0.8454 GB, free: 73.37 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/2.04, allocations: 162.7 kB / 0.8456 GB, free: 73.21 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/2.041, allocations: 0.5131 MB / 0.8461 GB, free: 72.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/2.041, allocations: 0.7726 MB / 0.8468 GB, free: 71.88 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003745/2.042, allocations: 79.39 kB / 0.8469 GB, free: 71.8 MB / 362.7 MB Notification: Performance of SimCode: time 1.751e-06/2.042, allocations: 0 / 0.8469 GB, free: 71.8 MB / 362.7 MB Notification: Performance of Templates: time 0.01646/2.058, allocations: 11.55 MB / 0.8582 GB, free: 60.3 MB / 362.7 MB