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/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.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 0.9796/0.9796, allocations: 111.2 MB / 124.2 MB, free: 11.14 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 1.998e-05/2.011e-05, allocations: 4 kB / 154.3 MB, free: 13.13 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1356, allocations: 25.14 MB / 179.4 MB, free: 0.8125 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2119/0.3476, allocations: 71.46 MB / 250.9 MB, free: 58.41 MB / 202.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001752/0.3478, allocations: 62.31 kB / 250.9 MB, free: 58.39 MB / 202.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1232/0.471, allocations: 37.07 MB / 288 MB, free: 21.54 MB / 202.7 MB Notification: Performance of FrontEnd: time 1.598e-06/0.471, allocations: 0 / 288 MB, free: 21.54 MB / 202.7 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.471, allocations: 0 / 288 MB, free: 21.54 MB / 202.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.0006689/0.4717, allocations: 496.9 kB / 288.5 MB, free: 21.01 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.4718, allocations: 12.03 kB / 288.5 MB, free: 21 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.229e-05/0.4718, allocations: 3.906 kB / 288.5 MB, free: 21 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.472, allocations: 194.9 kB / 288.7 MB, free: 20.77 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.4721, allocations: 4 kB / 288.7 MB, free: 20.76 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.4721, allocations: 0 / 288.7 MB, free: 20.76 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.4722, allocations: 59.41 kB / 288.8 MB, free: 20.69 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.121e-06/0.4722, allocations: 0 / 288.8 MB, free: 20.69 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.4722, allocations: 4 kB / 288.8 MB, free: 20.69 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.878e-06/0.4723, allocations: 0 / 288.8 MB, free: 20.69 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.93e-05/0.4723, allocations: 23.92 kB / 288.8 MB, free: 20.66 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001499/0.4725, allocations: 170.5 kB / 289 MB, free: 20.45 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002629/0.4728, allocations: 85.22 kB / 289 MB, free: 20.34 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.602e-05/0.4728, allocations: 25.78 kB / 289.1 MB, free: 20.31 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009163/0.4738, allocations: 1.817 MB / 290.9 MB, free: 18.09 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.4738, allocations: 34.56 kB / 290.9 MB, free: 18.05 MB / 202.7 MB Notification: Performance of pre-optimization done (n=6): time 2.171e-06/0.4738, allocations: 0 / 290.9 MB, free: 18.05 MB / 202.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001854/0.474, allocations: 69.5 kB / 291 MB, free: 17.97 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.4741, allocations: 77.11 kB / 291.1 MB, free: 17.88 MB / 202.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.184e-05/0.4741, allocations: 105 kB / 291.2 MB, free: 17.77 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.4742, allocations: 29.7 kB / 291.2 MB, free: 17.73 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.004e-05/0.4742, allocations: 154.5 kB / 291.3 MB, free: 17.58 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.4742, allocations: 23.66 kB / 291.4 MB, free: 17.56 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.096e-06/0.4743, allocations: 0 / 291.4 MB, free: 17.56 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 5.013e-05/0.4743, allocations: 310.8 kB / 291.7 MB, free: 17.25 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.378e-05/0.4744, allocations: 12 kB / 291.7 MB, free: 17.23 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.84e-05/0.4744, allocations: 21.7 kB / 291.7 MB, free: 17.21 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.82e-05/0.4745, allocations: 15.94 kB / 291.7 MB, free: 17.19 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.374e-06/0.4745, allocations: 3.953 kB / 291.7 MB, free: 17.19 MB / 202.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001366/0.4746, allocations: 61.67 kB / 291.8 MB, free: 17.12 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.4747, allocations: 5.094 kB / 291.8 MB, free: 17.12 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.078e-06/0.4747, allocations: 128 / 291.8 MB, free: 17.12 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.4747, allocations: 4 kB / 291.8 MB, free: 17.11 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.4748, allocations: 19.92 kB / 291.8 MB, free: 17.09 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.624e-06/0.4748, allocations: 0 / 291.8 MB, free: 17.09 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.096e-05/0.4749, allocations: 4 kB / 291.8 MB, free: 17.09 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.4749, allocations: 4 kB / 291.8 MB, free: 17.09 MB / 202.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 5.069e-05/0.475, allocations: 116.9 kB / 291.9 MB, free: 16.96 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.979e-05/0.475, allocations: 7.859 kB / 291.9 MB, free: 16.96 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002798/0.4753, allocations: 113.6 kB / 292.1 MB, free: 16.84 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.26e-06/0.4754, allocations: 4 kB / 292.1 MB, free: 16.83 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.685e-06/0.4754, allocations: 0 / 292.1 MB, free: 16.83 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.714e-06/0.4754, allocations: 4 kB / 292.1 MB, free: 16.83 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.4755, allocations: 169.7 kB / 292.2 MB, free: 16.61 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.663e-06/0.4755, allocations: 0 / 292.2 MB, free: 16.61 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.796e-05/0.4756, allocations: 19.88 kB / 292.2 MB, free: 16.59 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.552e-06/0.4756, allocations: 4 kB / 292.3 MB, free: 16.59 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.4757, allocations: 0 / 292.3 MB, free: 16.59 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.724e-06/0.4757, allocations: 0 / 292.3 MB, free: 16.59 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.72e-06/0.4757, allocations: 0 / 292.3 MB, free: 16.59 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.4759, allocations: 131.5 kB / 292.4 MB, free: 16.43 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.936e-05/0.4759, allocations: 93 kB / 292.5 MB, free: 16.32 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.476, allocations: 3.984 kB / 292.5 MB, free: 16.32 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.908e-05/0.476, allocations: 4 kB / 292.5 MB, free: 16.32 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.4761, allocations: 12.27 kB / 292.5 MB, free: 16.3 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.4761, allocations: 0 / 292.5 MB, free: 16.3 MB / 202.7 MB Notification: Performance of sorting global known variables: time 4.047e-05/0.4762, allocations: 87.28 kB / 292.6 MB, free: 16.22 MB / 202.7 MB Notification: Performance of sort global known variables: time 2.064e-06/0.4762, allocations: 8 kB / 292.6 MB, free: 16.21 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0006642/0.4769, allocations: 183.6 kB / 292.8 MB, free: 16.03 MB / 202.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.0008291/0.4777, allocations: 379.9 kB / 293.1 MB, free: 15.66 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.0001388/0.4779, allocations: 35.92 kB / 293.2 MB, free: 15.62 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 2.657e-06/0.4779, allocations: 0 / 293.2 MB, free: 15.62 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 7.056e-05/0.478, allocations: 27.94 kB / 293.2 MB, free: 15.59 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.4782, allocations: 28.67 kB / 293.2 MB, free: 15.57 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003074/0.4786, allocations: 127.4 kB / 293.3 MB, free: 15.41 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.4787, allocations: 0.6809 MB / 294 MB, free: 14.7 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.054e-05/0.4788, allocations: 27.42 kB / 294.1 MB, free: 14.68 MB / 202.7 MB Notification: Performance of SimCode: time 1.794e-06/0.4788, allocations: 0 / 294.1 MB, free: 14.68 MB / 202.7 MB Notification: Performance of Templates: time 0.006381/0.4852, allocations: 3.645 MB / 297.7 MB, free: 11.04 MB / 202.7 MB