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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.747/1.747, allocations: 171.3 MB / 179.2 MB, free: 8.18 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 1.883e-05/1.895e-05, allocations: 0 / 222.5 MB, free: 8.777 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07101/0.07106, allocations: 38.77 MB / 261.3 MB, free: 1.93 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.259/1.33, allocations: 428.3 MB / 0.6734 GB, free: 98.1 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000438/1.331, allocations: 88.09 kB / 0.6735 GB, free: 98.1 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6266/1.957, allocations: 153.4 MB / 0.8233 GB, free: 69.6 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.085e-06/1.957, allocations: 0 / 0.8233 GB, free: 69.6 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.338e-05/1.957, allocations: 10.81 kB / 0.8233 GB, free: 69.6 MB / 346.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.0009269/1.958, allocations: 0.5977 MB / 0.8239 GB, free: 69.22 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/1.958, allocations: 7.031 kB / 0.8239 GB, free: 69.22 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003343/1.959, allocations: 43.91 kB / 0.8239 GB, free: 69.21 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/1.959, allocations: 279.1 kB / 0.8242 GB, free: 69 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/1.959, allocations: 6.406 kB / 0.8242 GB, free: 69 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.433e-05/1.959, allocations: 13.84 kB / 0.8242 GB, free: 69 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004127/1.96, allocations: 181.6 kB / 0.8244 GB, free: 69 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004899/1.96, allocations: 273.8 kB / 0.8246 GB, free: 68.91 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/1.96, allocations: 3.344 kB / 0.8247 GB, free: 68.91 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.288e-05/1.96, allocations: 3.562 kB / 0.8247 GB, free: 68.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/1.96, allocations: 9.078 kB / 0.8247 GB, free: 68.91 MB / 346.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.001808/1.962, allocations: 1.55 MB / 0.8262 GB, free: 67.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002679/1.962, allocations: 144.6 kB / 0.8263 GB, free: 67.75 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/1.963, allocations: 75.59 kB / 0.8264 GB, free: 67.74 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.517e-05/1.963, allocations: 6.016 kB / 0.8264 GB, free: 67.74 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/1.963, allocations: 41.59 kB / 0.8264 GB, free: 67.7 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 3.164e-06/1.963, allocations: 0 / 0.8264 GB, free: 67.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.004449/1.967, allocations: 0.9914 MB / 0.8274 GB, free: 67.27 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.943e-05/1.967, allocations: 56.41 kB / 0.8275 GB, free: 67.21 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002332/1.967, allocations: 206.5 kB / 0.8277 GB, free: 67.11 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/1.967, allocations: 25.7 kB / 0.8277 GB, free: 67.08 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.758e-05/1.968, allocations: 244.2 kB / 0.8279 GB, free: 66.89 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.356e-05/1.968, allocations: 89.72 kB / 0.828 GB, free: 66.85 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.306e-05/1.968, allocations: 0 / 0.828 GB, free: 66.85 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.869e-05/1.968, allocations: 322.3 kB / 0.8283 GB, free: 66.54 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/1.968, allocations: 82.11 kB / 0.8284 GB, free: 66.53 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/1.968, allocations: 172.3 kB / 0.8285 GB, free: 66.42 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002346/1.968, allocations: 112 kB / 0.8287 GB, free: 66.42 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/1.968, allocations: 0 / 0.8287 GB, free: 66.42 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007793/1.969, allocations: 347.4 kB / 0.829 GB, free: 66.36 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/1.969, allocations: 7.531 kB / 0.829 GB, free: 66.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/1.969, allocations: 3.906 kB / 0.829 GB, free: 66.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002409/1.97, allocations: 70.97 kB / 0.8291 GB, free: 66.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003901/1.97, allocations: 86.12 kB / 0.8291 GB, free: 66.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001215/1.971, allocations: 1.806 MB / 0.8309 GB, free: 64.63 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000373/1.972, allocations: 29.61 kB / 0.8309 GB, free: 64.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.082e-05/1.972, allocations: 41.39 kB / 0.831 GB, free: 64.62 MB / 346.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.0001368/1.972, allocations: 108.6 kB / 0.8311 GB, free: 64.52 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.704e-05/1.972, allocations: 29.48 kB / 0.8311 GB, free: 64.51 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009753/1.973, allocations: 344.3 kB / 0.8314 GB, free: 64.45 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.164e-06/1.973, allocations: 3.688 kB / 0.8314 GB, free: 64.45 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.199e-06/1.973, allocations: 0 / 0.8314 GB, free: 64.45 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005052/1.973, allocations: 0.5412 MB / 0.832 GB, free: 64 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/1.975, allocations: 0.6576 MB / 0.8326 GB, free: 63.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.925e-06/1.975, allocations: 2.5 kB / 0.8326 GB, free: 63.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004255/1.975, allocations: 70.98 kB / 0.8327 GB, free: 63.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001111/1.975, allocations: 22.56 kB / 0.8327 GB, free: 63.7 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.527e-05/1.975, allocations: 11.44 kB / 0.8327 GB, free: 63.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007683/1.976, allocations: 1.232 MB / 0.8339 GB, free: 62.5 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.891e-06/1.976, allocations: 0 / 0.8339 GB, free: 62.5 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007593/1.977, allocations: 473.3 kB / 0.8344 GB, free: 62.29 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/1.977, allocations: 102.2 kB / 0.8345 GB, free: 62.18 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.533e-05/1.977, allocations: 7.484 kB / 0.8345 GB, free: 62.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000358/1.977, allocations: 11.47 kB / 0.8345 GB, free: 62.18 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.519e-05/1.977, allocations: 21.77 kB / 0.8345 GB, free: 62.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.088e-05/1.978, allocations: 37.78 kB / 0.8345 GB, free: 62.18 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001741/1.978, allocations: 159.4 kB / 0.8347 GB, free: 62.1 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.77e-07/1.978, allocations: 3.062 kB / 0.8347 GB, free: 62.1 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000883/1.979, allocations: 156.4 kB / 0.8348 GB, free: 62.1 MB / 346.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.001374/1.98, allocations: 0.9075 MB / 0.8357 GB, free: 61.93 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007475/1.981, allocations: 336.3 kB / 0.8361 GB, free: 61.83 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.379e-06/1.981, allocations: 5.406 kB / 0.8361 GB, free: 61.83 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002913/1.981, allocations: 208.8 kB / 0.8363 GB, free: 61.73 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009805/1.982, allocations: 119.8 kB / 0.8364 GB, free: 61.73 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/1.983, allocations: 0.5052 MB / 0.8369 GB, free: 61.53 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002386/1.984, allocations: 0.7705 MB / 0.8376 GB, free: 60.82 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003728/1.984, allocations: 76.69 kB / 0.8377 GB, free: 60.82 MB / 346.7 MB Notification: Performance of SimCode: time 2.645e-06/1.984, allocations: 0 / 0.8377 GB, free: 60.82 MB / 346.7 MB Notification: Performance of Templates: time 0.01711/2.001, allocations: 11.14 MB / 0.8486 GB, free: 60.33 MB / 346.7 MB