Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.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_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001526/0.001526, allocations: 182.3 kB / 13.64 MB, free: 1.676 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.607/1.607, allocations: 194.3 MB / 208.4 MB, free: 6.695 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.00168/0.00168, allocations: 116.7 kB / 253.5 MB, free: 9.57 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.228e-05/3.231e-05, allocations: 0 / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1041, allocations: 44.5 MB / 349.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.584/1.688, allocations: 0.5788 GB / 0.9201 GB, free: 118.9 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/1.689, allocations: 72.52 kB / 0.9201 GB, free: 118.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.087/1.776, allocations: 41.61 MB / 0.9608 GB, free: 77.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.402e-06/1.776, allocations: 3.938 kB / 0.9608 GB, free: 77.13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.794e-06/1.776, allocations: 0 / 0.9608 GB, free: 77.13 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.0005928/1.776, allocations: 438.2 kB / 0.9612 GB, free: 76.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/1.777, allocations: 16.03 kB / 0.9612 GB, free: 76.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/1.778, allocations: 88.41 kB / 0.9613 GB, free: 76.56 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/1.778, allocations: 198.9 kB / 0.9615 GB, free: 76.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/1.778, allocations: 0 / 0.9615 GB, free: 76.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/1.778, allocations: 8 kB / 0.9615 GB, free: 76.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/1.778, allocations: 71.31 kB / 0.9616 GB, free: 76.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/1.778, allocations: 4 kB / 0.9616 GB, free: 76.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/1.778, allocations: 0 / 0.9616 GB, free: 76.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/1.778, allocations: 0 / 0.9616 GB, free: 76.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.115e-05/1.778, allocations: 23.98 kB / 0.9616 GB, free: 76.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000198/1.778, allocations: 191.1 kB / 0.9618 GB, free: 75.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003417/1.779, allocations: 101.2 kB / 0.9619 GB, free: 75.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.631e-05/1.779, allocations: 33.72 kB / 0.9619 GB, free: 75.81 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007054/1.779, allocations: 1.376 MB / 0.9632 GB, free: 74.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.603e-05/1.779, allocations: 38.5 kB / 0.9633 GB, free: 74.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/1.779, allocations: 0 / 0.9633 GB, free: 74.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002098/1.78, allocations: 73.66 kB / 0.9634 GB, free: 74.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/1.78, allocations: 85.05 kB / 0.9634 GB, free: 73.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/1.78, allocations: 125.2 kB / 0.9636 GB, free: 73.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/1.78, allocations: 33.69 kB / 0.9636 GB, free: 73.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.596e-05/1.78, allocations: 84.12 kB / 0.9637 GB, free: 73.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/1.78, allocations: 23.66 kB / 0.9637 GB, free: 73.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.434e-06/1.78, allocations: 0 / 0.9637 GB, free: 73.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.252e-05/1.78, allocations: 318.8 kB / 0.964 GB, free: 73.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.181e-05/1.78, allocations: 16 kB / 0.964 GB, free: 73.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.014e-05/1.78, allocations: 51.48 kB / 0.9641 GB, free: 73.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.253e-05/1.78, allocations: 19.98 kB / 0.9641 GB, free: 73.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/1.78, allocations: 0 / 0.9641 GB, free: 73.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001667/1.78, allocations: 85.52 kB / 0.9642 GB, free: 73.13 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/1.78, allocations: 11.94 kB / 0.9642 GB, free: 73.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/1.78, allocations: 0 / 0.9642 GB, free: 73.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/1.78, allocations: 0 / 0.9642 GB, free: 73.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/1.781, allocations: 28.03 kB / 0.9642 GB, free: 73.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/1.781, allocations: 0 / 0.9642 GB, free: 73.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/1.781, allocations: 15.95 kB / 0.9642 GB, free: 73.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/1.781, allocations: 4 kB / 0.9642 GB, free: 73.07 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 () * 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.326e-05/1.781, allocations: 101 kB / 0.9643 GB, free: 72.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/1.781, allocations: 15.89 kB / 0.9643 GB, free: 72.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002649/1.781, allocations: 109.5 kB / 0.9644 GB, free: 72.83 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/1.781, allocations: 3.938 kB / 0.9644 GB, free: 72.83 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/1.781, allocations: 0 / 0.9644 GB, free: 72.83 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/1.781, allocations: 7.984 kB / 0.9644 GB, free: 72.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/1.781, allocations: 173.5 kB / 0.9646 GB, free: 72.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/1.781, allocations: 3.984 kB / 0.9646 GB, free: 72.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/1.782, allocations: 15.98 kB / 0.9646 GB, free: 72.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/1.782, allocations: 0 / 0.9646 GB, free: 72.58 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/1.782, allocations: 4.281 kB / 0.9646 GB, free: 72.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/1.782, allocations: 3.938 kB / 0.9646 GB, free: 72.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/1.782, allocations: 4 kB / 0.9646 GB, free: 72.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/1.782, allocations: 151.5 kB / 0.9648 GB, free: 72.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-05/1.782, allocations: 93.03 kB / 0.9649 GB, free: 72.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.261e-05/1.782, allocations: 7.984 kB / 0.9649 GB, free: 72.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/1.782, allocations: 0 / 0.9649 GB, free: 72.28 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.609e-05/1.782, allocations: 12.05 kB / 0.9649 GB, free: 72.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/1.782, allocations: 7.953 kB / 0.9649 GB, free: 72.26 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.486e-05/1.782, allocations: 107.3 kB / 0.965 GB, free: 72.15 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.01e-07/1.782, allocations: 0 / 0.965 GB, free: 72.15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007431/1.783, allocations: 211.7 kB / 0.9652 GB, free: 71.95 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 () * 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.001349/1.784, allocations: 0.8288 MB / 0.966 GB, free: 71.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001489/1.785, allocations: 51.86 kB / 0.9661 GB, free: 71.06 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.785, allocations: 0 / 0.9661 GB, free: 71.06 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.978e-05/1.785, allocations: 23.98 kB / 0.9661 GB, free: 71.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/1.785, allocations: 15.98 kB / 0.9661 GB, free: 71.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004564/1.785, allocations: 222.4 kB / 0.9663 GB, free: 70.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/1.785, allocations: 0.6926 MB / 0.967 GB, free: 70.05 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001757/1.786, allocations: 43.75 kB / 0.967 GB, free: 70.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.238e-05/1.786, allocations: 35.34 kB / 0.9671 GB, free: 69.98 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/1.786, allocations: 0 / 0.9671 GB, free: 69.98 MB / 410.7 MB Notification: Performance of Templates: time 0.01436/1.8, allocations: 12.74 MB / 0.9795 GB, free: 57.21 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1)