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.001287/0.001287, allocations: 179.2 kB / 16.38 MB, free: 5.766 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.493/1.493, allocations: 194.5 MB / 211.6 MB, free: 3.039 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.001712/0.001712, allocations: 103.5 kB / 256.9 MB, free: 4.375 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000363/0.0003629, allocations: 12 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1029, allocations: 44.49 MB / 355.1 MB, free: 2.355 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.549/1.652, allocations: 0.7439 GB / 1.091 GB, free: 75.2 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/1.652, allocations: 75.95 kB / 1.091 GB, free: 75.13 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3225/1.975, allocations: 78.07 MB / 1.167 GB, free: 122.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.332e-06/1.975, allocations: 0 / 1.167 GB, free: 122.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.533e-06/1.975, allocations: 0 / 1.167 GB, free: 122.3 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.0007826/1.976, allocations: 495.3 kB / 1.167 GB, free: 121.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/1.976, allocations: 10.47 kB / 1.167 GB, free: 121.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002521/1.976, allocations: 31.05 kB / 1.167 GB, free: 121.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/1.976, allocations: 195.9 kB / 1.168 GB, free: 121.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/1.976, allocations: 7.594 kB / 1.168 GB, free: 121.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/1.976, allocations: 3.469 kB / 1.168 GB, free: 121.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/1.976, allocations: 79.94 kB / 1.168 GB, free: 121.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/1.976, allocations: 0 / 1.168 GB, free: 121.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/1.976, allocations: 2.719 kB / 1.168 GB, free: 121.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/1.976, allocations: 0 / 1.168 GB, free: 121.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/1.977, allocations: 49.11 kB / 1.168 GB, free: 121.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002059/1.977, allocations: 189.8 kB / 1.168 GB, free: 121.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000315/1.977, allocations: 127.9 kB / 1.168 GB, free: 121.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003865/1.977, allocations: 132.6 kB / 1.168 GB, free: 121.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/1.978, allocations: 36.28 kB / 1.168 GB, free: 121.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.482e-06/1.978, allocations: 0 / 1.168 GB, free: 121.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003681/1.978, allocations: 124.2 kB / 1.168 GB, free: 121.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/1.978, allocations: 84.42 kB / 1.168 GB, free: 121.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/1.978, allocations: 128.6 kB / 1.169 GB, free: 121.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/1.978, allocations: 25.7 kB / 1.169 GB, free: 121.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/1.978, allocations: 87.23 kB / 1.169 GB, free: 121 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.669e-05/1.978, allocations: 26.81 kB / 1.169 GB, free: 121 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/1.978, allocations: 0 / 1.169 GB, free: 121 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.021e-05/1.978, allocations: 324.8 kB / 1.169 GB, free: 120.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.89e-05/1.978, allocations: 22.67 kB / 1.169 GB, free: 120.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.825e-05/1.978, allocations: 53.56 kB / 1.169 GB, free: 120.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.177e-05/1.979, allocations: 32.2 kB / 1.169 GB, free: 120.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/1.979, allocations: 6.531 kB / 1.169 GB, free: 120.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002136/1.979, allocations: 116.8 kB / 1.169 GB, free: 120.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/1.979, allocations: 5.188 kB / 1.169 GB, free: 120.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/1.979, allocations: 3.938 kB / 1.169 GB, free: 120.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/1.979, allocations: 0 / 1.169 GB, free: 120.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.773e-05/1.979, allocations: 18.77 kB / 1.169 GB, free: 120.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/1.979, allocations: 3.969 kB / 1.169 GB, free: 120.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.895e-05/1.979, allocations: 9.344 kB / 1.169 GB, free: 120.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/1.979, allocations: 3.906 kB / 1.169 GB, free: 120.6 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 () * 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 7.027e-05/1.979, allocations: 117.3 kB / 1.169 GB, free: 120.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.481e-05/1.979, allocations: 15.59 kB / 1.169 GB, free: 120.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002705/1.979, allocations: 129 kB / 1.169 GB, free: 120.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/1.979, allocations: 0 / 1.169 GB, free: 120.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/1.979, allocations: 0 / 1.169 GB, free: 120.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/1.979, allocations: 3.969 kB / 1.169 GB, free: 120.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/1.98, allocations: 187.1 kB / 1.17 GB, free: 120.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.98, allocations: 0.6562 kB / 1.17 GB, free: 120.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.585e-05/1.98, allocations: 16.75 kB / 1.17 GB, free: 120.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/1.98, allocations: 6.734 kB / 1.17 GB, free: 120.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/1.98, allocations: 5.719 kB / 1.17 GB, free: 120.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/1.98, allocations: 3.844 kB / 1.17 GB, free: 120.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/1.98, allocations: 0 / 1.17 GB, free: 120.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/1.98, allocations: 179.4 kB / 1.17 GB, free: 120.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.028e-05/1.98, allocations: 107.5 kB / 1.17 GB, free: 120.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/1.98, allocations: 3.906 kB / 1.17 GB, free: 120.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.266e-05/1.98, allocations: 6.375 kB / 1.17 GB, free: 120.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/1.98, allocations: 7.844 kB / 1.17 GB, free: 120.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.427e-06/1.98, allocations: 3.938 kB / 1.17 GB, free: 120.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.469e-05/1.98, allocations: 110.2 kB / 1.17 GB, free: 120 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.5e-07/1.98, allocations: 0 / 1.17 GB, free: 120 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009634/1.981, allocations: 259.4 kB / 1.17 GB, free: 119.9 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 () * 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.001736/1.983, allocations: 0.9561 MB / 1.171 GB, free: 119.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001873/1.983, allocations: 64.53 kB / 1.171 GB, free: 119.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/1.983, allocations: 4.969 kB / 1.171 GB, free: 119.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.752e-05/1.983, allocations: 25.53 kB / 1.171 GB, free: 119.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/1.984, allocations: 27.08 kB / 1.171 GB, free: 119.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005131/1.984, allocations: 375 kB / 1.172 GB, free: 119.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/1.984, allocations: 0.6873 MB / 1.172 GB, free: 118.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.188e-05/1.984, allocations: 24.64 kB / 1.172 GB, free: 118.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.335e-05/1.984, allocations: 17.72 kB / 1.172 GB, free: 118.9 MB / 410.7 MB Notification: Performance of SimCode: time 2.21e-07/1.984, allocations: 0 / 1.172 GB, free: 118.9 MB / 410.7 MB Notification: Performance of Templates: time 0.02235/2.007, allocations: 12.96 MB / 1.185 GB, free: 118.1 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)