Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.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.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0014/0.0014, allocations: 170.5 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.321/1.321, allocations: 170.6 MB / 183.8 MB, free: 11.49 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001769/0.001768, allocations: 107.4 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.617e-05/2.62e-05, allocations: 7.984 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07036/0.0704, allocations: 38.77 MB / 307.6 MB, free: 14.14 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.308/1.378, allocations: 0.5731 GB / 0.8736 GB, free: 19.05 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/1.379, allocations: 71.66 kB / 0.8736 GB, free: 19.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.318/1.697, allocations: 41.58 MB / 0.9142 GB, free: 120.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.322e-06/1.697, allocations: 3.969 kB / 0.9142 GB, free: 120.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.614e-06/1.697, allocations: 2.562 kB / 0.9142 GB, free: 120.3 MB / 362.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.0007271/1.697, allocations: 445.1 kB / 0.9147 GB, free: 119.9 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/1.697, allocations: 8.531 kB / 0.9147 GB, free: 119.9 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008273/1.698, allocations: 92.02 kB / 0.9148 GB, free: 119.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/1.699, allocations: 189.1 kB / 0.9149 GB, free: 119.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/1.699, allocations: 2.922 kB / 0.9149 GB, free: 119.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/1.699, allocations: 5.625 kB / 0.9149 GB, free: 119.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/1.699, allocations: 73.47 kB / 0.915 GB, free: 119.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/1.699, allocations: 0 / 0.915 GB, free: 119.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/1.699, allocations: 0 / 0.915 GB, free: 119.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/1.699, allocations: 5.219 kB / 0.915 GB, free: 119.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.419e-05/1.699, allocations: 29.42 kB / 0.915 GB, free: 119.6 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002334/1.699, allocations: 195.4 kB / 0.9152 GB, free: 119.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003202/1.699, allocations: 97.42 kB / 0.9153 GB, free: 119.4 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.651e-05/1.699, allocations: 24.44 kB / 0.9154 GB, free: 119.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007703/1.7, allocations: 1.384 MB / 0.9167 GB, free: 117.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/1.7, allocations: 37.38 kB / 0.9167 GB, free: 117.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/1.7, allocations: 0 / 0.9167 GB, free: 117.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002285/1.701, allocations: 82.73 kB / 0.9168 GB, free: 117.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/1.701, allocations: 83.02 kB / 0.9169 GB, free: 117.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/1.701, allocations: 123.3 kB / 0.917 GB, free: 117.6 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/1.701, allocations: 25.7 kB / 0.917 GB, free: 117.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.359e-05/1.701, allocations: 88.64 kB / 0.9171 GB, free: 117.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.382e-05/1.701, allocations: 27.05 kB / 0.9172 GB, free: 117.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-06/1.701, allocations: 0 / 0.9172 GB, free: 117.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.252e-05/1.701, allocations: 313 kB / 0.9174 GB, free: 117.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.677e-05/1.701, allocations: 17.86 kB / 0.9175 GB, free: 117.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.833e-05/1.701, allocations: 46.19 kB / 0.9175 GB, free: 117.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.225e-05/1.701, allocations: 26.45 kB / 0.9175 GB, free: 117.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.701, allocations: 0 / 0.9175 GB, free: 117.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001558/1.701, allocations: 90.2 kB / 0.9176 GB, free: 117.1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/1.701, allocations: 7.688 kB / 0.9176 GB, free: 117.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/1.701, allocations: 0 / 0.9176 GB, free: 117.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/1.701, allocations: 2.578 kB / 0.9176 GB, free: 117.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/1.701, allocations: 22.45 kB / 0.9177 GB, free: 117.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/1.701, allocations: 3.953 kB / 0.9177 GB, free: 117.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/1.702, allocations: 13.61 kB / 0.9177 GB, free: 117.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/1.702, allocations: 3.969 kB / 0.9177 GB, free: 117.1 MB / 362.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 6.581e-05/1.702, allocations: 114.9 kB / 0.9178 GB, free: 117 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.93e-05/1.702, allocations: 0 / 0.9178 GB, free: 117 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002694/1.702, allocations: 116.7 kB / 0.9179 GB, free: 116.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/1.702, allocations: 0 / 0.9179 GB, free: 116.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.702, allocations: 0 / 0.9179 GB, free: 116.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/1.702, allocations: 7.469 kB / 0.9179 GB, free: 116.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/1.702, allocations: 177.2 kB / 0.9181 GB, free: 116.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/1.702, allocations: 4.125 kB / 0.9181 GB, free: 116.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/1.702, allocations: 14.03 kB / 0.9181 GB, free: 116.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/1.702, allocations: 0 / 0.9181 GB, free: 116.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/1.702, allocations: 11.16 kB / 0.9181 GB, free: 116.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/1.702, allocations: 0 / 0.9181 GB, free: 116.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/1.702, allocations: 0 / 0.9181 GB, free: 116.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/1.703, allocations: 146.1 kB / 0.9182 GB, free: 116.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.355e-05/1.703, allocations: 91.97 kB / 0.9183 GB, free: 116.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/1.703, allocations: 0 / 0.9183 GB, free: 116.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/1.703, allocations: 10.59 kB / 0.9183 GB, free: 116.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.604e-05/1.703, allocations: 20.3 kB / 0.9184 GB, free: 116.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/1.703, allocations: 3.469 kB / 0.9184 GB, free: 116.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001121/1.703, allocations: 112.9 kB / 0.9185 GB, free: 116.4 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.703, allocations: 0 / 0.9185 GB, free: 116.4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008262/1.704, allocations: 214.7 kB / 0.9187 GB, free: 116.4 MB / 362.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.001529/1.705, allocations: 0.8255 MB / 0.9195 GB, free: 116.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001472/1.706, allocations: 49.12 kB / 0.9195 GB, free: 116.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.706, allocations: 4.125 kB / 0.9195 GB, free: 116.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.781e-05/1.706, allocations: 27.55 kB / 0.9196 GB, free: 116.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/1.706, allocations: 6.906 kB / 0.9196 GB, free: 116.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004902/1.706, allocations: 228.9 kB / 0.9198 GB, free: 116 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001854/1.707, allocations: 0.6927 MB / 0.9205 GB, free: 115.3 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000197/1.707, allocations: 49.58 kB / 0.9205 GB, free: 115.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.583e-05/1.707, allocations: 24.28 kB / 0.9205 GB, free: 115.3 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/1.707, allocations: 2 kB / 0.9205 GB, free: 115.3 MB / 362.7 MB Notification: Performance of Templates: time 0.01699/1.724, allocations: 12.74 MB / 0.933 GB, free: 111.1 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1)