Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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.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.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009527/0.0009527, allocations: 96.02 kB / 15.05 MB, free: 1.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 181.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.477/1.477, allocations: 205.4 MB / 222.1 MB, free: 5.508 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000442/0.0004421, allocations: 8 kB / 278.9 MB, free: 12.72 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.218, allocations: 47.6 MB / 326.5 MB, free: 1.656 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001215/0.2193, allocations: 1.053 MB / 327.5 MB, free: 0.8086 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.1472/0.3665, allocations: 127.4 MB / 454.9 MB, free: 2.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.142e-05/0.3666, allocations: 0 / 454.9 MB, free: 2.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.137e-05/0.3667, allocations: 3.984 kB / 454.9 MB, free: 2.836 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00113/0.3678, allocations: 259.2 kB / 455.2 MB, free: 2.582 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001508/0.3694, allocations: 0.5728 MB / 455.8 MB, free: 2.008 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.3695, allocations: 55.91 kB / 455.8 MB, free: 1.953 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.806e-05/0.3695, allocations: 0 / 455.8 MB, free: 1.953 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.752e-05/0.3696, allocations: 35.84 kB / 455.8 MB, free: 1.918 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.298e-05/0.3697, allocations: 27.92 kB / 455.9 MB, free: 1.891 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.3697, allocations: 7.984 kB / 455.9 MB, free: 1.883 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002112/0.3719, allocations: 1.03 MB / 456.9 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.451e-05/0.3719, allocations: 11.98 kB / 456.9 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.049e-05/0.372, allocations: 33.7 kB / 457 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000993/0.373, allocations: 0.5006 MB / 457.5 MB, free: 308 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.373, allocations: 3.938 kB / 457.5 MB, free: 304 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.373, allocations: 0 / 457.5 MB, free: 304 kB / 382.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.373, allocations: 0 / 457.5 MB, free: 304 kB / 382.1 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.1883/0.5613, allocations: 458.4 kB / 457.9 MB, free: 128.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.5614, allocations: 9.031 kB / 457.9 MB, free: 128.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005261/0.5619, allocations: 35.89 kB / 458 MB, free: 128.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.5622, allocations: 194.2 kB / 458.1 MB, free: 128 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.5622, allocations: 2.719 kB / 458.1 MB, free: 128 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.5622, allocations: 2.5 kB / 458.1 MB, free: 128 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.5624, allocations: 74.36 kB / 458.2 MB, free: 128 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.5625, allocations: 2.812 kB / 458.2 MB, free: 128 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.5625, allocations: 1.594 kB / 458.2 MB, free: 128 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.5625, allocations: 0.9688 kB / 458.2 MB, free: 128 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001646/0.5627, allocations: 43.41 kB / 458.3 MB, free: 128 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002519/0.5629, allocations: 195.4 kB / 458.5 MB, free: 127.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004236/0.5634, allocations: 112.2 kB / 458.6 MB, free: 127.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.026e-05/0.5635, allocations: 15.67 kB / 458.6 MB, free: 127.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.5635, allocations: 38.31 kB / 458.6 MB, free: 127.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.753e-06/0.5635, allocations: 3.562 kB / 458.6 MB, free: 127.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005578/0.5641, allocations: 118.7 kB / 458.7 MB, free: 127.6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.5641, allocations: 83.45 kB / 458.8 MB, free: 127.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.5643, allocations: 139.4 kB / 459 MB, free: 127.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.5643, allocations: 26.98 kB / 459 MB, free: 127.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.617e-05/0.5644, allocations: 89.23 kB / 459.1 MB, free: 127.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.322e-05/0.5644, allocations: 29.41 kB / 459.1 MB, free: 127.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-06/0.5645, allocations: 0.75 kB / 459.1 MB, free: 127.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.799e-05/0.5645, allocations: 317.8 kB / 459.4 MB, free: 127 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.5646, allocations: 23.09 kB / 459.4 MB, free: 127 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.5648, allocations: 50.27 kB / 459.5 MB, free: 127 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.5649, allocations: 30.03 kB / 459.5 MB, free: 127 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.5649, allocations: 1.953 kB / 459.5 MB, free: 127 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004463/0.5654, allocations: 106.8 kB / 459.6 MB, free: 126.9 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.5654, allocations: 5.875 kB / 459.6 MB, free: 126.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.5655, allocations: 1.125 kB / 459.6 MB, free: 126.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.5655, allocations: 7.984 kB / 459.6 MB, free: 126.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.5656, allocations: 18.05 kB / 459.6 MB, free: 126.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.5656, allocations: 1.625 kB / 459.7 MB, free: 126.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.683e-05/0.5657, allocations: 8.562 kB / 459.7 MB, free: 126.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.5658, allocations: 4.156 kB / 459.7 MB, free: 126.9 MB / 382.1 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 8.023e-05/0.5659, allocations: 119.2 kB / 459.8 MB, free: 126.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.566, allocations: 8.406 kB / 459.8 MB, free: 126.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003998/0.5664, allocations: 113.2 kB / 459.9 MB, free: 126.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.5664, allocations: 9.656 kB / 459.9 MB, free: 126.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.5664, allocations: 4.172 kB / 459.9 MB, free: 126.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.5664, allocations: 2.891 kB / 459.9 MB, free: 126.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.5666, allocations: 184.8 kB / 460.1 MB, free: 126.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5666, allocations: 0.875 kB / 460.1 MB, free: 126.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.5668, allocations: 12.66 kB / 460.1 MB, free: 126.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.5668, allocations: 3.766 kB / 460.1 MB, free: 126.6 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.5668, allocations: 2.281 kB / 460.1 MB, free: 126.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.5668, allocations: 1.953 kB / 460.1 MB, free: 126.6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.5668, allocations: 4.453 kB / 460.1 MB, free: 126.6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005389/0.5674, allocations: 178.9 kB / 460.3 MB, free: 126.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.882e-05/0.5675, allocations: 95.83 kB / 460.4 MB, free: 126.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/0.5675, allocations: 1.719 kB / 460.4 MB, free: 126.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.318e-05/0.5676, allocations: 9.859 kB / 460.4 MB, free: 126.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/0.5677, allocations: 7.797 kB / 460.4 MB, free: 126.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.5677, allocations: 6.359 kB / 460.4 MB, free: 126.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001053/0.5678, allocations: 109.4 kB / 460.5 MB, free: 126.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5678, allocations: 3.75 kB / 460.5 MB, free: 126.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001064/0.5689, allocations: 200.9 kB / 460.7 MB, free: 126.3 MB / 382.1 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.001721/0.5706, allocations: 454.1 kB / 461.2 MB, free: 126.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00028/0.5709, allocations: 68 kB / 461.2 MB, free: 126.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5709, allocations: 1.312 kB / 461.2 MB, free: 126.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.571, allocations: 31.22 kB / 461.3 MB, free: 126.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.5714, allocations: 21.8 kB / 461.3 MB, free: 126.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000652/0.572, allocations: 361.8 kB / 461.6 MB, free: 125.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.5722, allocations: 0.6945 MB / 462.3 MB, free: 125.1 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.856e-05/0.5723, allocations: 16.25 kB / 462.3 MB, free: 125.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.647e-05/0.5724, allocations: 15.81 kB / 462.4 MB, free: 125.1 MB / 382.1 MB Notification: Performance of SimCode: time 1.132e-06/0.5724, allocations: 0 / 462.4 MB, free: 125.1 MB / 382.1 MB Notification: Performance of Templates: time 0.01455/0.5869, allocations: 5.934 MB / 468.3 MB, free: 121.2 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1) Environment - environmentSimulation: