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.IdealSteam.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.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") Notification: Performance of loadModel(Modelica): time 1.884/1.884, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000363/0.0003632, allocations: 12 kB / 263.9 MB, free: 13.59 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.111, allocations: 44.52 MB / 308.4 MB, free: 1.004 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.4576/0.5687, allocations: 137.9 MB / 446.2 MB, free: 1.543 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003496/0.5723, allocations: 1.941 MB / 448.2 MB, free: 15.59 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002768/0.5726, allocations: 0 / 448.2 MB, free: 15.59 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005755/0.5732, allocations: 147.3 kB / 448.3 MB, free: 15.45 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007791/0.574, allocations: 275.1 kB / 448.6 MB, free: 15.18 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.575, allocations: 271.5 kB / 448.9 MB, free: 14.91 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007958/0.5759, allocations: 491 kB / 449.3 MB, free: 14.43 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.5761, allocations: 72.67 kB / 449.4 MB, free: 14.37 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001195/0.5773, allocations: 438.8 kB / 449.8 MB, free: 13.94 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002982/0.5776, allocations: 171.4 kB / 450 MB, free: 13.77 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.588e-05/0.5777, allocations: 15.94 kB / 450 MB, free: 13.75 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003645/0.5781, allocations: 99.94 kB / 450.1 MB, free: 13.66 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.5782, allocations: 71.78 kB / 450.2 MB, free: 13.59 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.5783, allocations: 97.52 kB / 450.3 MB, free: 13.48 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006152/0.579, allocations: 402.9 kB / 450.7 MB, free: 13.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.74e-06/0.579, allocations: 0 / 450.7 MB, free: 13.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.653e-06/0.579, allocations: 3.984 kB / 450.7 MB, free: 13.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.156e-06/0.579, allocations: 0 / 450.7 MB, free: 13.09 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.0008987/0.5799, allocations: 0.5106 MB / 451.2 MB, free: 12.53 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.58, allocations: 12.02 kB / 451.2 MB, free: 12.52 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003569/0.5804, allocations: 43.62 kB / 451.3 MB, free: 12.47 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004432/0.5808, allocations: 274.5 kB / 451.5 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.724e-05/0.5809, allocations: 24.5 kB / 451.5 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.845e-05/0.5809, allocations: 27.94 kB / 451.6 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006637/0.5816, allocations: 315.7 kB / 451.9 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.5817, allocations: 3.938 kB / 451.9 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.933e-05/0.5817, allocations: 16 kB / 451.9 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.5817, allocations: 8 kB / 451.9 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004726/0.5822, allocations: 201.6 kB / 452.1 MB, free: 11.55 MB / 346.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.002404/0.5846, allocations: 1.577 MB / 453.7 MB, free: 9.824 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004273/0.5851, allocations: 166.8 kB / 453.8 MB, free: 9.652 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.266e-05/0.5852, allocations: 11.98 kB / 453.9 MB, free: 9.641 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.838e-05/0.5852, allocations: 30.56 kB / 453.9 MB, free: 9.602 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 3.524e-06/0.5852, allocations: 3.938 kB / 453.9 MB, free: 9.598 MB / 346.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.007075/0.5923, allocations: 1.629 MB / 455.5 MB, free: 7.84 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.5924, allocations: 55.41 kB / 455.6 MB, free: 7.773 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003787/0.5928, allocations: 256.8 kB / 455.8 MB, free: 7.516 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.405e-05/0.5929, allocations: 37.7 kB / 455.9 MB, free: 7.473 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.593, allocations: 222.7 kB / 456.1 MB, free: 7.25 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.5932, allocations: 102.5 kB / 456.2 MB, free: 7.148 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/0.5932, allocations: 4 kB / 456.2 MB, free: 7.145 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.5934, allocations: 322.8 kB / 456.5 MB, free: 6.82 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002357/0.5936, allocations: 87.97 kB / 456.6 MB, free: 6.734 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003196/0.594, allocations: 184 kB / 456.8 MB, free: 6.512 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002991/0.5943, allocations: 119.9 kB / 456.9 MB, free: 6.395 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.338e-06/0.5943, allocations: 0 / 456.9 MB, free: 6.395 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009538/0.5952, allocations: 379.5 kB / 457.2 MB, free: 6.012 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.5953, allocations: 8 kB / 457.3 MB, free: 6.004 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.5953, allocations: 4 kB / 457.3 MB, free: 6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002908/0.5956, allocations: 73.67 kB / 457.3 MB, free: 5.922 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004512/0.5961, allocations: 96.27 kB / 457.4 MB, free: 5.828 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00201/0.5981, allocations: 1.859 MB / 459.3 MB, free: 3.816 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003382/0.5985, allocations: 19.98 kB / 459.3 MB, free: 3.797 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.028e-05/0.5986, allocations: 39.95 kB / 459.3 MB, free: 3.758 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 () * 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.0002618/0.5988, allocations: 149.8 kB / 459.5 MB, free: 3.602 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.599, allocations: 27.72 kB / 459.5 MB, free: 3.574 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/0.6003, allocations: 440.9 kB / 459.9 MB, free: 3.125 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.233e-06/0.6004, allocations: 8 kB / 460 MB, free: 3.117 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.762e-06/0.6004, allocations: 4.641 kB / 460 MB, free: 3.113 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007895/0.6012, allocations: 0.563 MB / 460.5 MB, free: 2.461 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001443/0.6027, allocations: 0.7192 MB / 461.2 MB, free: 1.676 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.412e-06/0.6027, allocations: 4 kB / 461.2 MB, free: 1.672 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004355/0.6031, allocations: 72.02 kB / 461.3 MB, free: 1.602 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001277/0.6033, allocations: 24.84 kB / 461.3 MB, free: 1.574 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.992e-05/0.6033, allocations: 15.98 kB / 461.4 MB, free: 1.559 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001317/0.6047, allocations: 1.288 MB / 462.6 MB, free: 140 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.474e-06/0.6047, allocations: 0 / 462.6 MB, free: 140 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.6057, allocations: 482.7 kB / 463.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.6059, allocations: 108.9 kB / 463.2 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.937e-05/0.606, allocations: 8 kB / 463.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003411/0.6063, allocations: 15.98 kB / 463.2 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.424e-05/0.6064, allocations: 27.91 kB / 463.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.748e-05/0.6065, allocations: 31.94 kB / 463.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000293/0.6068, allocations: 186 kB / 463.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.67e-07/0.6068, allocations: 4 kB / 463.5 MB, free: 15.24 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007038/0.6075, allocations: 124 kB / 463.6 MB, free: 15.12 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.0004678/0.608, allocations: 163 kB / 463.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000958/0.609, allocations: 366.3 kB / 464.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.164e-06/0.609, allocations: 4 kB / 464.1 MB, free: 14.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004299/0.6094, allocations: 239.2 kB / 464.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.6105, allocations: 165 kB / 464.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.6122, allocations: 0.842 MB / 465.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004965/0.6128, allocations: 0.7762 MB / 466.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000396/0.6132, allocations: 79.39 kB / 466.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of SimCode: time 1.747e-06/0.6132, allocations: 0 / 466.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of Templates: time 0.01437/0.6276, allocations: 7.47 MB / 473.7 MB, free: 4.953 MB / 362.7 MB