Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.691/1.691, allocations: 171.2 MB / 187.3 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003496, allocations: 11.98 kB / 233.8 MB, free: 3.07 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0811/0.08148, allocations: 38.76 MB / 272.6 MB, free: 12.23 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.356/1.438, allocations: 429 MB / 0.6851 GB, free: 27.88 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000326/1.438, allocations: 93.62 kB / 0.6852 GB, free: 27.83 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7158/2.154, allocations: 155.4 MB / 0.837 GB, free: 25.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.304e-06/2.154, allocations: 0 / 0.837 GB, free: 25.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.858e-05/2.154, allocations: 4 kB / 0.837 GB, free: 25.23 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.001276/2.155, allocations: 0.6206 MB / 0.8376 GB, free: 24.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/2.156, allocations: 12.03 kB / 0.8376 GB, free: 24.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003907/2.156, allocations: 43.62 kB / 0.8377 GB, free: 24.51 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004516/2.156, allocations: 283 kB / 0.8379 GB, free: 24.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/2.156, allocations: 24.45 kB / 0.838 GB, free: 24.17 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.33e-05/2.157, allocations: 24 kB / 0.838 GB, free: 24.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006673/2.157, allocations: 315.7 kB / 0.8383 GB, free: 23.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/2.157, allocations: 4 kB / 0.8383 GB, free: 23.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.588e-05/2.157, allocations: 12 kB / 0.8383 GB, free: 23.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/2.157, allocations: 4 kB / 0.8383 GB, free: 23.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004584/2.158, allocations: 205.5 kB / 0.8385 GB, free: 23.59 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.002336/2.16, allocations: 1.577 MB / 0.84 GB, free: 21.85 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003925/2.161, allocations: 177.2 kB / 0.8402 GB, free: 21.67 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.415e-05/2.161, allocations: 4.188 kB / 0.8402 GB, free: 21.67 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/2.161, allocations: 38.7 kB / 0.8402 GB, free: 21.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 3.386e-06/2.161, allocations: 0 / 0.8402 GB, free: 21.62 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.009119/2.17, allocations: 1.62 MB / 0.8418 GB, free: 19.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/2.17, allocations: 59.39 kB / 0.8419 GB, free: 19.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000334/2.17, allocations: 245 kB / 0.8421 GB, free: 19.56 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.286e-05/2.17, allocations: 37.7 kB / 0.8422 GB, free: 19.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.559e-05/2.17, allocations: 230.6 kB / 0.8424 GB, free: 19.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.159e-05/2.171, allocations: 98.59 kB / 0.8425 GB, free: 19.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/2.171, allocations: 8 kB / 0.8425 GB, free: 19.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.448e-05/2.171, allocations: 322.8 kB / 0.8428 GB, free: 18.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/2.171, allocations: 95.69 kB / 0.8429 GB, free: 18.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002799/2.171, allocations: 187.8 kB / 0.8431 GB, free: 18.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003247/2.172, allocations: 119.9 kB / 0.8432 GB, free: 18.42 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/2.172, allocations: 3.953 kB / 0.8432 GB, free: 18.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009266/2.172, allocations: 383.1 kB / 0.8435 GB, free: 18.03 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/2.173, allocations: 8 kB / 0.8435 GB, free: 18.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/2.173, allocations: 7.984 kB / 0.8436 GB, free: 18.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000309/2.173, allocations: 65.69 kB / 0.8436 GB, free: 17.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005849/2.173, allocations: 87.89 kB / 0.8437 GB, free: 17.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/2.175, allocations: 1.86 MB / 0.8455 GB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005189/2.175, allocations: 24.23 kB / 0.8455 GB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.418e-05/2.176, allocations: 40 kB / 0.8456 GB, free: 15.77 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.0002589/2.176, allocations: 153.7 kB / 0.8457 GB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.311e-05/2.176, allocations: 27.72 kB / 0.8458 GB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001468/2.177, allocations: 443.8 kB / 0.8462 GB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/2.177, allocations: 4 kB / 0.8462 GB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/2.177, allocations: 0 / 0.8462 GB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006317/2.178, allocations: 0.563 MB / 0.8467 GB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/2.18, allocations: 0.7197 MB / 0.8474 GB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/2.18, allocations: 4 kB / 0.8474 GB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005456/2.18, allocations: 71.89 kB / 0.8475 GB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001166/2.18, allocations: 20.91 kB / 0.8475 GB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.705e-05/2.18, allocations: 19.98 kB / 0.8475 GB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008615/2.181, allocations: 1.292 MB / 0.8488 GB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/2.181, allocations: 0 / 0.8488 GB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000943/2.182, allocations: 469.6 kB / 0.8493 GB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/2.182, allocations: 104.8 kB / 0.8494 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.914e-05/2.182, allocations: 8 kB / 0.8494 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004441/2.183, allocations: 24.05 kB / 0.8494 GB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.195e-05/2.183, allocations: 31.86 kB / 0.8494 GB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-05/2.183, allocations: 27.98 kB / 0.8494 GB, free: 11.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002619/2.183, allocations: 190 kB / 0.8496 GB, free: 11.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/2.183, allocations: 0 / 0.8496 GB, free: 11.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001187/2.184, allocations: 184 kB / 0.8498 GB, free: 11.09 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.001613/2.186, allocations: 0.7883 MB / 0.8506 GB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00112/2.187, allocations: 358.4 kB / 0.8509 GB, free: 9.926 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/2.187, allocations: 4.812 kB / 0.8509 GB, free: 9.922 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000434/2.188, allocations: 234.6 kB / 0.8511 GB, free: 9.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/2.189, allocations: 152.4 kB / 0.8513 GB, free: 9.531 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/2.191, allocations: 0.8643 MB / 0.8521 GB, free: 8.641 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/2.191, allocations: 0.7687 MB / 0.8529 GB, free: 7.844 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004441/2.192, allocations: 75.41 kB / 0.8529 GB, free: 7.77 MB / 362.7 MB Notification: Performance of SimCode: time 1.122e-06/2.192, allocations: 0 / 0.8529 GB, free: 7.77 MB / 362.7 MB Notification: Performance of Templates: time 0.2727/2.465, allocations: 11.59 MB / 0.8643 GB, free: 76.43 MB / 362.7 MB