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.0009439/0.0009439, allocations: 156.1 kB / 7.633 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.244/1.244, allocations: 170.7 MB / 178.7 MB, free: 7.039 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.001631/0.001631, allocations: 106.5 kB / 218 MB, free: 15.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.794e-05/1.804e-05, allocations: 4 kB / 262.2 MB, free: 3.062 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2609, allocations: 38.76 MB / 301 MB, free: 39.1 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.581/1.842, allocations: 0.73 GB / 1.024 GB, free: 99.23 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/1.843, allocations: 75.95 kB / 1.024 GB, free: 99.15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1549/1.998, allocations: 76.39 MB / 1.099 GB, free: 21.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.283e-06/1.998, allocations: 0 / 1.099 GB, free: 21.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.817e-06/1.998, allocations: 0 / 1.099 GB, free: 21.96 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.0008513/1.999, allocations: 462.1 kB / 1.099 GB, free: 21.47 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/1.999, allocations: 16.02 kB / 1.099 GB, free: 21.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003078/1.999, allocations: 39.8 kB / 1.099 GB, free: 21.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/1.999, allocations: 187 kB / 1.099 GB, free: 21.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/1.999, allocations: 4 kB / 1.099 GB, free: 21.19 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/1.999, allocations: 7.906 kB / 1.099 GB, free: 21.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.346e-05/1.999, allocations: 47.89 kB / 1.099 GB, free: 21.13 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/1.999, allocations: 67.38 kB / 1.099 GB, free: 21.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/1.999, allocations: 0 / 1.099 GB, free: 21.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/1.999, allocations: 0 / 1.099 GB, free: 21.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/1.999, allocations: 0 / 1.099 GB, free: 21.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001758/2, allocations: 171 kB / 1.1 GB, free: 20.85 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002541/2, allocations: 117.2 kB / 1.1 GB, free: 20.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.375e-05/2, allocations: 32.02 kB / 1.1 GB, free: 20.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003774/2, allocations: 145 kB / 1.1 GB, free: 20.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.546e-05/2, allocations: 30.56 kB / 1.1 GB, free: 20.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/2, allocations: 0 / 1.1 GB, free: 20.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0008851/2.001, allocations: 181.5 kB / 1.1 GB, free: 20.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/2.001, allocations: 77.11 kB / 1.1 GB, free: 20.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/2.001, allocations: 128.9 kB / 1.1 GB, free: 20.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/2.001, allocations: 25.7 kB / 1.1 GB, free: 20.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.686e-05/2.001, allocations: 88.14 kB / 1.1 GB, free: 19.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/2.002, allocations: 19.7 kB / 1.1 GB, free: 19.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-06/2.002, allocations: 0 / 1.1 GB, free: 19.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.187e-05/2.002, allocations: 318.8 kB / 1.101 GB, free: 19.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.264e-05/2.002, allocations: 23.97 kB / 1.101 GB, free: 19.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.876e-05/2.002, allocations: 43.42 kB / 1.101 GB, free: 19.53 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005648/2.002, allocations: 123.8 kB / 1.101 GB, free: 19.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/2.002, allocations: 0 / 1.101 GB, free: 19.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006642/2.003, allocations: 209.4 kB / 1.101 GB, free: 19.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/2.003, allocations: 4 kB / 1.101 GB, free: 19.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/2.003, allocations: 0 / 1.101 GB, free: 19.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/2.003, allocations: 7.938 kB / 1.101 GB, free: 19.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.351e-05/2.003, allocations: 15.98 kB / 1.101 GB, free: 19.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/2.003, allocations: 0 / 1.101 GB, free: 19.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.224e-05/2.003, allocations: 11.84 kB / 1.101 GB, free: 19.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/2.003, allocations: 9.094 kB / 1.101 GB, free: 19.15 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 () * 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.306e-05/2.003, allocations: 105 kB / 1.101 GB, free: 19.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.031e-05/2.003, allocations: 7.953 kB / 1.101 GB, free: 19.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007205/2.004, allocations: 213.7 kB / 1.101 GB, free: 18.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/2.004, allocations: 0 / 1.101 GB, free: 18.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/2.004, allocations: 0 / 1.101 GB, free: 18.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/2.004, allocations: 0 / 1.101 GB, free: 18.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/2.004, allocations: 154.2 kB / 1.102 GB, free: 18.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/2.004, allocations: 0 / 1.102 GB, free: 18.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.603e-05/2.004, allocations: 31.92 kB / 1.102 GB, free: 18.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/2.004, allocations: 0 / 1.102 GB, free: 18.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/2.004, allocations: 4.562 kB / 1.102 GB, free: 18.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/2.004, allocations: 4.109 kB / 1.102 GB, free: 18.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/2.004, allocations: 0 / 1.102 GB, free: 18.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007682/2.005, allocations: 263.4 kB / 1.102 GB, free: 18.31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.856e-05/2.005, allocations: 101.2 kB / 1.102 GB, free: 18.19 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/2.005, allocations: 3.953 kB / 1.102 GB, free: 18.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.717e-05/2.005, allocations: 6.625 kB / 1.102 GB, free: 18.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.57e-05/2.005, allocations: 4 kB / 1.102 GB, free: 18.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/2.005, allocations: 7.984 kB / 1.102 GB, free: 18.17 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.603e-05/2.005, allocations: 107.6 kB / 1.102 GB, free: 18.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.11e-07/2.005, allocations: 0 / 1.102 GB, free: 18.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0013/2.007, allocations: 259.6 kB / 1.102 GB, free: 17.81 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 () * 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.002889/2.01, allocations: 1.04 MB / 1.103 GB, free: 16.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001362/2.01, allocations: 55.92 kB / 1.103 GB, free: 16.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/2.01, allocations: 4.125 kB / 1.103 GB, free: 16.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.735e-05/2.01, allocations: 27.92 kB / 1.103 GB, free: 16.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/2.01, allocations: 22.8 kB / 1.103 GB, free: 16.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004264/2.011, allocations: 244.8 kB / 1.104 GB, free: 16.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/2.011, allocations: 0.6963 MB / 1.104 GB, free: 15.67 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.408e-05/2.011, allocations: 16.27 kB / 1.104 GB, free: 15.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.828e-05/2.011, allocations: 15.44 kB / 1.104 GB, free: 15.64 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/2.011, allocations: 0 / 1.104 GB, free: 15.64 MB / 362.7 MB Notification: Performance of Templates: time 0.01252/2.023, allocations: 8.509 MB / 1.113 GB, free: 7.125 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)