Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001285/0.001285, allocations: 179 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.465/1.465, allocations: 194.5 MB / 211.6 MB, free: 3.047 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00179/0.00179, allocations: 109.5 kB / 256.9 MB, free: 4.355 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004818/0.0004821, allocations: 8 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1172, allocations: 44.49 MB / 355 MB, free: 2.348 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.34/1.457, allocations: 0.5908 GB / 0.9375 GB, free: 57.85 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/1.458, allocations: 80.84 kB / 0.9376 GB, free: 57.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08446/1.542, allocations: 41.75 MB / 0.9783 GB, free: 18.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.096e-06/1.542, allocations: 0 / 0.9783 GB, free: 18.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.564e-06/1.542, allocations: 0 / 0.9783 GB, free: 18.7 MB / 410.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.0007355/1.543, allocations: 465.6 kB / 0.9788 GB, free: 18.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/1.543, allocations: 12.03 kB / 0.9788 GB, free: 18.19 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009757/1.544, allocations: 96.39 kB / 0.9789 GB, free: 18.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/1.544, allocations: 217.4 kB / 0.9791 GB, free: 17.85 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/1.544, allocations: 0 / 0.9791 GB, free: 17.85 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/1.544, allocations: 4 kB / 0.9791 GB, free: 17.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/1.545, allocations: 95.27 kB / 0.9792 GB, free: 17.74 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/1.545, allocations: 0 / 0.9792 GB, free: 17.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/1.545, allocations: 8 kB / 0.9792 GB, free: 17.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/1.545, allocations: 0 / 0.9792 GB, free: 17.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/1.545, allocations: 39.95 kB / 0.9792 GB, free: 17.69 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002069/1.545, allocations: 207.6 kB / 0.9794 GB, free: 17.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004379/1.545, allocations: 129.2 kB / 0.9795 GB, free: 17.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006243/1.546, allocations: 1.384 MB / 0.9809 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/1.546, allocations: 34.5 kB / 0.9809 GB, free: 15.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/1.546, allocations: 0 / 0.9809 GB, free: 15.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004283/1.547, allocations: 133.5 kB / 0.9811 GB, free: 15.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/1.547, allocations: 85.05 kB / 0.9811 GB, free: 15.33 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/1.547, allocations: 147.2 kB / 0.9813 GB, free: 15.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/1.547, allocations: 29.7 kB / 0.9813 GB, free: 15.15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.122e-05/1.547, allocations: 88.12 kB / 0.9814 GB, free: 15.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/1.547, allocations: 23.59 kB / 0.9814 GB, free: 15.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.806e-06/1.547, allocations: 4 kB / 0.9814 GB, free: 15.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.821e-05/1.547, allocations: 316.7 kB / 0.9817 GB, free: 14.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.868e-05/1.547, allocations: 27.98 kB / 0.9817 GB, free: 14.69 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/1.547, allocations: 51.41 kB / 0.9818 GB, free: 14.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.587e-05/1.547, allocations: 35.97 kB / 0.9818 GB, free: 14.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/1.547, allocations: 0 / 0.9818 GB, free: 14.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002657/1.548, allocations: 121.5 kB / 0.9819 GB, free: 14.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/1.548, allocations: 8 kB / 0.9819 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/1.548, allocations: 0 / 0.9819 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/1.548, allocations: 0 / 0.9819 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/1.548, allocations: 23.97 kB / 0.982 GB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/1.548, allocations: 4 kB / 0.982 GB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/1.548, allocations: 11.89 kB / 0.982 GB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/1.548, allocations: 11.95 kB / 0.982 GB, free: 14.41 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * 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 6.067e-05/1.548, allocations: 117.8 kB / 0.9821 GB, free: 14.28 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/1.548, allocations: 8.031 kB / 0.9821 GB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004431/1.548, allocations: 233.6 kB / 0.9823 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/1.548, allocations: 0 / 0.9823 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/1.548, allocations: 0 / 0.9823 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/1.549, allocations: 7.984 kB / 0.9823 GB, free: 14.03 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/1.549, allocations: 215 kB / 0.9826 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/1.549, allocations: 5.031 kB / 0.9826 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/1.549, allocations: 24.02 kB / 0.9826 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/1.549, allocations: 3.984 kB / 0.9826 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/1.549, allocations: 3.984 kB / 0.9826 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/1.549, allocations: 4 kB / 0.9826 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/1.549, allocations: 4.062 kB / 0.9826 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003409/1.549, allocations: 192.2 kB / 0.9828 GB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.531e-05/1.549, allocations: 93.03 kB / 0.9829 GB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.415e-05/1.549, allocations: 4 kB / 0.9829 GB, free: 13.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/1.55, allocations: 3.984 kB / 0.9829 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/1.55, allocations: 7.984 kB / 0.9829 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/1.55, allocations: 11.94 kB / 0.9829 GB, free: 13.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001252/1.55, allocations: 136.1 kB / 0.983 GB, free: 13.24 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.55, allocations: 8.062 kB / 0.983 GB, free: 13.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006779/1.55, allocations: 226.1 kB / 0.9832 GB, free: 13.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * 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 (8): * Single equations (assignments): 7 * 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.001121/1.552, allocations: 0.8216 MB / 0.9841 GB, free: 12.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002453/1.552, allocations: 72.72 kB / 0.9841 GB, free: 12.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.552, allocations: 0 / 0.9841 GB, free: 12.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/1.552, allocations: 43.91 kB / 0.9842 GB, free: 12.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/1.552, allocations: 9.25 kB / 0.9842 GB, free: 12.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004529/1.553, allocations: 369.9 kB / 0.9845 GB, free: 11.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.992e-05/1.553, allocations: 0.6965 MB / 0.9852 GB, free: 10.95 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004378/1.553, allocations: 427 kB / 0.9856 GB, free: 10.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/1.553, allocations: 40.8 kB / 0.9856 GB, free: 10.5 MB / 410.7 MB Notification: Performance of SimCode: time 6.52e-07/1.553, allocations: 0 / 0.9856 GB, free: 10.5 MB / 410.7 MB Notification: Performance of Templates: time 0.1866/1.74, allocations: 12.13 MB / 0.9975 GB, free: 124.8 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1)