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.9503/0.9503, allocations: 111.2 MB / 124.2 MB, free: 11.14 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.609e-05/2.62e-05, allocations: 4 kB / 154.3 MB, free: 13.14 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.139, allocations: 25.14 MB / 179.4 MB, free: 0.8008 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5043/0.6434, allocations: 208.7 MB / 388.2 MB, free: 38.06 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001782/0.6436, allocations: 65.58 kB / 388.2 MB, free: 38.03 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03094/0.6745, allocations: 9.897 MB / 398.1 MB, free: 29.88 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.6746, allocations: 0 / 398.1 MB, free: 29.88 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.6746, allocations: 4 kB / 398.1 MB, free: 29.87 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.000827/0.6754, allocations: 453 kB / 398.6 MB, free: 29.39 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.6755, allocations: 8.031 kB / 398.6 MB, free: 29.39 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.408e-05/0.6756, allocations: 23.77 kB / 398.6 MB, free: 29.36 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.6758, allocations: 202.6 kB / 398.8 MB, free: 29.13 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.6758, allocations: 12.03 kB / 398.8 MB, free: 29.12 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.771e-05/0.6759, allocations: 15.38 kB / 398.8 MB, free: 29.12 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003468/0.6762, allocations: 199.5 kB / 399 MB, free: 28.94 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.6762, allocations: 7.844 kB / 399 MB, free: 28.93 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.294e-05/0.6763, allocations: 11.56 kB / 399 MB, free: 28.93 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.6763, allocations: 7.953 kB / 399 MB, free: 28.92 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002532/0.6766, allocations: 121.4 kB / 399.2 MB, free: 28.83 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.678, allocations: 1.161 MB / 400.3 MB, free: 27.64 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002742/0.6782, allocations: 126.9 kB / 400.4 MB, free: 27.53 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.55e-05/0.6784, allocations: 43.92 kB / 400.5 MB, free: 27.5 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005694/0.6789, allocations: 0.6668 MB / 401.2 MB, free: 26.76 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.679, allocations: 38.25 kB / 401.2 MB, free: 26.71 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 3.084e-06/0.679, allocations: 0 / 401.2 MB, free: 26.71 MB / 234.7 MB Notification: Performance of matching and sorting (n=20): time 0.0019/0.6809, allocations: 0.6354 MB / 401.8 MB, free: 26.13 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.681, allocations: 55.41 kB / 401.9 MB, free: 26.06 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.6811, allocations: 146.6 kB / 402 MB, free: 25.92 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.6811, allocations: 25.7 kB / 402.1 MB, free: 25.89 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.416e-05/0.6812, allocations: 213.4 kB / 402.3 MB, free: 25.69 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.668e-05/0.6813, allocations: 73.56 kB / 402.3 MB, free: 25.62 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.945e-05/0.6813, allocations: 3.688 kB / 402.3 MB, free: 25.62 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 5.729e-05/0.6814, allocations: 333.7 kB / 402.7 MB, free: 25.3 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.6815, allocations: 65.25 kB / 402.7 MB, free: 25.25 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002075/0.6818, allocations: 172.5 kB / 402.9 MB, free: 25.07 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.682, allocations: 87.78 kB / 403 MB, free: 25.01 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.197e-06/0.682, allocations: 0 / 403 MB, free: 25.01 MB / 234.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005435/0.6825, allocations: 286.4 kB / 403.3 MB, free: 24.78 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.6826, allocations: 8 kB / 403.3 MB, free: 24.77 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.555e-06/0.6826, allocations: 4 kB / 403.3 MB, free: 24.77 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.6826, allocations: 4 kB / 403.3 MB, free: 24.77 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004344/0.6831, allocations: 83.2 kB / 403.4 MB, free: 24.69 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.6831, allocations: 11.97 kB / 403.4 MB, free: 24.68 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002929/0.6834, allocations: 19.48 kB / 403.4 MB, free: 24.66 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.893e-05/0.6834, allocations: 15 kB / 403.4 MB, free: 24.65 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 () * 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 8.689e-05/0.6835, allocations: 126.1 kB / 403.5 MB, free: 24.53 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.297e-05/0.6836, allocations: 15.81 kB / 403.5 MB, free: 24.51 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005076/0.6841, allocations: 212.7 kB / 403.8 MB, free: 24.35 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.938e-06/0.6842, allocations: 4 kB / 403.8 MB, free: 24.35 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.172e-06/0.6842, allocations: 0 / 403.8 MB, free: 24.35 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.894e-06/0.6842, allocations: 4 kB / 403.8 MB, free: 24.34 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.6854, allocations: 0.5655 MB / 404.3 MB, free: 23.79 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.026e-06/0.6854, allocations: 0 / 404.3 MB, free: 23.79 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003409/0.6857, allocations: 58.16 kB / 404.4 MB, free: 23.73 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.212e-06/0.6858, allocations: 4 kB / 404.4 MB, free: 23.73 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.579e-05/0.6858, allocations: 4.984 kB / 404.4 MB, free: 23.72 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.836e-06/0.6858, allocations: 4 kB / 404.4 MB, free: 23.72 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.628e-06/0.6858, allocations: 0 / 404.4 MB, free: 23.72 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005457/0.6864, allocations: 408.7 kB / 404.8 MB, free: 23.33 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.934e-05/0.6864, allocations: 88.95 kB / 404.9 MB, free: 23.23 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.358e-05/0.6865, allocations: 7.5 kB / 404.9 MB, free: 23.22 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002919/0.6868, allocations: 19.3 kB / 404.9 MB, free: 23.21 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.588e-05/0.6868, allocations: 14.3 kB / 404.9 MB, free: 23.2 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.209e-05/0.6869, allocations: 11.98 kB / 404.9 MB, free: 23.18 MB / 234.7 MB Notification: Performance of sorting global known variables: time 7.143e-05/0.687, allocations: 107.5 kB / 405 MB, free: 23.09 MB / 234.7 MB Notification: Performance of sort global known variables: time 8.17e-07/0.687, allocations: 0 / 405 MB, free: 23.09 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0005375/0.6875, allocations: 69.56 kB / 405.1 MB, free: 23.03 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 () * 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.0002529/0.6878, allocations: 161.6 kB / 405.3 MB, free: 22.86 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0004153/0.6882, allocations: 186 kB / 405.4 MB, free: 22.73 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.181e-06/0.6882, allocations: 0 / 405.4 MB, free: 22.73 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.6884, allocations: 77.23 kB / 405.5 MB, free: 22.67 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003984/0.6888, allocations: 42.05 kB / 405.6 MB, free: 22.64 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007477/0.6896, allocations: 327.8 kB / 405.9 MB, free: 22.31 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001579/0.6897, allocations: 0.7169 MB / 406.6 MB, free: 21.57 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.6899, allocations: 29.55 kB / 406.6 MB, free: 21.54 MB / 234.7 MB Notification: Performance of SimCode: time 1.594e-06/0.6899, allocations: 0 / 406.6 MB, free: 21.54 MB / 234.7 MB Notification: Performance of Templates: time 0.005182/0.6951, allocations: 2.83 MB / 409.5 MB, free: 18.72 MB / 234.7 MB