Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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_TX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001356/0.001356, allocations: 182 kB / 13.64 MB, free: 1.676 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.697/1.697, allocations: 194.3 MB / 208.4 MB, free: 6.715 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.001805/0.001805, allocations: 108.8 kB / 253.5 MB, free: 9.598 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.183e-05/3.184e-05, allocations: 4 kB / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09158/0.09162, allocations: 44.49 MB / 349.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.862/1.954, allocations: 0.7438 GB / 1.085 GB, free: 121.7 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/1.954, allocations: 75.95 kB / 1.085 GB, free: 121.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1528/2.107, allocations: 78.02 MB / 1.161 GB, free: 42.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/2.107, allocations: 0 / 1.161 GB, free: 42.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.774e-06/2.107, allocations: 0 / 1.161 GB, free: 42.61 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.0007877/2.108, allocations: 474.6 kB / 1.162 GB, free: 42.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/2.108, allocations: 8.031 kB / 1.162 GB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002965/2.108, allocations: 43.83 kB / 1.162 GB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/2.108, allocations: 191 kB / 1.162 GB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/2.109, allocations: 4 kB / 1.162 GB, free: 41.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/2.109, allocations: 7.984 kB / 1.162 GB, free: 41.81 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/2.109, allocations: 71.31 kB / 1.162 GB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/2.109, allocations: 4 kB / 1.162 GB, free: 41.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/2.109, allocations: 0 / 1.162 GB, free: 41.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/2.109, allocations: 4 kB / 1.162 GB, free: 41.72 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.168e-05/2.109, allocations: 47.91 kB / 1.162 GB, free: 41.67 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001846/2.109, allocations: 190.5 kB / 1.162 GB, free: 41.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002836/2.109, allocations: 117.2 kB / 1.162 GB, free: 41.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.794e-05/2.109, allocations: 33.8 kB / 1.162 GB, free: 41.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003803/2.11, allocations: 133 kB / 1.163 GB, free: 41.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.579e-05/2.11, allocations: 38.5 kB / 1.163 GB, free: 41.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/2.11, allocations: 0 / 1.163 GB, free: 41.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002342/2.11, allocations: 97.55 kB / 1.163 GB, free: 40.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/2.11, allocations: 81.05 kB / 1.163 GB, free: 40.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.35e-05/2.11, allocations: 124.9 kB / 1.163 GB, free: 40.74 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/2.11, allocations: 25.7 kB / 1.163 GB, free: 40.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.674e-05/2.11, allocations: 92.12 kB / 1.163 GB, free: 40.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/2.11, allocations: 19.72 kB / 1.163 GB, free: 40.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-06/2.11, allocations: 0 / 1.163 GB, free: 40.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.223e-05/2.11, allocations: 322.8 kB / 1.163 GB, free: 40.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.916e-05/2.11, allocations: 27.98 kB / 1.163 GB, free: 40.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.542e-05/2.11, allocations: 59.33 kB / 1.163 GB, free: 40.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.511e-05/2.11, allocations: 19.98 kB / 1.163 GB, free: 40.15 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/2.11, allocations: 0 / 1.163 GB, free: 40.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001679/2.111, allocations: 113.4 kB / 1.164 GB, free: 40.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/2.111, allocations: 12 kB / 1.164 GB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/2.111, allocations: 4 kB / 1.164 GB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/2.111, allocations: 192 / 1.164 GB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.055e-05/2.111, allocations: 15.98 kB / 1.164 GB, free: 40 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/2.111, allocations: 4 kB / 1.164 GB, free: 40 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.131e-05/2.111, allocations: 7.938 kB / 1.164 GB, free: 39.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/2.111, allocations: 15.98 kB / 1.164 GB, free: 39.98 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 () * 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 5.151e-05/2.111, allocations: 104.9 kB / 1.164 GB, free: 39.87 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.646e-05/2.111, allocations: 7.906 kB / 1.164 GB, free: 39.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002142/2.111, allocations: 125.6 kB / 1.164 GB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/2.111, allocations: 0 / 1.164 GB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/2.111, allocations: 4 kB / 1.164 GB, free: 39.72 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/2.111, allocations: 0 / 1.164 GB, free: 39.72 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/2.111, allocations: 181.6 kB / 1.164 GB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/2.111, allocations: 0 / 1.164 GB, free: 39.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.941e-05/2.112, allocations: 19.92 kB / 1.164 GB, free: 39.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/2.112, allocations: 0 / 1.164 GB, free: 39.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/2.112, allocations: 4 kB / 1.164 GB, free: 39.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/2.112, allocations: 0 / 1.164 GB, free: 39.47 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/2.112, allocations: 4 kB / 1.164 GB, free: 39.47 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/2.112, allocations: 171.5 kB / 1.164 GB, free: 39.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.33e-05/2.112, allocations: 105 kB / 1.164 GB, free: 39.15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/2.112, allocations: 0 / 1.164 GB, free: 39.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.588e-05/2.112, allocations: 4 kB / 1.164 GB, free: 39.15 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.742e-05/2.112, allocations: 15.98 kB / 1.164 GB, free: 39.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-06/2.112, allocations: 4 kB / 1.164 GB, free: 39.13 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.987e-05/2.112, allocations: 111.6 kB / 1.164 GB, free: 39.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/2.112, allocations: 0 / 1.164 GB, free: 39.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001253/2.113, allocations: 267.6 kB / 1.165 GB, free: 38.76 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001891/2.115, allocations: 0.9551 MB / 1.166 GB, free: 37.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001456/2.115, allocations: 59.91 kB / 1.166 GB, free: 37.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/2.115, allocations: 0 / 1.166 GB, free: 37.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.008e-05/2.115, allocations: 27.94 kB / 1.166 GB, free: 37.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/2.116, allocations: 28.09 kB / 1.166 GB, free: 37.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003928/2.116, allocations: 238.6 kB / 1.166 GB, free: 37.42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001284/2.116, allocations: 0.6926 MB / 1.167 GB, free: 36.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.13e-05/2.116, allocations: 19.86 kB / 1.167 GB, free: 36.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/2.116, allocations: 15.44 kB / 1.167 GB, free: 36.67 MB / 410.7 MB Notification: Performance of SimCode: time 3.51e-07/2.116, allocations: 4 kB / 1.167 GB, free: 36.66 MB / 410.7 MB Notification: Performance of Templates: time 0.01614/2.132, allocations: 14.78 MB / 1.181 GB, free: 21.87 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1)