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.001404/0.001404, allocations: 188.5 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.649/1.649, allocations: 194.3 MB / 203.1 MB, free: 9.324 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001619/0.001619, allocations: 118.6 kB / 248.1 MB, free: 6.344 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.966e-05/1.968e-05, allocations: 0 / 298.1 MB, free: 8.262 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1144, allocations: 44.5 MB / 342.6 MB, free: 11.66 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.483/1.598, allocations: 0.5782 GB / 0.9127 GB, free: 49.31 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/1.598, allocations: 75.95 kB / 0.9128 GB, free: 49.24 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.08556/1.683, allocations: 41.04 MB / 0.9529 GB, free: 8.215 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.613e-06/1.684, allocations: 0 / 0.9529 GB, free: 8.215 MB / 395.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/1.684, allocations: 0 / 0.9529 GB, free: 8.215 MB / 395.1 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.0005588/1.684, allocations: 438.2 kB / 0.9533 GB, free: 7.742 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/1.684, allocations: 12.03 kB / 0.9533 GB, free: 7.73 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007813/1.685, allocations: 96.39 kB / 0.9534 GB, free: 7.637 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/1.685, allocations: 190.9 kB / 0.9536 GB, free: 7.41 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/1.685, allocations: 3.984 kB / 0.9536 GB, free: 7.406 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/1.685, allocations: 5.875 kB / 0.9536 GB, free: 7.402 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.59e-05/1.685, allocations: 27.98 kB / 0.9536 GB, free: 7.375 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/1.685, allocations: 71.38 kB / 0.9537 GB, free: 7.293 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/1.685, allocations: 0 / 0.9537 GB, free: 7.293 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/1.685, allocations: 0 / 0.9537 GB, free: 7.293 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/1.685, allocations: 0 / 0.9537 GB, free: 7.293 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001677/1.686, allocations: 167.6 kB / 0.9538 GB, free: 7.09 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000299/1.686, allocations: 97.2 kB / 0.9539 GB, free: 6.977 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.855e-05/1.686, allocations: 21.78 kB / 0.9539 GB, free: 6.949 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006111/1.687, allocations: 1.377 MB / 0.9553 GB, free: 5.277 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.601e-05/1.687, allocations: 38.56 kB / 0.9553 GB, free: 5.23 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 1.954e-06/1.687, allocations: 0 / 0.9553 GB, free: 5.23 MB / 395.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005594/1.687, allocations: 145.5 kB / 0.9555 GB, free: 5.082 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.428e-05/1.687, allocations: 77.11 kB / 0.9555 GB, free: 4.988 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/1.687, allocations: 125 kB / 0.9557 GB, free: 4.859 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/1.687, allocations: 25.7 kB / 0.9557 GB, free: 4.828 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.492e-05/1.687, allocations: 88.12 kB / 0.9558 GB, free: 4.738 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/1.687, allocations: 23.66 kB / 0.9558 GB, free: 4.715 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.274e-06/1.687, allocations: 0 / 0.9558 GB, free: 4.715 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 6.291e-05/1.687, allocations: 322.8 kB / 0.9561 GB, free: 4.391 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.904e-05/1.687, allocations: 17.12 kB / 0.9561 GB, free: 4.375 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.27e-05/1.688, allocations: 52.92 kB / 0.9562 GB, free: 4.312 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003622/1.688, allocations: 91.89 kB / 0.9562 GB, free: 4.223 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.688, allocations: 3.938 kB / 0.9563 GB, free: 4.219 MB / 395.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004335/1.688, allocations: 161.4 kB / 0.9564 GB, free: 4.055 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/1.688, allocations: 4 kB / 0.9564 GB, free: 4.051 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/1.688, allocations: 3.984 kB / 0.9564 GB, free: 4.047 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/1.688, allocations: 4 kB / 0.9564 GB, free: 4.043 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/1.689, allocations: 16.05 kB / 0.9564 GB, free: 4.027 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/1.689, allocations: 4 kB / 0.9564 GB, free: 4.023 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/1.689, allocations: 4 kB / 0.9564 GB, free: 4.02 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/1.689, allocations: 7.984 kB / 0.9564 GB, free: 4.012 MB / 395.1 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.346e-05/1.689, allocations: 114.5 kB / 0.9566 GB, free: 3.895 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.129e-05/1.689, allocations: 7.906 kB / 0.9566 GB, free: 3.887 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000538/1.689, allocations: 190 kB / 0.9567 GB, free: 3.695 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/1.689, allocations: 0 / 0.9567 GB, free: 3.695 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/1.689, allocations: 0 / 0.9567 GB, free: 3.695 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/1.689, allocations: 0 / 0.9567 GB, free: 3.695 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/1.689, allocations: 160.8 kB / 0.9569 GB, free: 3.504 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/1.689, allocations: 0 / 0.9569 GB, free: 3.504 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/1.69, allocations: 15.98 kB / 0.9569 GB, free: 3.488 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/1.69, allocations: 4 kB / 0.9569 GB, free: 3.484 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/1.69, allocations: 0 / 0.9569 GB, free: 3.484 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/1.69, allocations: 0 / 0.9569 GB, free: 3.484 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.69, allocations: 0 / 0.9569 GB, free: 3.484 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005142/1.69, allocations: 223.4 kB / 0.9571 GB, free: 3.238 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.749e-05/1.69, allocations: 93.02 kB / 0.9572 GB, free: 3.129 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.082e-05/1.69, allocations: 0 / 0.9572 GB, free: 3.129 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/1.69, allocations: 4 kB / 0.9572 GB, free: 3.125 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/1.69, allocations: 7.984 kB / 0.9572 GB, free: 3.117 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/1.69, allocations: 4.062 kB / 0.9572 GB, free: 3.113 MB / 395.1 MB Notification: Performance of sorting global known variables: time 5.627e-05/1.691, allocations: 112.8 kB / 0.9573 GB, free: 3.004 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.691, allocations: 0 / 0.9573 GB, free: 3.004 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0006725/1.691, allocations: 207.7 kB / 0.9575 GB, free: 2.801 MB / 395.1 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.001301/1.693, allocations: 0.9171 MB / 0.9584 GB, free: 1.898 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001227/1.693, allocations: 43.92 kB / 0.9585 GB, free: 1.855 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/1.693, allocations: 0 / 0.9585 GB, free: 1.855 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 3.679e-05/1.693, allocations: 27.92 kB / 0.9585 GB, free: 1.828 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/1.693, allocations: 12.98 kB / 0.9585 GB, free: 1.816 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004374/1.693, allocations: 226.2 kB / 0.9587 GB, free: 1.562 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/1.693, allocations: 0.6924 MB / 0.9594 GB, free: 0.8438 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.0001816/1.694, allocations: 31.97 kB / 0.9594 GB, free: 0.8125 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.788e-05/1.694, allocations: 35.34 kB / 0.9595 GB, free: 0.7773 MB / 395.1 MB Notification: Performance of SimCode: time 2.61e-07/1.694, allocations: 0 / 0.9595 GB, free: 0.7773 MB / 395.1 MB Notification: Performance of Templates: time 0.2579/1.952, allocations: 7.194 MB / 0.9665 GB, free: 104.6 MB / 395.1 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)