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/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.9564/0.9564, allocations: 111.2 MB / 119.1 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 1.79e-05/1.8e-05, allocations: 0 / 148.1 MB, free: 6.234 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04686/0.0469, allocations: 25.17 MB / 173.3 MB, free: 13.02 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4713/0.5183, allocations: 208.1 MB / 381.4 MB, free: 13.33 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001713/0.5185, allocations: 62.22 kB / 381.4 MB, free: 13.3 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03072/0.5492, allocations: 9.827 MB / 391.3 MB, free: 3.969 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.288e-06/0.5493, allocations: 0 / 391.3 MB, free: 3.969 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.5493, allocations: 0 / 391.3 MB, free: 3.969 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.0008617/0.5502, allocations: 450 kB / 391.7 MB, free: 3.484 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.5502, allocations: 12.03 kB / 391.7 MB, free: 3.473 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.293e-05/0.5503, allocations: 19.77 kB / 391.7 MB, free: 3.453 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.5505, allocations: 210.8 kB / 391.9 MB, free: 3.207 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.5505, allocations: 4 kB / 391.9 MB, free: 3.203 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.915e-05/0.5506, allocations: 12 kB / 391.9 MB, free: 3.191 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002773/0.5509, allocations: 108.5 kB / 392.1 MB, free: 3.086 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002974/0.5512, allocations: 184.3 kB / 392.2 MB, free: 2.883 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.5512, allocations: 0 / 392.2 MB, free: 2.883 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.159e-05/0.5513, allocations: 7.953 kB / 392.2 MB, free: 2.875 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.222e-06/0.5513, allocations: 4 kB / 392.2 MB, free: 2.871 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.5527, allocations: 1.122 MB / 393.4 MB, free: 1.637 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/0.553, allocations: 114.7 kB / 393.5 MB, free: 1.516 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.282e-05/0.5531, allocations: 44.89 kB / 393.5 MB, free: 1.469 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006294/0.5537, allocations: 0.6619 MB / 394.2 MB, free: 0.707 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.5538, allocations: 34.56 kB / 394.2 MB, free: 0.6641 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 3.461e-06/0.5538, allocations: 0 / 394.2 MB, free: 0.6641 MB / 234.7 MB Notification: Performance of matching and sorting (n=20): time 0.002204/0.556, allocations: 0.6034 MB / 394.8 MB, free: 4 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1172/0.6732, allocations: 55.31 kB / 394.9 MB, free: 85.46 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.6734, allocations: 137 kB / 395 MB, free: 85.36 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 4.559e-05/0.6735, allocations: 25.7 kB / 395 MB, free: 85.33 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.548e-05/0.6736, allocations: 209.9 kB / 395.2 MB, free: 85.17 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.866e-05/0.6736, allocations: 73.05 kB / 395.3 MB, free: 85.14 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.79e-05/0.6737, allocations: 0 / 395.3 MB, free: 85.14 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.002e-05/0.6737, allocations: 323.4 kB / 395.6 MB, free: 84.82 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.6739, allocations: 64.27 kB / 395.7 MB, free: 84.82 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/0.6741, allocations: 165 kB / 395.8 MB, free: 84.7 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003187/0.6744, allocations: 83.34 kB / 395.9 MB, free: 84.7 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.981e-06/0.6745, allocations: 1.25 kB / 395.9 MB, free: 84.7 MB / 234.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006842/0.6751, allocations: 252.9 kB / 396.2 MB, free: 84.66 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.6752, allocations: 7.406 kB / 396.2 MB, free: 84.66 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.6752, allocations: 4.562 kB / 396.2 MB, free: 84.66 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.6752, allocations: 5.25 kB / 396.2 MB, free: 84.66 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004767/0.6757, allocations: 82.42 kB / 396.3 MB, free: 84.66 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.6758, allocations: 6.266 kB / 396.3 MB, free: 84.66 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002999/0.6761, allocations: 11.59 kB / 396.3 MB, free: 84.66 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.918e-05/0.6761, allocations: 21.27 kB / 396.3 MB, free: 84.66 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 0.0001017/0.6763, allocations: 111.9 kB / 396.4 MB, free: 84.55 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.149e-05/0.6763, allocations: 17.92 kB / 396.4 MB, free: 84.54 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006843/0.677, allocations: 193 kB / 396.6 MB, free: 84.5 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.6771, allocations: 3.141 kB / 396.6 MB, free: 84.5 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.6771, allocations: 1.406 kB / 396.6 MB, free: 84.5 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.028e-06/0.6771, allocations: 0.5156 kB / 396.6 MB, free: 84.5 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.6784, allocations: 0.5178 MB / 397.2 MB, free: 84.2 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.6785, allocations: 3.688 kB / 397.2 MB, free: 84.2 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003579/0.6788, allocations: 51.66 kB / 397.2 MB, free: 84.2 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.7e-06/0.6789, allocations: 2.703 kB / 397.2 MB, free: 84.2 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/0.6789, allocations: 9.016 kB / 397.2 MB, free: 84.2 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.438e-06/0.6789, allocations: 4.906 kB / 397.2 MB, free: 84.2 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.205e-06/0.6789, allocations: 3.875 kB / 397.2 MB, free: 84.2 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006366/0.6796, allocations: 394 kB / 397.6 MB, free: 83.96 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.874e-05/0.6797, allocations: 90.72 kB / 397.7 MB, free: 83.86 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.448e-05/0.6797, allocations: 1.719 kB / 397.7 MB, free: 83.86 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002992/0.68, allocations: 17.27 kB / 397.7 MB, free: 83.86 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.164e-05/0.6801, allocations: 18.55 kB / 397.7 MB, free: 83.85 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.834e-05/0.6801, allocations: 13 kB / 397.7 MB, free: 83.85 MB / 234.7 MB Notification: Performance of sorting global known variables: time 7.775e-05/0.6802, allocations: 102.6 kB / 397.8 MB, free: 83.78 MB / 234.7 MB Notification: Performance of sort global known variables: time 7.05e-07/0.6802, allocations: 0 / 397.8 MB, free: 83.78 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0005581/0.6808, allocations: 64 kB / 397.9 MB, free: 83.78 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.000241/0.6811, allocations: 160.4 kB / 398.1 MB, free: 83.69 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0004061/0.6815, allocations: 164.1 kB / 398.2 MB, free: 83.68 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.946e-06/0.6815, allocations: 0 / 398.2 MB, free: 83.68 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.6817, allocations: 76.14 kB / 398.3 MB, free: 83.67 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.6821, allocations: 30.73 kB / 398.3 MB, free: 83.67 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008594/0.683, allocations: 292.2 kB / 398.6 MB, free: 83.52 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001765/0.6832, allocations: 0.7246 MB / 399.3 MB, free: 82.82 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.6833, allocations: 34.16 kB / 399.4 MB, free: 82.81 MB / 234.7 MB Notification: Performance of SimCode: time 1.578e-06/0.6834, allocations: 10.81 kB / 399.4 MB, free: 82.8 MB / 234.7 MB Notification: Performance of Templates: time 0.006061/0.6894, allocations: 2.826 MB / 402.2 MB, free: 82.59 MB / 234.7 MB