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.SolveOneNonlinearEquation.InverseIncompressible_sh_T.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.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadModel(Modelica): time 1.017/1.017, allocations: 111.3 MB / 119.1 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.8e-05/2.808e-05, allocations: 4 kB / 148.1 MB, free: 6.234 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06442/0.06447, allocations: 25.17 MB / 173.3 MB, free: 13.02 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2158/0.2803, allocations: 70.8 MB / 244.1 MB, free: 6.477 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002173/0.2806, allocations: 63.95 kB / 244.1 MB, free: 6.414 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1594/0.44, allocations: 36.86 MB / 281 MB, free: 1.438 MB / 218.7 MB Notification: Performance of FrontEnd: time 2.897e-06/0.4401, allocations: 0 / 281 MB, free: 1.438 MB / 218.7 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.4401, allocations: 4 kB / 281 MB, free: 1.434 MB / 218.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.001116/0.4412, allocations: 490 kB / 281.5 MB, free: 0.9102 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.4413, allocations: 8.031 kB / 281.5 MB, free: 0.9023 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.959e-05/0.4414, allocations: 7.906 kB / 281.5 MB, free: 0.8945 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003754/0.4418, allocations: 190.9 kB / 281.7 MB, free: 0.668 MB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.4418, allocations: 0 / 281.7 MB, free: 0.668 MB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.4418, allocations: 4 kB / 281.7 MB, free: 0.6641 MB / 218.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001146/0.442, allocations: 15.98 kB / 281.7 MB, free: 0.6484 MB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.4421, allocations: 51.41 kB / 281.8 MB, free: 0.5859 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.4422, allocations: 4 kB / 281.8 MB, free: 0.582 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.4422, allocations: 4 kB / 281.8 MB, free: 0.5781 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.726e-06/0.4422, allocations: 0 / 281.8 MB, free: 0.5781 MB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002811/0.4425, allocations: 163 kB / 281.9 MB, free: 388 kB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004064/0.4429, allocations: 69.14 kB / 282 MB, free: 300 kB / 218.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.342e-05/0.443, allocations: 21.78 kB / 282 MB, free: 272 kB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002445/0.4455, allocations: 1.813 MB / 283.8 MB, free: 14.05 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.663e-05/0.4456, allocations: 42.55 kB / 283.9 MB, free: 14 MB / 234.7 MB Notification: Performance of pre-optimization done (n=6): time 4.199e-06/0.4456, allocations: 0 / 283.9 MB, free: 14 MB / 234.7 MB Notification: Performance of matching and sorting (n=6): time 0.001349/0.447, allocations: 117.5 kB / 284 MB, free: 13.88 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.4471, allocations: 77.11 kB / 284.1 MB, free: 13.78 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002389/0.4474, allocations: 101 kB / 284.2 MB, free: 13.68 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 5.215e-05/0.4475, allocations: 25.7 kB / 284.2 MB, free: 13.64 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.4477, allocations: 154.6 kB / 284.3 MB, free: 13.49 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.398e-05/0.4478, allocations: 23.7 kB / 284.4 MB, free: 13.47 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.236e-05/0.4478, allocations: 0 / 284.4 MB, free: 13.47 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000355/0.4482, allocations: 314.8 kB / 284.7 MB, free: 13.15 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.535e-05/0.4483, allocations: 7.938 kB / 284.7 MB, free: 13.14 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.4485, allocations: 25.66 kB / 284.7 MB, free: 13.11 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001577/0.4501, allocations: 71.91 kB / 284.8 MB, free: 13.04 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.68e-06/0.4501, allocations: 0 / 284.8 MB, free: 13.04 MB / 234.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.001744/0.4519, allocations: 117.7 kB / 284.9 MB, free: 12.92 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.678e-05/0.452, allocations: 10.34 kB / 284.9 MB, free: 12.91 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.452, allocations: 0 / 284.9 MB, free: 12.91 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/0.4521, allocations: 0 / 284.9 MB, free: 12.91 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002881/0.4524, allocations: 15.98 kB / 284.9 MB, free: 12.9 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.639e-05/0.4524, allocations: 3.938 kB / 284.9 MB, free: 12.89 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.4526, allocations: 4 kB / 284.9 MB, free: 12.89 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.153e-05/0.4527, allocations: 3.938 kB / 284.9 MB, free: 12.89 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.0002036/0.4529, allocations: 104.9 kB / 285 MB, free: 12.78 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.387e-05/0.453, allocations: 11.86 kB / 285 MB, free: 12.77 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002159/0.4552, allocations: 173.8 kB / 285.2 MB, free: 12.58 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-05/0.4553, allocations: 0 / 285.2 MB, free: 12.58 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.394e-06/0.4553, allocations: 0 / 285.2 MB, free: 12.58 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.483e-06/0.4553, allocations: 0 / 285.2 MB, free: 12.58 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004126/0.4558, allocations: 154.2 kB / 285.4 MB, free: 12.39 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-06/0.4558, allocations: 0 / 285.4 MB, free: 12.39 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.4561, allocations: 8 kB / 285.4 MB, free: 12.39 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.111e-05/0.4561, allocations: 8 kB / 285.4 MB, free: 12.38 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.4562, allocations: 0 / 285.4 MB, free: 12.38 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.95e-05/0.4562, allocations: 7.938 kB / 285.4 MB, free: 12.37 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.128e-05/0.4563, allocations: 3.938 kB / 285.4 MB, free: 12.37 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001914/0.4582, allocations: 171.5 kB / 285.6 MB, free: 12.17 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002254/0.4585, allocations: 96.98 kB / 285.6 MB, free: 12.06 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.201e-05/0.4586, allocations: 8.078 kB / 285.7 MB, free: 12.05 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001928/0.4588, allocations: 8 kB / 285.7 MB, free: 12.04 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.4589, allocations: 7.984 kB / 285.7 MB, free: 12.04 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.459, allocations: 0 / 285.7 MB, free: 12.04 MB / 234.7 MB Notification: Performance of sorting global known variables: time 7.682e-05/0.4591, allocations: 91.66 kB / 285.8 MB, free: 11.95 MB / 234.7 MB Notification: Performance of sort global known variables: time 7.28e-07/0.4591, allocations: 0 / 285.8 MB, free: 11.95 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0007075/0.4598, allocations: 179.7 kB / 285.9 MB, free: 11.77 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0009442/0.4608, allocations: 370.8 kB / 286.3 MB, free: 11.4 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001416/0.4609, allocations: 35.92 kB / 286.3 MB, free: 11.36 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.606e-06/0.4609, allocations: 0 / 286.3 MB, free: 11.36 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 7.238e-05/0.461, allocations: 24.19 kB / 286.4 MB, free: 11.34 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.4613, allocations: 17.88 kB / 286.4 MB, free: 11.32 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003472/0.4617, allocations: 126.5 kB / 286.5 MB, free: 11.17 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003779/0.4621, allocations: 0.6885 MB / 287.2 MB, free: 10.45 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.246e-05/0.4621, allocations: 23.36 kB / 287.2 MB, free: 10.43 MB / 234.7 MB Notification: Performance of SimCode: time 1.432e-06/0.4622, allocations: 0 / 287.2 MB, free: 10.43 MB / 234.7 MB Notification: Performance of Templates: time 0.008222/0.4704, allocations: 3.736 MB / 290.9 MB, free: 6.695 MB / 234.7 MB