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.9949/0.9949, allocations: 111.1 MB / 126.7 MB, free: 6.129 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002677/0.0002678, allocations: 8 kB / 158.3 MB, free: 15.18 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1063, allocations: 25.16 MB / 183.5 MB, free: 5.98 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2195/0.3258, allocations: 71.55 MB / 255 MB, free: 11.14 MB / 202.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/0.3261, allocations: 55.98 kB / 255.1 MB, free: 11.09 MB / 202.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1436/0.4697, allocations: 37.18 MB / 292.3 MB, free: 5.797 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.747e-06/0.4697, allocations: 0 / 292.3 MB, free: 5.797 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.282e-06/0.4698, allocations: 0 / 292.3 MB, free: 5.797 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.0008913/0.4707, allocations: 498.8 kB / 292.8 MB, free: 5.262 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.4707, allocations: 12.03 kB / 292.8 MB, free: 5.25 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.679e-05/0.4708, allocations: 4 kB / 292.8 MB, free: 5.246 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.471, allocations: 198.8 kB / 293 MB, free: 5.012 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.4711, allocations: 0 / 293 MB, free: 5.012 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.4711, allocations: 8 kB / 293 MB, free: 5.004 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.4713, allocations: 59.39 kB / 293 MB, free: 4.934 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.4713, allocations: 7.875 kB / 293 MB, free: 4.926 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.4714, allocations: 4 kB / 293.1 MB, free: 4.922 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.993e-06/0.4714, allocations: 0 / 293.1 MB, free: 4.922 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001732/0.4716, allocations: 27.97 kB / 293.1 MB, free: 4.895 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002309/0.4718, allocations: 174.6 kB / 293.3 MB, free: 4.672 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000348/0.4722, allocations: 85.22 kB / 293.3 MB, free: 4.57 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001703/0.4739, allocations: 1.813 MB / 295.1 MB, free: 2.352 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.4739, allocations: 42.55 kB / 295.2 MB, free: 2.301 MB / 234.7 MB Notification: Performance of pre-optimization done (n=6): time 2.946e-06/0.474, allocations: 0 / 295.2 MB, free: 2.301 MB / 234.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004474/0.4744, allocations: 85.5 kB / 295.3 MB, free: 2.211 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.735e-05/0.4745, allocations: 89.09 kB / 295.4 MB, free: 2.105 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.4746, allocations: 97 kB / 295.5 MB, free: 2.004 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.4747, allocations: 25.7 kB / 295.5 MB, free: 1.973 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.835e-05/0.4747, allocations: 150.6 kB / 295.6 MB, free: 1.824 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.421e-05/0.4748, allocations: 23.73 kB / 295.6 MB, free: 1.801 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.663e-06/0.4748, allocations: 3.938 kB / 295.7 MB, free: 1.797 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.475, allocations: 314.8 kB / 296 MB, free: 1.48 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.137e-05/0.4751, allocations: 15.98 kB / 296 MB, free: 1.465 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.59e-05/0.4752, allocations: 29.64 kB / 296 MB, free: 1.43 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.4753, allocations: 19.98 kB / 296 MB, free: 1.41 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.708e-06/0.4753, allocations: 0 / 296 MB, free: 1.41 MB / 234.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002718/0.4756, allocations: 74.02 kB / 296.1 MB, free: 1.332 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.4756, allocations: 4 kB / 296.1 MB, free: 1.328 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.265e-06/0.4757, allocations: 7.984 kB / 296.1 MB, free: 1.32 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.4757, allocations: 0 / 296.1 MB, free: 1.32 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.4758, allocations: 15.98 kB / 296.1 MB, free: 1.305 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.485e-06/0.4758, allocations: 0 / 296.1 MB, free: 1.305 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.746e-05/0.4759, allocations: 11.91 kB / 296.1 MB, free: 1.293 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.4759, allocations: 0 / 296.1 MB, free: 1.293 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.0001067/0.476, allocations: 116.6 kB / 296.2 MB, free: 1.172 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.214e-05/0.4761, allocations: 7.953 kB / 296.3 MB, free: 1.164 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004475/0.4765, allocations: 133.3 kB / 296.4 MB, free: 1.023 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.4766, allocations: 4 kB / 296.4 MB, free: 1.02 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.181e-06/0.4766, allocations: 0 / 296.4 MB, free: 1.02 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.4766, allocations: 0 / 296.4 MB, free: 1.02 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.4768, allocations: 173.6 kB / 296.6 MB, free: 0.8008 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.4768, allocations: 3.938 kB / 296.6 MB, free: 0.7969 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.599e-05/0.4769, allocations: 16.11 kB / 296.6 MB, free: 0.7812 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/0.4769, allocations: 7.953 kB / 296.6 MB, free: 0.7734 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.477, allocations: 4 kB / 296.6 MB, free: 0.7695 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.503e-06/0.477, allocations: 0 / 296.6 MB, free: 0.7695 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.261e-06/0.477, allocations: 0 / 296.6 MB, free: 0.7695 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003309/0.4773, allocations: 135.5 kB / 296.7 MB, free: 0.6094 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.307e-05/0.4774, allocations: 96.98 kB / 296.8 MB, free: 0.4961 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.4775, allocations: 0 / 296.8 MB, free: 0.4961 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.233e-05/0.4775, allocations: 11.98 kB / 296.8 MB, free: 496 kB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/0.4776, allocations: 7.984 kB / 296.8 MB, free: 488 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.4776, allocations: 0 / 296.8 MB, free: 488 kB / 234.7 MB Notification: Performance of sorting global known variables: time 8.354e-05/0.4777, allocations: 87.28 kB / 296.9 MB, free: 400 kB / 234.7 MB Notification: Performance of sort global known variables: time 6.99e-07/0.4777, allocations: 0 / 296.9 MB, free: 400 kB / 234.7 MB Notification: Performance of remove unused functions: time 0.0007533/0.4785, allocations: 175.8 kB / 297.1 MB, free: 224 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.122/0.6005, allocations: 368.5 kB / 297.5 MB, free: 72.82 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.000337/0.6009, allocations: 43.94 kB / 297.5 MB, free: 72.82 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.567e-06/0.6009, allocations: 5.031 kB / 297.5 MB, free: 72.82 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.6011, allocations: 32.48 kB / 297.5 MB, free: 72.82 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.6014, allocations: 20.81 kB / 297.6 MB, free: 72.82 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004598/0.6019, allocations: 232.8 kB / 297.8 MB, free: 72.64 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.602, allocations: 0.6903 MB / 298.5 MB, free: 71.95 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.846e-05/0.6021, allocations: 20.55 kB / 298.5 MB, free: 71.94 MB / 234.7 MB Notification: Performance of SimCode: time 1.523e-06/0.6021, allocations: 0 / 298.5 MB, free: 71.94 MB / 234.7 MB Notification: Performance of Templates: time 0.008077/0.6102, allocations: 3.662 MB / 302.2 MB, free: 71.7 MB / 234.7 MB