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.603/1.603, allocations: 171.2 MB / 186.8 MB, free: 1.117 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003855/0.0003856, allocations: 8 kB / 233.3 MB, free: 3.004 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07057/0.07099, allocations: 38.78 MB / 272 MB, free: 12.15 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.2/1.271, allocations: 429 MB / 0.6846 GB, free: 43.1 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/1.271, allocations: 91.94 kB / 0.6847 GB, free: 43.01 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6551/1.926, allocations: 155.4 MB / 0.8365 GB, free: 36.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.869e-06/1.926, allocations: 4 kB / 0.8365 GB, free: 36.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.309e-05/1.926, allocations: 8 kB / 0.8365 GB, free: 36.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.001014/1.927, allocations: 0.6206 MB / 0.8371 GB, free: 35.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/1.928, allocations: 8.031 kB / 0.8371 GB, free: 35.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003472/1.928, allocations: 39.62 kB / 0.8372 GB, free: 35.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003817/1.928, allocations: 282.9 kB / 0.8374 GB, free: 35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/1.928, allocations: 20.56 kB / 0.8374 GB, free: 34.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.08e-05/1.928, allocations: 28 kB / 0.8375 GB, free: 34.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005614/1.929, allocations: 319.6 kB / 0.8378 GB, free: 34.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/1.929, allocations: 0 / 0.8378 GB, free: 34.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.901e-05/1.929, allocations: 15.95 kB / 0.8378 GB, free: 34.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.457e-06/1.929, allocations: 4 kB / 0.8378 GB, free: 34.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000396/1.929, allocations: 205.6 kB / 0.838 GB, free: 34.39 MB / 362.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.001783/1.931, allocations: 1.577 MB / 0.8395 GB, free: 32.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/1.932, allocations: 179.1 kB / 0.8397 GB, free: 32.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.259e-05/1.932, allocations: 8.172 kB / 0.8397 GB, free: 32.47 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/1.932, allocations: 34.75 kB / 0.8397 GB, free: 32.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 3.639e-06/1.932, allocations: 0 / 0.8397 GB, free: 32.43 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.006209/1.938, allocations: 1.618 MB / 0.8413 GB, free: 30.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/1.938, allocations: 63.33 kB / 0.8414 GB, free: 30.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002818/1.938, allocations: 224.1 kB / 0.8416 GB, free: 30.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.988e-05/1.938, allocations: 29.7 kB / 0.8416 GB, free: 30.35 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.665e-05/1.938, allocations: 238.6 kB / 0.8418 GB, free: 30.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.332e-05/1.939, allocations: 94.66 kB / 0.8419 GB, free: 30.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.569e-05/1.939, allocations: 4 kB / 0.8419 GB, free: 30.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.953e-05/1.939, allocations: 334.8 kB / 0.8423 GB, free: 29.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/1.939, allocations: 87.75 kB / 0.8423 GB, free: 29.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/1.939, allocations: 179.8 kB / 0.8425 GB, free: 29.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002598/1.939, allocations: 123.9 kB / 0.8426 GB, free: 29.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.158e-06/1.939, allocations: 4 kB / 0.8426 GB, free: 29.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007907/1.94, allocations: 374.8 kB / 0.843 GB, free: 28.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.199e-05/1.94, allocations: 6.812 kB / 0.843 GB, free: 28.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/1.94, allocations: 8.359 kB / 0.843 GB, free: 28.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002674/1.941, allocations: 81.67 kB / 0.8431 GB, free: 28.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000404/1.941, allocations: 75.91 kB / 0.8432 GB, free: 28.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/1.942, allocations: 1.856 MB / 0.845 GB, free: 26.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004193/1.943, allocations: 24.19 kB / 0.845 GB, free: 26.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-05/1.943, allocations: 39.98 kB / 0.845 GB, free: 26.62 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 () * Number of clocked 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.0002419/1.943, allocations: 161.6 kB / 0.8452 GB, free: 26.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.574e-05/1.943, allocations: 27.66 kB / 0.8452 GB, free: 26.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001305/1.945, allocations: 447.8 kB / 0.8456 GB, free: 25.97 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.839e-06/1.945, allocations: 4 kB / 0.8456 GB, free: 25.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.156e-06/1.945, allocations: 0 / 0.8456 GB, free: 25.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005701/1.945, allocations: 0.5591 MB / 0.8462 GB, free: 25.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001232/1.946, allocations: 0.7236 MB / 0.8469 GB, free: 24.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.617e-06/1.946, allocations: 4 kB / 0.8469 GB, free: 24.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003993/1.947, allocations: 67.89 kB / 0.847 GB, free: 24.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001112/1.947, allocations: 20.84 kB / 0.847 GB, free: 24.43 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.534e-05/1.947, allocations: 15.98 kB / 0.847 GB, free: 24.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007999/1.948, allocations: 1.288 MB / 0.8483 GB, free: 23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.994e-06/1.948, allocations: 4 kB / 0.8483 GB, free: 22.99 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008413/1.949, allocations: 0.4904 MB / 0.8487 GB, free: 22.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/1.949, allocations: 108.7 kB / 0.8488 GB, free: 22.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.699e-05/1.949, allocations: 4 kB / 0.8489 GB, free: 22.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003504/1.949, allocations: 20.05 kB / 0.8489 GB, free: 22.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.676e-05/1.949, allocations: 27.92 kB / 0.8489 GB, free: 22.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.823e-05/1.949, allocations: 31.98 kB / 0.8489 GB, free: 22.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002254/1.95, allocations: 186 kB / 0.8491 GB, free: 22.08 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.27e-07/1.95, allocations: 3.938 kB / 0.8491 GB, free: 22.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008992/1.951, allocations: 187.9 kB / 0.8493 GB, free: 21.89 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 () * Number of clocked 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.001174/1.952, allocations: 0.7677 MB / 0.85 GB, free: 21.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008259/1.953, allocations: 366.4 kB / 0.8504 GB, free: 20.74 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.256e-06/1.953, allocations: 4.75 kB / 0.8504 GB, free: 20.74 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003295/1.953, allocations: 242.6 kB / 0.8506 GB, free: 20.49 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/1.954, allocations: 160.3 kB / 0.8508 GB, free: 20.33 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/1.956, allocations: 0.8427 MB / 0.8516 GB, free: 19.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/1.956, allocations: 0.7726 MB / 0.8524 GB, free: 18.65 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003864/1.956, allocations: 83.39 kB / 0.8524 GB, free: 18.57 MB / 362.7 MB Notification: Performance of SimCode: time 1.616e-06/1.956, allocations: 0 / 0.8524 GB, free: 18.57 MB / 362.7 MB Notification: Performance of Templates: time 0.0168/1.973, allocations: 11.58 MB / 0.8637 GB, free: 6.984 MB / 362.7 MB