Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 1.064/1.064, allocations: 111.1 MB / 127.3 MB, free: 6.145 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002676/0.0002678, allocations: 12 kB / 158.9 MB, free: 15.23 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05477/0.05506, allocations: 25.16 MB / 184 MB, free: 6.023 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2916/0.3468, allocations: 71.54 MB / 255.6 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003099/0.3471, allocations: 63.97 kB / 255.6 MB, free: 11.13 MB / 202.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1927/0.5398, allocations: 37.17 MB / 292.8 MB, free: 5.84 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.5399, allocations: 0 / 292.8 MB, free: 5.84 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.5399, allocations: 0 / 292.8 MB, free: 5.84 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.001192/0.5411, allocations: 498.8 kB / 293.3 MB, free: 5.305 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.188e-05/0.5412, allocations: 16.02 kB / 293.3 MB, free: 5.289 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.843e-05/0.5413, allocations: 7.938 kB / 293.3 MB, free: 5.281 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003412/0.5416, allocations: 194.8 kB / 293.5 MB, free: 5.051 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.5416, allocations: 0 / 293.5 MB, free: 5.051 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.5417, allocations: 4 kB / 293.5 MB, free: 5.047 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002461/0.5419, allocations: 63.33 kB / 293.6 MB, free: 4.973 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.542, allocations: 0 / 293.6 MB, free: 4.973 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.542, allocations: 11.98 kB / 293.6 MB, free: 4.961 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.542, allocations: 0 / 293.6 MB, free: 4.961 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003262/0.5423, allocations: 31.89 kB / 293.6 MB, free: 4.93 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002718/0.5426, allocations: 170.5 kB / 293.8 MB, free: 4.711 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00044/0.5431, allocations: 89.16 kB / 293.9 MB, free: 4.605 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001758/0.5449, allocations: 1.817 MB / 295.7 MB, free: 2.383 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.936e-05/0.545, allocations: 34.56 kB / 295.7 MB, free: 2.34 MB / 234.7 MB Notification: Performance of pre-optimization done (n=6): time 3.397e-06/0.545, allocations: 0 / 295.7 MB, free: 2.34 MB / 234.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006133/0.5456, allocations: 89.48 kB / 295.8 MB, free: 2.246 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.5457, allocations: 85.11 kB / 295.9 MB, free: 2.145 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.5458, allocations: 109.8 kB / 296 MB, free: 2.027 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.5459, allocations: 25.7 kB / 296 MB, free: 1.996 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.357e-05/0.546, allocations: 154.6 kB / 296.2 MB, free: 1.844 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.488e-05/0.546, allocations: 15.75 kB / 296.2 MB, free: 1.828 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.546, allocations: 0 / 296.2 MB, free: 1.828 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.5462, allocations: 318.8 kB / 296.5 MB, free: 1.508 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.5464, allocations: 15.98 kB / 296.5 MB, free: 1.492 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.5465, allocations: 29.7 kB / 296.5 MB, free: 1.457 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.5467, allocations: 19.86 kB / 296.6 MB, free: 1.438 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.5467, allocations: 3.953 kB / 296.6 MB, free: 1.434 MB / 234.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003758/0.5471, allocations: 65.67 kB / 296.6 MB, free: 1.363 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.5471, allocations: 4 kB / 296.6 MB, free: 1.359 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.5472, allocations: 7.984 kB / 296.6 MB, free: 1.352 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.5472, allocations: 4 kB / 296.7 MB, free: 1.348 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.5473, allocations: 11.94 kB / 296.7 MB, free: 1.336 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.5474, allocations: 4 kB / 296.7 MB, free: 1.332 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.5475, allocations: 7.891 kB / 296.7 MB, free: 1.324 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.5475, allocations: 4.125 kB / 296.7 MB, free: 1.32 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 () * Number of clocked 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.0001082/0.5476, allocations: 109.8 kB / 296.8 MB, free: 1.203 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.5477, allocations: 7.953 kB / 296.8 MB, free: 1.195 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005959/0.5483, allocations: 137.8 kB / 296.9 MB, free: 1.047 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.5483, allocations: 0 / 296.9 MB, free: 1.047 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.5483, allocations: 0 / 296.9 MB, free: 1.047 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.5483, allocations: 4.078 kB / 296.9 MB, free: 1.043 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.5485, allocations: 177.6 kB / 297.1 MB, free: 0.8203 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.5486, allocations: 0 / 297.1 MB, free: 0.8203 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001463/0.5487, allocations: 27.88 kB / 297.1 MB, free: 0.793 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.5487, allocations: 0 / 297.1 MB, free: 0.793 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.5488, allocations: 0 / 297.1 MB, free: 0.793 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.277e-06/0.5488, allocations: 4 kB / 297.1 MB, free: 0.7891 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.5488, allocations: 0 / 297.1 MB, free: 0.7891 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004149/0.5492, allocations: 113.9 kB / 297.2 MB, free: 0.6562 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.5493, allocations: 101 kB / 297.3 MB, free: 0.5391 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.5494, allocations: 7.953 kB / 297.4 MB, free: 0.5312 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.52e-05/0.5495, allocations: 0 / 297.4 MB, free: 0.5312 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.7e-05/0.5495, allocations: 7.984 kB / 297.4 MB, free: 0.5234 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.5496, allocations: 4 kB / 297.4 MB, free: 0.5195 MB / 234.7 MB Notification: Performance of sorting global known variables: time 7.715e-05/0.5496, allocations: 87.27 kB / 297.5 MB, free: 444 kB / 234.7 MB Notification: Performance of sort global known variables: time 2.465e-06/0.5497, allocations: 4 kB / 297.5 MB, free: 440 kB / 234.7 MB Notification: Performance of remove unused functions: time 0.0009608/0.5506, allocations: 179.7 kB / 297.6 MB, free: 260 kB / 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 () * Number of clocked 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.169/0.7197, allocations: 366.4 kB / 298 MB, free: 72.83 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0004307/0.7202, allocations: 42.78 kB / 298 MB, free: 72.83 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.7202, allocations: 0 / 298 MB, free: 72.83 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001856/0.7204, allocations: 37.98 kB / 298.1 MB, free: 72.83 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.7207, allocations: 23.62 kB / 298.1 MB, free: 72.83 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005325/0.7213, allocations: 223.2 kB / 298.3 MB, free: 72.66 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001446/0.7215, allocations: 0.6872 MB / 299 MB, free: 71.97 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.3e-05/0.7215, allocations: 22.5 kB / 299 MB, free: 71.96 MB / 234.7 MB Notification: Performance of SimCode: time 9.82e-07/0.7216, allocations: 0 / 299 MB, free: 71.96 MB / 234.7 MB Notification: Performance of Templates: time 0.01057/0.7321, allocations: 3.674 MB / 302.7 MB, free: 71.72 MB / 234.7 MB