Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 1.018/1.018, allocations: 111.1 MB / 127.3 MB, free: 6.145 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002535/0.0002535, allocations: 8 kB / 158.9 MB, free: 15.24 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05694/0.05722, allocations: 25.17 MB / 184 MB, free: 6.023 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7725/0.8298, allocations: 208.8 MB / 392.9 MB, free: 69.48 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/0.8301, allocations: 61.7 kB / 392.9 MB, free: 69.48 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03753/0.8676, allocations: 9.947 MB / 402.9 MB, free: 68.58 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.8677, allocations: 3.906 kB / 402.9 MB, free: 68.58 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.392e-05/0.8677, allocations: 0 / 402.9 MB, free: 68.58 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.001066/0.8688, allocations: 458.5 kB / 403.3 MB, free: 68.18 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.8688, allocations: 7.812 kB / 403.3 MB, free: 68.18 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.478e-05/0.8689, allocations: 19.67 kB / 403.3 MB, free: 68.17 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.8692, allocations: 216.6 kB / 403.6 MB, free: 67.96 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.8692, allocations: 11.66 kB / 403.6 MB, free: 67.96 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.416e-05/0.8693, allocations: 11.38 kB / 403.6 MB, free: 67.96 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005393/0.8698, allocations: 214.8 kB / 403.8 MB, free: 67.87 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.8699, allocations: 3.906 kB / 403.8 MB, free: 67.87 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.691e-05/0.8699, allocations: 7.484 kB / 403.8 MB, free: 67.87 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.8699, allocations: 7.828 kB / 403.8 MB, free: 67.86 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005276/0.8705, allocations: 145.5 kB / 403.9 MB, free: 67.86 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/0.8722, allocations: 1.152 MB / 405.1 MB, free: 66.87 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005448/0.8727, allocations: 141.2 kB / 405.2 MB, free: 66.84 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006397/0.8734, allocations: 0.6648 MB / 405.9 MB, free: 66.17 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.8734, allocations: 45.78 kB / 405.9 MB, free: 66.12 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 2.515e-06/0.8735, allocations: 0 / 405.9 MB, free: 66.12 MB / 234.7 MB Notification: Performance of matching and sorting (n=20): time 0.004025/0.8775, allocations: 0.7547 MB / 406.7 MB, free: 65.82 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.8776, allocations: 55.31 kB / 406.8 MB, free: 65.76 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.8778, allocations: 152.7 kB / 406.9 MB, free: 65.64 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.8778, allocations: 29.52 kB / 406.9 MB, free: 65.61 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.536e-05/0.8779, allocations: 209.5 kB / 407.1 MB, free: 65.42 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.257e-05/0.878, allocations: 81.8 kB / 407.2 MB, free: 65.36 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.392e-05/0.878, allocations: 3.625 kB / 407.2 MB, free: 65.36 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.88e-05/0.8781, allocations: 326.4 kB / 407.5 MB, free: 65.04 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003949/0.8785, allocations: 90.12 kB / 407.6 MB, free: 65.02 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004842/0.879, allocations: 188 kB / 407.8 MB, free: 64.87 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004365/0.8794, allocations: 105.4 kB / 407.9 MB, free: 64.85 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.8795, allocations: 0 / 407.9 MB, free: 64.85 MB / 234.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001077/0.8805, allocations: 309.8 kB / 408.2 MB, free: 64.75 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.8806, allocations: 8.219 kB / 408.2 MB, free: 64.75 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.8806, allocations: 7.906 kB / 408.2 MB, free: 64.75 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.719e-05/0.8806, allocations: 7.812 kB / 408.2 MB, free: 64.75 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006059/0.8813, allocations: 77.61 kB / 408.3 MB, free: 64.73 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.8813, allocations: 11.8 kB / 408.3 MB, free: 64.73 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000394/0.8817, allocations: 15.42 kB / 408.3 MB, free: 64.72 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-05/0.8817, allocations: 15.16 kB / 408.4 MB, free: 64.72 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.0001596/0.8819, allocations: 139.8 kB / 408.5 MB, free: 64.6 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.314e-05/0.882, allocations: 15.62 kB / 408.5 MB, free: 64.59 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/0.8831, allocations: 248.7 kB / 408.8 MB, free: 64.49 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.8831, allocations: 0 / 408.8 MB, free: 64.49 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.8831, allocations: 3.984 kB / 408.8 MB, free: 64.49 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.8831, allocations: 0 / 408.8 MB, free: 64.49 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001888/0.885, allocations: 0.5979 MB / 409.4 MB, free: 64.06 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.8851, allocations: 0 / 409.4 MB, free: 64.06 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004733/0.8856, allocations: 50.83 kB / 409.4 MB, free: 64.04 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.894e-06/0.8856, allocations: 0 / 409.4 MB, free: 64.04 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.998e-05/0.8856, allocations: 7.031 kB / 409.4 MB, free: 64.04 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.106e-06/0.8856, allocations: 11.8 kB / 409.4 MB, free: 64.04 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.8856, allocations: 0 / 409.4 MB, free: 64.04 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/0.887, allocations: 411 kB / 409.8 MB, free: 63.8 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.821e-05/0.8871, allocations: 100 kB / 409.9 MB, free: 63.7 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.941e-05/0.8871, allocations: 0 / 409.9 MB, free: 63.7 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003867/0.8875, allocations: 15.02 kB / 409.9 MB, free: 63.7 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.8876, allocations: 18.94 kB / 410 MB, free: 63.69 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.563e-05/0.8876, allocations: 7.812 kB / 410 MB, free: 63.69 MB / 234.7 MB Notification: Performance of sorting global known variables: time 9.373e-05/0.8877, allocations: 111.2 kB / 410.1 MB, free: 63.61 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.8877, allocations: 4 kB / 410.1 MB, free: 63.6 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0005806/0.8883, allocations: 68.5 kB / 410.1 MB, free: 63.6 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.0002961/0.8886, allocations: 167.7 kB / 410.3 MB, free: 63.48 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0009391/0.8896, allocations: 211.4 kB / 410.5 MB, free: 63.43 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.8896, allocations: 0 / 410.5 MB, free: 63.43 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003928/0.89, allocations: 89.31 kB / 410.6 MB, free: 63.41 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004661/0.8905, allocations: 42.47 kB / 410.6 MB, free: 63.4 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.892, allocations: 0.581 MB / 411.2 MB, free: 62.96 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001879/0.8922, allocations: 0.7197 MB / 411.9 MB, free: 62.24 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/0.8924, allocations: 34.81 kB / 412 MB, free: 62.22 MB / 234.7 MB Notification: Performance of SimCode: time 1.162e-06/0.8924, allocations: 0 / 412 MB, free: 62.22 MB / 234.7 MB Notification: Performance of Templates: time 0.006659/0.899, allocations: 2.829 MB / 414.8 MB, free: 60.77 MB / 234.7 MB