Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Media.Examples.SimpleLiquidWater.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadModel(Modelica): time 0.9683/0.9683, allocations: 111.1 MB / 126.7 MB, free: 6.133 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002668/0.0002668, allocations: 4 kB / 158.3 MB, free: 15.17 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06218/0.06247, allocations: 25.17 MB / 183.5 MB, free: 5.965 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6849/0.7474, allocations: 208.8 MB / 392.3 MB, free: 69.55 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001751/0.7476, allocations: 61.84 kB / 392.4 MB, free: 69.55 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03438/0.782, allocations: 9.941 MB / 402.3 MB, free: 68.64 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.696e-06/0.7821, allocations: 0 / 402.3 MB, free: 68.64 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.7821, allocations: 3.938 kB / 402.3 MB, free: 68.64 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009044/0.783, allocations: 459.3 kB / 402.8 MB, free: 68.25 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.7831, allocations: 7.719 kB / 402.8 MB, free: 68.25 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.084e-05/0.7832, allocations: 15.58 kB / 402.8 MB, free: 68.24 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.7834, allocations: 218 kB / 403 MB, free: 68.03 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.7834, allocations: 11.91 kB / 403 MB, free: 68.03 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.816e-05/0.7835, allocations: 15.39 kB / 403 MB, free: 68.03 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004483/0.7839, allocations: 204.9 kB / 403.2 MB, free: 67.95 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.784, allocations: 4 kB / 403.3 MB, free: 67.94 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.294e-05/0.784, allocations: 7.531 kB / 403.3 MB, free: 67.94 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.924e-06/0.784, allocations: 11.81 kB / 403.3 MB, free: 67.93 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004205/0.7845, allocations: 145.2 kB / 403.4 MB, free: 67.93 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.7859, allocations: 1.148 MB / 404.6 MB, free: 66.94 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004128/0.7864, allocations: 143.8 kB / 404.7 MB, free: 66.91 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006006/0.787, allocations: 0.6628 MB / 405.4 MB, free: 66.24 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.787, allocations: 35.58 kB / 405.4 MB, free: 66.2 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 2.994e-06/0.787, allocations: 0 / 405.4 MB, free: 66.2 MB / 234.7 MB Notification: Performance of matching and sorting (n=20): time 0.002991/0.79, allocations: 0.7641 MB / 406.2 MB, free: 65.9 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.7901, allocations: 51.41 kB / 406.2 MB, free: 65.84 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.7903, allocations: 137.8 kB / 406.3 MB, free: 65.73 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.7903, allocations: 27.89 kB / 406.4 MB, free: 65.7 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.943e-05/0.7904, allocations: 214.4 kB / 406.6 MB, free: 65.52 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.688e-05/0.7905, allocations: 73.44 kB / 406.7 MB, free: 65.47 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.131e-05/0.7905, allocations: 9.406 kB / 406.7 MB, free: 65.47 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 5.664e-05/0.7906, allocations: 320.8 kB / 407 MB, free: 65.16 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000286/0.7909, allocations: 88.23 kB / 407.1 MB, free: 65.15 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003088/0.7912, allocations: 187 kB / 407.2 MB, free: 65.02 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003268/0.7915, allocations: 108.5 kB / 407.4 MB, free: 65.01 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.696e-06/0.7915, allocations: 3.906 kB / 407.4 MB, free: 65.01 MB / 234.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000867/0.7924, allocations: 316.9 kB / 407.7 MB, free: 64.94 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.7925, allocations: 3.906 kB / 407.7 MB, free: 64.94 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.537e-06/0.7925, allocations: 4.375 kB / 407.7 MB, free: 64.94 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.7925, allocations: 11.81 kB / 407.7 MB, free: 64.94 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004336/0.793, allocations: 77.45 kB / 407.8 MB, free: 64.93 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.793, allocations: 7.891 kB / 407.8 MB, free: 64.93 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002966/0.7933, allocations: 18.8 kB / 407.8 MB, free: 64.93 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-05/0.7933, allocations: 15.25 kB / 407.8 MB, free: 64.93 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (37): * Single equations (assignments): 37 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001422/0.7935, allocations: 139.2 kB / 407.9 MB, free: 64.8 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.576e-05/0.7936, allocations: 19.62 kB / 408 MB, free: 64.79 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007722/0.7944, allocations: 240.8 kB / 408.2 MB, free: 64.74 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.199e-06/0.7944, allocations: 7.906 kB / 408.2 MB, free: 64.74 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.053e-06/0.7944, allocations: 0 / 408.2 MB, free: 64.74 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.857e-06/0.7944, allocations: 3.891 kB / 408.2 MB, free: 64.74 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001456/0.7959, allocations: 0.5999 MB / 408.8 MB, free: 64.38 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.057e-06/0.7959, allocations: 0 / 408.8 MB, free: 64.38 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003404/0.7963, allocations: 49.03 kB / 408.9 MB, free: 64.38 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.615e-06/0.7963, allocations: 3.906 kB / 408.9 MB, free: 64.38 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.852e-05/0.7963, allocations: 6.219 kB / 408.9 MB, free: 64.38 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.626e-06/0.7963, allocations: 0 / 408.9 MB, free: 64.38 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.585e-06/0.7964, allocations: 3.906 kB / 408.9 MB, free: 64.38 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009552/0.7973, allocations: 458.4 kB / 409.3 MB, free: 64.13 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.528e-05/0.7974, allocations: 92.44 kB / 409.4 MB, free: 64.03 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.48e-05/0.7975, allocations: 7.281 kB / 409.4 MB, free: 64.03 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002938/0.7978, allocations: 18.09 kB / 409.4 MB, free: 64.02 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.821e-05/0.7978, allocations: 11.86 kB / 409.4 MB, free: 64.02 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.382e-05/0.7978, allocations: 14.3 kB / 409.5 MB, free: 64.02 MB / 234.7 MB Notification: Performance of sorting global known variables: time 8.126e-05/0.7979, allocations: 111.5 kB / 409.6 MB, free: 63.94 MB / 234.7 MB Notification: Performance of sort global known variables: time 8.38e-07/0.798, allocations: 3.906 kB / 409.6 MB, free: 63.94 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0005486/0.7985, allocations: 72.03 kB / 409.6 MB, free: 63.94 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (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 (20): * Single equations (assignments): 20 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002363/0.7988, allocations: 160.4 kB / 409.8 MB, free: 63.83 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0007013/0.7995, allocations: 215.1 kB / 410 MB, free: 63.81 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.543e-06/0.7995, allocations: 0 / 410 MB, free: 63.81 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003135/0.7998, allocations: 95.55 kB / 410.1 MB, free: 63.79 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003846/0.8002, allocations: 40.88 kB / 410.1 MB, free: 63.77 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.8013, allocations: 0.5838 MB / 410.7 MB, free: 63.32 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001619/0.8015, allocations: 0.7203 MB / 411.4 MB, free: 62.6 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.8017, allocations: 34.45 kB / 411.5 MB, free: 62.59 MB / 234.7 MB Notification: Performance of SimCode: time 1.877e-06/0.8017, allocations: 0 / 411.5 MB, free: 62.59 MB / 234.7 MB Notification: Performance of Templates: time 0.00541/0.8071, allocations: 2.825 MB / 414.3 MB, free: 61.14 MB / 234.7 MB