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.00212/0.00212, allocations: 187.8 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.649/1.649, allocations: 194.3 MB / 203.1 MB, free: 9.316 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001677/0.001677, allocations: 120.9 kB / 248.1 MB, free: 6.34 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 2.016e-05/2.017e-05, allocations: 4 kB / 298.1 MB, free: 8.25 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1001, allocations: 44.49 MB / 342.6 MB, free: 11.66 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.825/1.925, allocations: 0.7431 GB / 1.078 GB, free: 28.03 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/1.926, allocations: 75.95 kB / 1.078 GB, free: 27.95 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.3819/2.308, allocations: 76.9 MB / 1.153 GB, free: 102.8 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.064e-06/2.308, allocations: 0 / 1.153 GB, free: 102.8 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.114e-05/2.308, allocations: 0 / 1.153 GB, free: 102.8 MB / 395.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.001233/2.309, allocations: 474.6 kB / 1.153 GB, free: 102.3 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/2.309, allocations: 14.62 kB / 1.153 GB, free: 102.3 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004329/2.31, allocations: 33.92 kB / 1.153 GB, free: 102.3 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/2.31, allocations: 193.8 kB / 1.154 GB, free: 102.1 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/2.31, allocations: 1.719 kB / 1.154 GB, free: 102.1 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/2.31, allocations: 3.719 kB / 1.154 GB, free: 102.1 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001019/2.31, allocations: 36.89 kB / 1.154 GB, free: 102.1 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/2.31, allocations: 74.19 kB / 1.154 GB, free: 102 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/2.31, allocations: 0 / 1.154 GB, free: 102 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/2.31, allocations: 3.953 kB / 1.154 GB, free: 102 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/2.31, allocations: 5.969 kB / 1.154 GB, free: 102 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002435/2.31, allocations: 165.2 kB / 1.154 GB, free: 101.8 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000303/2.311, allocations: 113.8 kB / 1.154 GB, free: 101.8 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.293e-05/2.311, allocations: 33.44 kB / 1.154 GB, free: 101.7 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004269/2.311, allocations: 137.8 kB / 1.154 GB, free: 101.6 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/2.311, allocations: 30.56 kB / 1.154 GB, free: 101.6 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/2.311, allocations: 0 / 1.154 GB, free: 101.6 MB / 395.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008686/2.312, allocations: 186.5 kB / 1.154 GB, free: 101.5 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/2.312, allocations: 81.11 kB / 1.154 GB, free: 101.4 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/2.312, allocations: 128.2 kB / 1.154 GB, free: 101.3 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/2.312, allocations: 25.7 kB / 1.155 GB, free: 101.3 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.597e-05/2.312, allocations: 91.66 kB / 1.155 GB, free: 101.2 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.89e-05/2.312, allocations: 15.66 kB / 1.155 GB, free: 101.1 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.251e-06/2.312, allocations: 0 / 1.155 GB, free: 101.1 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 8.693e-05/2.313, allocations: 326.3 kB / 1.155 GB, free: 100.8 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.942e-05/2.313, allocations: 22.02 kB / 1.155 GB, free: 100.8 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.272e-05/2.313, allocations: 54.22 kB / 1.155 GB, free: 100.8 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006237/2.313, allocations: 116.9 kB / 1.155 GB, free: 100.7 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/2.313, allocations: 3.938 kB / 1.155 GB, free: 100.7 MB / 395.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006902/2.314, allocations: 191.7 kB / 1.155 GB, free: 100.6 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/2.314, allocations: 3.781 kB / 1.155 GB, free: 100.6 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/2.314, allocations: 5 kB / 1.155 GB, free: 100.6 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/2.314, allocations: 4.062 kB / 1.155 GB, free: 100.6 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.861e-05/2.314, allocations: 27.23 kB / 1.155 GB, free: 100.6 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/2.314, allocations: 4 kB / 1.155 GB, free: 100.6 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.089e-05/2.314, allocations: 3.969 kB / 1.155 GB, free: 100.6 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/2.314, allocations: 7.484 kB / 1.155 GB, free: 100.6 MB / 395.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 () * 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.899e-05/2.314, allocations: 112.7 kB / 1.155 GB, free: 100.5 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.072e-05/2.314, allocations: 7.875 kB / 1.155 GB, free: 100.5 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000739/2.315, allocations: 207.1 kB / 1.156 GB, free: 100.4 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/2.315, allocations: 4 kB / 1.156 GB, free: 100.4 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/2.315, allocations: 3.375 kB / 1.156 GB, free: 100.4 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/2.315, allocations: 3.984 kB / 1.156 GB, free: 100.4 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/2.315, allocations: 153 kB / 1.156 GB, free: 100.2 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/2.315, allocations: 1.312 kB / 1.156 GB, free: 100.2 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.483e-05/2.315, allocations: 15.55 kB / 1.156 GB, free: 100.2 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/2.315, allocations: 0 / 1.156 GB, free: 100.2 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/2.315, allocations: 7.781 kB / 1.156 GB, free: 100.2 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/2.315, allocations: 3.938 kB / 1.156 GB, free: 100.2 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/2.315, allocations: 0 / 1.156 GB, free: 100.2 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007629/2.316, allocations: 264.1 kB / 1.156 GB, free: 100 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.927e-05/2.316, allocations: 104.3 kB / 1.156 GB, free: 99.91 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/2.316, allocations: 0 / 1.156 GB, free: 99.91 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.755e-05/2.316, allocations: 3.969 kB / 1.156 GB, free: 99.91 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.766e-05/2.317, allocations: 7.359 kB / 1.156 GB, free: 99.91 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/2.317, allocations: 3.969 kB / 1.156 GB, free: 99.91 MB / 395.1 MB Notification: Performance of sorting global known variables: time 6.644e-05/2.317, allocations: 114 kB / 1.156 GB, free: 99.81 MB / 395.1 MB Notification: Performance of sort global known variables: time 2.91e-07/2.317, allocations: 0 / 1.156 GB, free: 99.81 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.001302/2.318, allocations: 258.8 kB / 1.157 GB, free: 99.71 MB / 395.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 () * 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.003059/2.321, allocations: 1.057 MB / 1.158 GB, free: 99.27 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001989/2.321, allocations: 53.23 kB / 1.158 GB, free: 99.26 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/2.321, allocations: 2.969 kB / 1.158 GB, free: 99.26 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 4.477e-05/2.321, allocations: 30.2 kB / 1.158 GB, free: 99.25 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/2.322, allocations: 23.03 kB / 1.158 GB, free: 99.23 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000502/2.322, allocations: 233.2 kB / 1.158 GB, free: 99.02 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001965/2.322, allocations: 0.6961 MB / 1.159 GB, free: 98.32 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 7.96e-05/2.322, allocations: 25.78 kB / 1.159 GB, free: 98.3 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.54e-05/2.322, allocations: 13.81 kB / 1.159 GB, free: 98.29 MB / 395.1 MB Notification: Performance of SimCode: time 2.61e-07/2.322, allocations: 0 / 1.159 GB, free: 98.29 MB / 395.1 MB Notification: Performance of Templates: time 0.0147/2.337, allocations: 8.519 MB / 1.167 GB, free: 93.86 MB / 395.1 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)