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.IdealGasH2O.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.IdealGasH2O,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadModel(Modelica): time 0.9567/0.9567, allocations: 111.1 MB / 126.7 MB, free: 6.145 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002657/0.0002657, allocations: 4 kB / 158.3 MB, free: 15.2 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04691/0.0472, allocations: 25.17 MB / 183.5 MB, free: 5.988 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6781/0.7253, allocations: 290.8 MB / 474.3 MB, free: 7.598 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001828/0.7255, allocations: 60.91 kB / 474.4 MB, free: 7.566 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2048/0.9304, allocations: 26.06 MB / 0.4887 GB, free: 78.31 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.647e-06/0.9304, allocations: 0 / 0.4887 GB, free: 78.31 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.531e-06/0.9304, allocations: 0 / 0.4887 GB, free: 78.31 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008439/0.9313, allocations: 433.1 kB / 0.4891 GB, free: 77.89 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.9313, allocations: 7.812 kB / 0.4891 GB, free: 77.89 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.809e-05/0.9314, allocations: 11.28 kB / 0.4892 GB, free: 77.88 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.768e-05/0.9314, allocations: 169.8 kB / 0.4893 GB, free: 77.68 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.9315, allocations: 7.844 kB / 0.4893 GB, free: 77.67 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/0.9315, allocations: 6.859 kB / 0.4893 GB, free: 77.67 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000274/0.9318, allocations: 111.5 kB / 0.4894 GB, free: 77.59 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.9318, allocations: 3.906 kB / 0.4894 GB, free: 77.59 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.9319, allocations: 4 kB / 0.4894 GB, free: 77.58 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.079e-06/0.9319, allocations: 7.656 kB / 0.4895 GB, free: 77.58 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003525/0.9322, allocations: 150.3 kB / 0.4896 GB, free: 77.51 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005815/0.9328, allocations: 375.3 kB / 0.49 GB, free: 77.14 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009968/0.9338, allocations: 161.5 kB / 0.4901 GB, free: 77.05 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001021/0.9349, allocations: 1.017 MB / 0.4911 GB, free: 75.93 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/0.9349, allocations: 42.67 kB / 0.4911 GB, free: 75.88 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 2.468e-06/0.9349, allocations: 0 / 0.4911 GB, free: 75.88 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.001664/0.9366, allocations: 321.2 kB / 0.4914 GB, free: 75.59 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.9367, allocations: 55.41 kB / 0.4915 GB, free: 75.52 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.92e-05/0.9367, allocations: 96.98 kB / 0.4916 GB, free: 75.42 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.9368, allocations: 25.7 kB / 0.4916 GB, free: 75.39 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/0.9368, allocations: 174.2 kB / 0.4918 GB, free: 75.21 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.195e-05/0.9369, allocations: 59.11 kB / 0.4918 GB, free: 75.16 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.436e-05/0.9369, allocations: 0 / 0.4918 GB, free: 75.16 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 5.195e-05/0.937, allocations: 322.8 kB / 0.4921 GB, free: 74.83 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002242/0.9372, allocations: 52.33 kB / 0.4922 GB, free: 74.78 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002481/0.9375, allocations: 101 kB / 0.4923 GB, free: 74.66 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002412/0.9377, allocations: 71.19 kB / 0.4924 GB, free: 74.6 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.156e-06/0.9377, allocations: 0 / 0.4924 GB, free: 74.6 MB / 234.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006161/0.9384, allocations: 193.3 kB / 0.4925 GB, free: 74.4 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.9384, allocations: 7.984 kB / 0.4926 GB, free: 74.39 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.9384, allocations: 4 kB / 0.4926 GB, free: 74.39 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.9384, allocations: 0 / 0.4926 GB, free: 74.39 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002954/0.9387, allocations: 47.91 kB / 0.4926 GB, free: 74.34 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.822e-06/0.9388, allocations: 0 / 0.4926 GB, free: 74.34 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001836/0.939, allocations: 24.11 kB / 0.4926 GB, free: 74.32 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/0.939, allocations: 11.98 kB / 0.4926 GB, free: 74.31 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 21 * 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 9.387e-05/0.9391, allocations: 121.8 kB / 0.4928 GB, free: 74.18 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.162e-05/0.9392, allocations: 7.953 kB / 0.4928 GB, free: 74.17 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007923/0.94, allocations: 217.7 kB / 0.493 GB, free: 73.96 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.355e-06/0.94, allocations: 4 kB / 0.493 GB, free: 73.95 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.94, allocations: 0 / 0.493 GB, free: 73.95 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.456e-06/0.94, allocations: 0 / 0.493 GB, free: 73.95 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.9411, allocations: 0.496 MB / 0.4935 GB, free: 73.39 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.673e-06/0.9412, allocations: 0 / 0.4935 GB, free: 73.39 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002592/0.9414, allocations: 35.97 kB / 0.4935 GB, free: 73.36 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.79e-06/0.9415, allocations: 4 kB / 0.4935 GB, free: 73.36 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.9415, allocations: 8.062 kB / 0.4935 GB, free: 73.35 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.476e-06/0.9415, allocations: 3.938 kB / 0.4935 GB, free: 73.34 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.498e-06/0.9415, allocations: 0 / 0.4935 GB, free: 73.34 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005775/0.9421, allocations: 308.2 kB / 0.4938 GB, free: 73.02 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.426e-05/0.9422, allocations: 85.02 kB / 0.4939 GB, free: 72.91 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/0.9422, allocations: 7.984 kB / 0.4939 GB, free: 72.91 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.9424, allocations: 8 kB / 0.4939 GB, free: 72.9 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.463e-05/0.9424, allocations: 11.94 kB / 0.4939 GB, free: 72.89 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-05/0.9425, allocations: 15.98 kB / 0.4939 GB, free: 72.87 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.187e-05/0.9425, allocations: 79.28 kB / 0.494 GB, free: 72.79 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.892e-06/0.9425, allocations: 0 / 0.494 GB, free: 72.79 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0006978/0.9432, allocations: 127.8 kB / 0.4941 GB, free: 72.67 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (17): * Single equations (assignments): 17 * 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.0009478/0.9442, allocations: 0.5993 MB / 0.4947 GB, free: 72.06 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0005609/0.9448, allocations: 143.8 kB / 0.4948 GB, free: 71.92 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.9448, allocations: 3.938 kB / 0.4948 GB, free: 71.91 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002334/0.9451, allocations: 71.89 kB / 0.4949 GB, free: 71.84 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.9454, allocations: 41.03 kB / 0.495 GB, free: 71.8 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006889/0.9462, allocations: 308.8 kB / 0.4952 GB, free: 71.46 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001607/0.9463, allocations: 0.7012 MB / 0.4959 GB, free: 70.74 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.9465, allocations: 23.42 kB / 0.496 GB, free: 70.71 MB / 234.7 MB Notification: Performance of SimCode: time 1.636e-06/0.9465, allocations: 0 / 0.496 GB, free: 70.71 MB / 234.7 MB Notification: Performance of Templates: time 0.008642/0.9551, allocations: 5.577 MB / 0.5014 GB, free: 65.14 MB / 234.7 MB