Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 1.026/1.026, allocations: 110.8 MB / 118.3 MB, free: 14.47 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001853/0.001852, allocations: 171.3 kB / 144 MB, free: 4.793 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.414e-05/1.416e-05, allocations: 4 kB / 173.8 MB, free: 22.81 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04972/0.04975, allocations: 25.18 MB / 199 MB, free: 13.71 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8196/0.8694, allocations: 360.9 MB / 0.5468 GB, free: 61.46 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002046/0.8697, allocations: 59.69 kB / 0.5469 GB, free: 61.45 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09698/0.9667, allocations: 47.86 MB / 0.5936 GB, free: 18.34 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.9667, allocations: 0 / 0.5936 GB, free: 18.34 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.565e-06/0.9667, allocations: 4 kB / 0.5936 GB, free: 18.33 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005396/0.9673, allocations: 434.2 kB / 0.594 GB, free: 17.86 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.9673, allocations: 15.91 kB / 0.594 GB, free: 17.85 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.9674, allocations: 8.531 kB / 0.5941 GB, free: 17.84 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.9675, allocations: 179 kB / 0.5942 GB, free: 17.62 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.9675, allocations: 0 / 0.5942 GB, free: 17.62 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.9675, allocations: 4 kB / 0.5942 GB, free: 17.62 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.437e-05/0.9676, allocations: 15.94 kB / 0.5942 GB, free: 17.61 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.784e-05/0.9677, allocations: 55.41 kB / 0.5943 GB, free: 17.54 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.9677, allocations: 0 / 0.5943 GB, free: 17.54 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.9677, allocations: 7.984 kB / 0.5943 GB, free: 17.53 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.9677, allocations: 0 / 0.5943 GB, free: 17.53 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001264/0.9679, allocations: 159 kB / 0.5945 GB, free: 17.34 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.9681, allocations: 69.31 kB / 0.5945 GB, free: 17.25 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.952e-05/0.9681, allocations: 21.78 kB / 0.5945 GB, free: 17.22 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006802/0.9688, allocations: 1.629 MB / 0.5961 GB, free: 15.25 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.429e-05/0.9688, allocations: 34.5 kB / 0.5962 GB, free: 15.2 MB / 234.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.9688, allocations: 0 / 0.5962 GB, free: 15.2 MB / 234.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006117/0.9694, allocations: 153.5 kB / 0.5963 GB, free: 15.05 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.279e-05/0.9695, allocations: 81.11 kB / 0.5964 GB, free: 14.95 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.973e-05/0.9695, allocations: 105 kB / 0.5965 GB, free: 14.84 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.9696, allocations: 25.7 kB / 0.5965 GB, free: 14.81 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.984e-05/0.9696, allocations: 88.14 kB / 0.5966 GB, free: 14.72 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.9696, allocations: 15.8 kB / 0.5966 GB, free: 14.7 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.9696, allocations: 4 kB / 0.5966 GB, free: 14.7 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 4.34e-05/0.9697, allocations: 318.8 kB / 0.5969 GB, free: 14.38 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.912e-05/0.9697, allocations: 4 kB / 0.5969 GB, free: 14.38 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.256e-05/0.9697, allocations: 21.72 kB / 0.5969 GB, free: 14.35 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004255/0.9702, allocations: 111.9 kB / 0.5971 GB, free: 14.24 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.9702, allocations: 4 kB / 0.5971 GB, free: 14.23 MB / 234.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000475/0.9707, allocations: 157.4 kB / 0.5972 GB, free: 14.07 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.9707, allocations: 4 kB / 0.5972 GB, free: 14.07 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.9707, allocations: 4 kB / 0.5972 GB, free: 14.07 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.9707, allocations: 192 / 0.5972 GB, free: 14.07 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.208e-05/0.9708, allocations: 16.05 kB / 0.5972 GB, free: 14.05 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.9708, allocations: 8 kB / 0.5972 GB, free: 14.04 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.188e-05/0.9709, allocations: 3.938 kB / 0.5972 GB, free: 14.04 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.9709, allocations: 4 kB / 0.5972 GB, free: 14.04 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 4.685e-05/0.9709, allocations: 112.9 kB / 0.5974 GB, free: 13.92 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.652e-05/0.971, allocations: 15.84 kB / 0.5974 GB, free: 13.9 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006666/0.9716, allocations: 205.7 kB / 0.5976 GB, free: 13.69 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.9716, allocations: 4 kB / 0.5976 GB, free: 13.69 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.9717, allocations: 0 / 0.5976 GB, free: 13.69 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.9717, allocations: 0 / 0.5976 GB, free: 13.69 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.916e-05/0.9717, allocations: 154.1 kB / 0.5977 GB, free: 13.5 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.9718, allocations: 4 kB / 0.5977 GB, free: 13.5 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.981e-05/0.9718, allocations: 15.92 kB / 0.5977 GB, free: 13.48 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.9718, allocations: 4 kB / 0.5977 GB, free: 13.48 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.9719, allocations: 4 kB / 0.5977 GB, free: 13.47 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.9719, allocations: 3.953 kB / 0.5977 GB, free: 13.47 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.9719, allocations: 0 / 0.5977 GB, free: 13.47 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005317/0.9724, allocations: 211.6 kB / 0.5979 GB, free: 13.23 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.244e-05/0.9725, allocations: 96.98 kB / 0.598 GB, free: 13.12 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.9725, allocations: 3.953 kB / 0.598 GB, free: 13.12 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.428e-05/0.9725, allocations: 7.984 kB / 0.5981 GB, free: 13.11 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.9726, allocations: 7.938 kB / 0.5981 GB, free: 13.1 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.9726, allocations: 3.984 kB / 0.5981 GB, free: 13.1 MB / 234.7 MB Notification: Performance of sorting global known variables: time 2.932e-05/0.9726, allocations: 91.67 kB / 0.5982 GB, free: 13.01 MB / 234.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.9726, allocations: 0 / 0.5982 GB, free: 13.01 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0005672/0.9732, allocations: 211.7 kB / 0.5984 GB, free: 12.8 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.001098/0.9743, allocations: 0.8745 MB / 0.5992 GB, free: 11.91 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 9.217e-05/0.9744, allocations: 35.92 kB / 0.5992 GB, free: 11.88 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.9744, allocations: 0 / 0.5992 GB, free: 11.88 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 4.223e-05/0.9745, allocations: 20 kB / 0.5993 GB, free: 11.86 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.9747, allocations: 28.91 kB / 0.5993 GB, free: 11.83 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002522/0.975, allocations: 104.6 kB / 0.5994 GB, free: 11.7 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.9751, allocations: 0.6885 MB / 0.6001 GB, free: 10.99 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.000114/0.9752, allocations: 39.84 kB / 0.6001 GB, free: 10.95 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.628e-05/0.9753, allocations: 23.44 kB / 0.6001 GB, free: 10.93 MB / 234.7 MB Notification: Performance of SimCode: time 2.3e-07/0.9753, allocations: 0 / 0.6001 GB, free: 10.93 MB / 234.7 MB Notification: Performance of Templates: time 0.009551/0.9848, allocations: 6.914 MB / 0.6069 GB, free: 4.016 MB / 234.7 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1)