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/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.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/Modelica 3.1.0+maint.om/package.mo): time 1.06/1.06, allocations: 110.8 MB / 123.3 MB, free: 10.75 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001777/0.001777, allocations: 155.4 kB / 149.1 MB, free: 0.9531 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 3.693e-05/3.697e-05, allocations: 4 kB / 180.2 MB, free: 17.57 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07162/0.07167, allocations: 25.18 MB / 205.4 MB, free: 8.438 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.597/1.669, allocations: 0.6794 GB / 0.8799 GB, free: 82.39 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002023/1.669, allocations: 60.25 kB / 0.88 GB, free: 82.39 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1432/1.813, allocations: 72.69 MB / 0.951 GB, free: 15.7 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.512e-06/1.813, allocations: 8 kB / 0.951 GB, free: 15.69 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.953e-06/1.813, allocations: 0 / 0.951 GB, free: 15.69 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006958/1.813, allocations: 466.7 kB / 0.9514 GB, free: 15.19 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/1.813, allocations: 8.031 kB / 0.9514 GB, free: 15.18 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.798e-05/1.813, allocations: 7.906 kB / 0.9514 GB, free: 15.17 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.364e-05/1.813, allocations: 159.1 kB / 0.9516 GB, free: 14.98 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.859e-05/1.814, allocations: 12 kB / 0.9516 GB, free: 14.96 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/1.814, allocations: 11.89 kB / 0.9516 GB, free: 14.95 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/1.814, allocations: 105.6 kB / 0.9517 GB, free: 14.84 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/1.814, allocations: 0 / 0.9517 GB, free: 14.84 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/1.814, allocations: 7.938 kB / 0.9517 GB, free: 14.84 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/1.814, allocations: 0 / 0.9517 GB, free: 14.84 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/1.814, allocations: 111.9 kB / 0.9518 GB, free: 14.73 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005376/1.815, allocations: 372.6 kB / 0.9522 GB, free: 14.31 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/1.815, allocations: 78.66 kB / 0.9523 GB, free: 14.23 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.049e-05/1.815, allocations: 32.78 kB / 0.9523 GB, free: 14.19 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003573/1.815, allocations: 133 kB / 0.9524 GB, free: 14.04 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.278e-05/1.815, allocations: 30.72 kB / 0.9524 GB, free: 14 MB / 234.7 MB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/1.815, allocations: 0 / 0.9524 GB, free: 14 MB / 234.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001813/1.815, allocations: 85.56 kB / 0.9525 GB, free: 13.91 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.138e-05/1.815, allocations: 55.41 kB / 0.9526 GB, free: 13.85 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.386e-05/1.816, allocations: 113.1 kB / 0.9527 GB, free: 13.73 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/1.816, allocations: 25.7 kB / 0.9527 GB, free: 13.7 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.531e-05/1.816, allocations: 103.8 kB / 0.9528 GB, free: 13.59 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/1.816, allocations: 27.64 kB / 0.9528 GB, free: 13.56 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-06/1.816, allocations: 0 / 0.9528 GB, free: 13.56 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 4.498e-05/1.816, allocations: 322.8 kB / 0.9531 GB, free: 13.24 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.169e-05/1.816, allocations: 27.98 kB / 0.9532 GB, free: 13.21 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.501e-05/1.816, allocations: 65.08 kB / 0.9532 GB, free: 13.13 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.101e-05/1.816, allocations: 23.98 kB / 0.9533 GB, free: 13.11 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.816, allocations: 4 kB / 0.9533 GB, free: 13.1 MB / 234.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001645/1.816, allocations: 129.4 kB / 0.9534 GB, free: 12.97 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/1.816, allocations: 4 kB / 0.9534 GB, free: 12.96 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/1.816, allocations: 4 kB / 0.9534 GB, free: 12.96 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/1.816, allocations: 0 / 0.9534 GB, free: 12.96 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/1.816, allocations: 31.92 kB / 0.9534 GB, free: 12.93 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/1.816, allocations: 4 kB / 0.9534 GB, free: 12.93 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.223e-05/1.816, allocations: 16.27 kB / 0.9534 GB, free: 12.91 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/1.816, allocations: 12.12 kB / 0.9535 GB, free: 12.9 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.319e-05/1.816, allocations: 116.9 kB / 0.9536 GB, free: 12.78 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/1.816, allocations: 7.906 kB / 0.9536 GB, free: 12.77 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003221/1.817, allocations: 231.3 kB / 0.9538 GB, free: 12.53 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/1.817, allocations: 0 / 0.9538 GB, free: 12.53 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/1.817, allocations: 128 / 0.9538 GB, free: 12.53 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/1.817, allocations: 0 / 0.9538 GB, free: 12.53 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/1.817, allocations: 221.4 kB / 0.954 GB, free: 12.26 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/1.817, allocations: 0 / 0.954 GB, free: 12.26 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.607e-05/1.817, allocations: 15.98 kB / 0.954 GB, free: 12.25 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/1.817, allocations: 0 / 0.954 GB, free: 12.25 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/1.817, allocations: 0 / 0.954 GB, free: 12.25 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/1.817, allocations: 0 / 0.954 GB, free: 12.25 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/1.817, allocations: 8 kB / 0.954 GB, free: 12.24 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/1.817, allocations: 156.8 kB / 0.9542 GB, free: 12.07 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.369e-05/1.817, allocations: 116.8 kB / 0.9543 GB, free: 11.93 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/1.817, allocations: 4 kB / 0.9543 GB, free: 11.93 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.819e-05/1.817, allocations: 0 / 0.9543 GB, free: 11.93 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/1.817, allocations: 7.984 kB / 0.9543 GB, free: 11.92 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/1.817, allocations: 4 kB / 0.9543 GB, free: 11.92 MB / 234.7 MB Notification: Performance of sorting global known variables: time 9.544e-05/1.817, allocations: 168.5 kB / 0.9545 GB, free: 11.75 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.61e-07/1.817, allocations: 0 / 0.9545 GB, free: 11.75 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0009528/1.818, allocations: 263.8 kB / 0.9547 GB, free: 11.5 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.00151/1.82, allocations: 0.949 MB / 0.9556 GB, free: 10.54 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0002061/1.82, allocations: 87.84 kB / 0.9557 GB, free: 10.45 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.82, allocations: 0 / 0.9557 GB, free: 10.45 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 7.302e-05/1.82, allocations: 47.92 kB / 0.9558 GB, free: 10.41 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/1.821, allocations: 36.06 kB / 0.9558 GB, free: 10.37 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003959/1.821, allocations: 177.3 kB / 0.956 GB, free: 10.18 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001645/1.821, allocations: 0.7121 MB / 0.9567 GB, free: 9.438 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0001314/1.821, allocations: 32.48 kB / 0.9567 GB, free: 9.406 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.464e-05/1.821, allocations: 15.44 kB / 0.9567 GB, free: 9.391 MB / 234.7 MB Notification: Performance of SimCode: time 5.81e-07/1.821, allocations: 0 / 0.9567 GB, free: 9.391 MB / 234.7 MB Notification: Performance of Templates: time 0.1365/1.958, allocations: 15.19 MB / 0.9715 GB, free: 49.98 MB / 234.7 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (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)