Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_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.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009631/0.009631, allocations: 166.5 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.421/1.421, allocations: 170.8 MB / 186.6 MB, free: 1.125 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001716/0.001716, allocations: 110.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004484/0.0004485, allocations: 8 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2492, allocations: 38.77 MB / 312.9 MB, free: 38.81 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.51/1.759, allocations: 0.7308 GB / 1.036 GB, free: 88.59 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001981/1.759, allocations: 71.95 kB / 1.036 GB, free: 88.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1512/1.911, allocations: 77.54 MB / 1.112 GB, free: 10.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.132e-06/1.911, allocations: 0 / 1.112 GB, free: 10.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.153e-06/1.911, allocations: 4 kB / 1.112 GB, free: 10.01 MB / 362.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.0007894/1.911, allocations: 490.8 kB / 1.113 GB, free: 9.484 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/1.911, allocations: 8.031 kB / 1.113 GB, free: 9.477 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002614/1.912, allocations: 35.86 kB / 1.113 GB, free: 9.441 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/1.912, allocations: 198.8 kB / 1.113 GB, free: 9.207 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/1.912, allocations: 4 kB / 1.113 GB, free: 9.203 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/1.912, allocations: 0 / 1.113 GB, free: 9.203 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/1.912, allocations: 91.23 kB / 1.113 GB, free: 9.102 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/1.912, allocations: 0 / 1.113 GB, free: 9.102 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/1.912, allocations: 4 kB / 1.113 GB, free: 9.098 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/1.912, allocations: 0 / 1.113 GB, free: 9.098 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/1.912, allocations: 43.94 kB / 1.113 GB, free: 9.055 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001742/1.912, allocations: 194.5 kB / 1.113 GB, free: 8.812 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000284/1.913, allocations: 117.2 kB / 1.113 GB, free: 8.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003611/1.913, allocations: 137.2 kB / 1.113 GB, free: 8.527 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/1.913, allocations: 42.5 kB / 1.113 GB, free: 8.477 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/1.913, allocations: 0 / 1.113 GB, free: 8.477 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003528/1.913, allocations: 117.5 kB / 1.114 GB, free: 8.355 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/1.913, allocations: 89.03 kB / 1.114 GB, free: 8.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.73e-05/1.914, allocations: 132.9 kB / 1.114 GB, free: 8.113 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/1.914, allocations: 25.7 kB / 1.114 GB, free: 8.082 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.621e-05/1.914, allocations: 84.14 kB / 1.114 GB, free: 7.996 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/1.914, allocations: 23.66 kB / 1.114 GB, free: 7.973 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/1.914, allocations: 4 kB / 1.114 GB, free: 7.969 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.571e-05/1.914, allocations: 322.8 kB / 1.114 GB, free: 7.645 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.561e-05/1.914, allocations: 23.97 kB / 1.114 GB, free: 7.621 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.493e-05/1.914, allocations: 47.41 kB / 1.114 GB, free: 7.562 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.127e-05/1.914, allocations: 36.34 kB / 1.114 GB, free: 7.527 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/1.914, allocations: 0 / 1.114 GB, free: 7.527 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002148/1.914, allocations: 117.5 kB / 1.114 GB, free: 7.406 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/1.914, allocations: 10.17 kB / 1.114 GB, free: 7.398 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/1.914, allocations: 0 / 1.114 GB, free: 7.398 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/1.914, allocations: 4 kB / 1.114 GB, free: 7.395 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.812e-05/1.914, allocations: 19.94 kB / 1.114 GB, free: 7.375 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/1.914, allocations: 0 / 1.114 GB, free: 7.375 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.749e-05/1.914, allocations: 11.89 kB / 1.114 GB, free: 7.363 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/1.914, allocations: 8.062 kB / 1.114 GB, free: 7.355 MB / 362.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.422e-05/1.914, allocations: 113.8 kB / 1.115 GB, free: 7.234 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.509e-05/1.915, allocations: 11.89 kB / 1.115 GB, free: 7.223 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002594/1.915, allocations: 129.4 kB / 1.115 GB, free: 7.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/1.915, allocations: 3.938 kB / 1.115 GB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/1.915, allocations: 0 / 1.115 GB, free: 7.086 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/1.915, allocations: 7.938 kB / 1.115 GB, free: 7.078 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/1.915, allocations: 185.6 kB / 1.115 GB, free: 6.848 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.915, allocations: 4 kB / 1.115 GB, free: 6.844 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.849e-05/1.915, allocations: 15.98 kB / 1.115 GB, free: 6.828 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/1.915, allocations: 0 / 1.115 GB, free: 6.828 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/1.915, allocations: 3.953 kB / 1.115 GB, free: 6.824 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/1.915, allocations: 4 kB / 1.115 GB, free: 6.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/1.915, allocations: 0 / 1.115 GB, free: 6.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003144/1.915, allocations: 179.5 kB / 1.115 GB, free: 6.617 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.284e-05/1.915, allocations: 108.9 kB / 1.115 GB, free: 6.492 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/1.916, allocations: 3.938 kB / 1.115 GB, free: 6.488 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.194e-05/1.916, allocations: 0 / 1.115 GB, free: 6.488 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/1.916, allocations: 7.984 kB / 1.115 GB, free: 6.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.537e-06/1.916, allocations: 4 kB / 1.115 GB, free: 6.477 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.219e-05/1.916, allocations: 115.6 kB / 1.115 GB, free: 6.363 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.916, allocations: 0 / 1.115 GB, free: 6.363 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001115/1.917, allocations: 263.8 kB / 1.116 GB, free: 6.105 MB / 362.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 (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.001723/1.919, allocations: 0.9503 MB / 1.116 GB, free: 5.156 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001908/1.919, allocations: 67.98 kB / 1.117 GB, free: 5.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.919, allocations: 0 / 1.117 GB, free: 5.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.145e-05/1.919, allocations: 40 kB / 1.117 GB, free: 5.051 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/1.919, allocations: 23.95 kB / 1.117 GB, free: 5.027 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005016/1.92, allocations: 359.7 kB / 1.117 GB, free: 4.641 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/1.92, allocations: 0.6926 MB / 1.118 GB, free: 3.922 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.829e-05/1.92, allocations: 20.2 kB / 1.118 GB, free: 3.902 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.305e-05/1.92, allocations: 23.42 kB / 1.118 GB, free: 3.883 MB / 362.7 MB Notification: Performance of SimCode: time 3.11e-07/1.92, allocations: 0 / 1.118 GB, free: 3.883 MB / 362.7 MB Notification: Performance of Templates: time 0.1912/2.111, allocations: 12.94 MB / 1.13 GB, free: 107 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1)