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.Inverse_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.Inverse_sh_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadModel(Modelica): time 1.189/1.189, allocations: 111.1 MB / 127.3 MB, free: 6.145 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003526, allocations: 8 kB / 158.9 MB, free: 15.24 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05965/0.06004, allocations: 25.17 MB / 184 MB, free: 6.023 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.216/1.276, allocations: 362.3 MB / 0.5336 GB, free: 26.82 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001949/1.276, allocations: 69.72 kB / 0.5336 GB, free: 26.79 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3642/1.641, allocations: 48.64 MB / 0.5811 GB, free: 62.6 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.465e-06/1.641, allocations: 2.594 kB / 0.5811 GB, free: 62.6 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.286e-06/1.641, allocations: 0 / 0.5811 GB, free: 62.6 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.00106/1.642, allocations: 450.7 kB / 0.5816 GB, free: 62.19 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/1.642, allocations: 9.219 kB / 0.5816 GB, free: 62.19 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.691e-05/1.642, allocations: 11.3 kB / 0.5816 GB, free: 62.18 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/1.642, allocations: 184.2 kB / 0.5818 GB, free: 61.98 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/1.642, allocations: 3.531 kB / 0.5818 GB, free: 61.98 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/1.642, allocations: 5.984 kB / 0.5818 GB, free: 61.97 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002889/1.642, allocations: 65.41 kB / 0.5818 GB, free: 61.93 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/1.643, allocations: 0 / 0.5818 GB, free: 61.93 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/1.643, allocations: 3.375 kB / 0.5818 GB, free: 61.93 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/1.643, allocations: 0 / 0.5818 GB, free: 61.93 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003504/1.643, allocations: 33.53 kB / 0.5819 GB, free: 61.93 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002583/1.643, allocations: 175.1 kB / 0.582 GB, free: 61.73 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005175/1.644, allocations: 81.95 kB / 0.5821 GB, free: 61.68 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001584/1.645, allocations: 1.627 MB / 0.5837 GB, free: 59.89 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/1.645, allocations: 39.27 kB / 0.5837 GB, free: 59.86 MB / 234.7 MB Notification: Performance of pre-optimization done (n=6): time 3.376e-06/1.645, allocations: 0 / 0.5837 GB, free: 59.86 MB / 234.7 MB Notification: Performance of matching and sorting (n=6): time 0.000764/1.646, allocations: 94.94 kB / 0.5838 GB, free: 59.82 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/1.646, allocations: 79.83 kB / 0.5839 GB, free: 59.73 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/1.646, allocations: 115.3 kB / 0.584 GB, free: 59.63 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/1.646, allocations: 28.52 kB / 0.584 GB, free: 59.6 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.592e-05/1.647, allocations: 151.7 kB / 0.5842 GB, free: 59.45 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.686e-05/1.647, allocations: 14.44 kB / 0.5842 GB, free: 59.44 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.053e-05/1.647, allocations: 0 / 0.5842 GB, free: 59.44 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.251e-05/1.647, allocations: 326.3 kB / 0.5845 GB, free: 59.12 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/1.647, allocations: 11.39 kB / 0.5845 GB, free: 59.12 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/1.647, allocations: 32.25 kB / 0.5846 GB, free: 59.11 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/1.647, allocations: 13.72 kB / 0.5846 GB, free: 59.11 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.647, allocations: 1.406 kB / 0.5846 GB, free: 59.11 MB / 234.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004855/1.648, allocations: 71.14 kB / 0.5846 GB, free: 59.08 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/1.648, allocations: 5.688 kB / 0.5846 GB, free: 59.08 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/1.648, allocations: 3.094 kB / 0.5847 GB, free: 59.08 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/1.648, allocations: 0 / 0.5847 GB, free: 59.08 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/1.648, allocations: 19.62 kB / 0.5847 GB, free: 59.07 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/1.648, allocations: 0 / 0.5847 GB, free: 59.07 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/1.648, allocations: 17.03 kB / 0.5847 GB, free: 59.07 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/1.648, allocations: 480 / 0.5847 GB, free: 59.07 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 9.796e-05/1.648, allocations: 119.8 kB / 0.5848 GB, free: 58.95 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.834e-05/1.649, allocations: 4.406 kB / 0.5848 GB, free: 58.95 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006794/1.649, allocations: 137.6 kB / 0.5849 GB, free: 58.89 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/1.649, allocations: 0 / 0.5849 GB, free: 58.89 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.649, allocations: 2.312 kB / 0.5849 GB, free: 58.89 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/1.649, allocations: 1.406 kB / 0.5849 GB, free: 58.89 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/1.65, allocations: 178.1 kB / 0.5851 GB, free: 58.7 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/1.65, allocations: 0 / 0.5851 GB, free: 58.7 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/1.65, allocations: 11.41 kB / 0.5851 GB, free: 58.7 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/1.65, allocations: 0 / 0.5851 GB, free: 58.7 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/1.65, allocations: 8.922 kB / 0.5851 GB, free: 58.7 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.703e-06/1.65, allocations: 10.56 kB / 0.5851 GB, free: 58.7 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.65, allocations: 0 / 0.5851 GB, free: 58.7 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004836/1.65, allocations: 125.5 kB / 0.5853 GB, free: 58.62 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.293e-05/1.65, allocations: 97.27 kB / 0.5854 GB, free: 58.52 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.026e-05/1.65, allocations: 0 / 0.5854 GB, free: 58.52 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/1.651, allocations: 3.312 kB / 0.5854 GB, free: 58.52 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.626e-05/1.651, allocations: 14.66 kB / 0.5854 GB, free: 58.52 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/1.651, allocations: 0 / 0.5854 GB, free: 58.52 MB / 234.7 MB Notification: Performance of sorting global known variables: time 8.023e-05/1.651, allocations: 94.66 kB / 0.5855 GB, free: 58.45 MB / 234.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.651, allocations: 0 / 0.5855 GB, free: 58.45 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.001377/1.652, allocations: 210.6 kB / 0.5857 GB, free: 58.4 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 () * 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.002513/1.655, allocations: 0.7951 MB / 0.5864 GB, free: 58.15 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0004806/1.655, allocations: 50.75 kB / 0.5865 GB, free: 58.14 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.655, allocations: 0 / 0.5865 GB, free: 58.14 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002233/1.655, allocations: 34.64 kB / 0.5865 GB, free: 58.14 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004676/1.656, allocations: 26.42 kB / 0.5865 GB, free: 58.14 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006771/1.657, allocations: 234.5 kB / 0.5868 GB, free: 57.96 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001753/1.657, allocations: 0.6839 MB / 0.5874 GB, free: 57.27 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/1.657, allocations: 33.72 kB / 0.5875 GB, free: 57.25 MB / 234.7 MB Notification: Performance of SimCode: time 9.72e-07/1.657, allocations: 0 / 0.5875 GB, free: 57.25 MB / 234.7 MB Notification: Performance of Templates: time 0.01905/1.676, allocations: 6.597 MB / 0.5939 GB, free: 55.11 MB / 234.7 MB