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.001245/0.001246, allocations: 164.5 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.38/1.38, allocations: 170.7 MB / 178.7 MB, free: 15.64 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.001738/0.001739, allocations: 103.5 kB / 218 MB, free: 8.406 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.869e-05/1.869e-05, allocations: 4 kB / 262.2 MB, free: 26.39 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07714/0.07717, allocations: 38.77 MB / 301 MB, free: 3.637 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.452/1.529, allocations: 0.5725 GB / 0.8664 GB, free: 98.08 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003454/1.53, allocations: 73.81 kB / 0.8665 GB, free: 98.08 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08811/1.618, allocations: 41.03 MB / 0.9065 GB, free: 66.62 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.874e-06/1.618, allocations: 3.938 kB / 0.9065 GB, free: 66.62 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.454e-06/1.618, allocations: 8 kB / 0.9065 GB, free: 66.61 MB / 346.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.0006705/1.619, allocations: 434.2 kB / 0.907 GB, free: 66.14 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/1.619, allocations: 16.02 kB / 0.907 GB, free: 66.12 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008736/1.62, allocations: 88.41 kB / 0.9071 GB, free: 66.04 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/1.62, allocations: 190.9 kB / 0.9072 GB, free: 65.81 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/1.62, allocations: 0 / 0.9072 GB, free: 65.81 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/1.62, allocations: 3.984 kB / 0.9072 GB, free: 65.81 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.657e-05/1.62, allocations: 31.95 kB / 0.9073 GB, free: 65.78 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/1.62, allocations: 63.38 kB / 0.9073 GB, free: 65.7 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/1.62, allocations: 0 / 0.9073 GB, free: 65.7 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/1.62, allocations: 0 / 0.9073 GB, free: 65.7 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/1.62, allocations: 4 kB / 0.9073 GB, free: 65.7 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001812/1.62, allocations: 170.9 kB / 0.9075 GB, free: 65.49 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002849/1.621, allocations: 97.16 kB / 0.9076 GB, free: 65.38 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.878e-05/1.621, allocations: 29.77 kB / 0.9076 GB, free: 65.34 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006817/1.621, allocations: 1.384 MB / 0.909 GB, free: 63.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/1.621, allocations: 34.56 kB / 0.909 GB, free: 63.62 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/1.621, allocations: 0 / 0.909 GB, free: 63.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006065/1.622, allocations: 153.4 kB / 0.9092 GB, free: 63.46 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/1.622, allocations: 81.11 kB / 0.9092 GB, free: 63.37 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/1.622, allocations: 117 kB / 0.9093 GB, free: 63.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/1.622, allocations: 29.7 kB / 0.9094 GB, free: 63.21 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.138e-05/1.622, allocations: 80.14 kB / 0.9094 GB, free: 63.13 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/1.622, allocations: 23.66 kB / 0.9095 GB, free: 63.11 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-06/1.622, allocations: 0 / 0.9095 GB, free: 63.11 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.327e-05/1.622, allocations: 318.8 kB / 0.9098 GB, free: 62.79 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.22e-05/1.622, allocations: 16 kB / 0.9098 GB, free: 62.77 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.787e-05/1.622, allocations: 47.42 kB / 0.9098 GB, free: 62.71 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003988/1.623, allocations: 95.83 kB / 0.9099 GB, free: 62.62 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/1.623, allocations: 0 / 0.9099 GB, free: 62.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00047/1.623, allocations: 161.5 kB / 0.9101 GB, free: 62.45 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/1.623, allocations: 4 kB / 0.9101 GB, free: 62.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/1.623, allocations: 8.062 kB / 0.9101 GB, free: 62.44 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/1.623, allocations: 0 / 0.9101 GB, free: 62.44 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/1.623, allocations: 19.98 kB / 0.9101 GB, free: 62.42 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/1.623, allocations: 4 kB / 0.9101 GB, free: 62.42 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/1.624, allocations: 7.906 kB / 0.9101 GB, free: 62.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/1.624, allocations: 3.984 kB / 0.9101 GB, free: 62.41 MB / 346.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.393e-05/1.624, allocations: 112.9 kB / 0.9102 GB, free: 62.29 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/1.624, allocations: 11.95 kB / 0.9102 GB, free: 62.28 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005722/1.624, allocations: 189.6 kB / 0.9104 GB, free: 62.09 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/1.624, allocations: 0 / 0.9104 GB, free: 62.09 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/1.624, allocations: 4 kB / 0.9104 GB, free: 62.08 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/1.624, allocations: 288 / 0.9104 GB, free: 62.08 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/1.624, allocations: 162.5 kB / 0.9106 GB, free: 61.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/1.624, allocations: 0 / 0.9106 GB, free: 61.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/1.625, allocations: 15.98 kB / 0.9106 GB, free: 61.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/1.625, allocations: 0 / 0.9106 GB, free: 61.87 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/1.625, allocations: 15.88 kB / 0.9106 GB, free: 61.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/1.625, allocations: 4 kB / 0.9106 GB, free: 61.85 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.625, allocations: 0 / 0.9106 GB, free: 61.85 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005542/1.625, allocations: 215.5 kB / 0.9108 GB, free: 61.61 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.913e-05/1.625, allocations: 97.03 kB / 0.9109 GB, free: 61.5 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.175e-05/1.625, allocations: 0 / 0.9109 GB, free: 61.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/1.625, allocations: 8.062 kB / 0.9109 GB, free: 61.49 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/1.626, allocations: 3.984 kB / 0.9109 GB, free: 61.49 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/1.626, allocations: 4 kB / 0.9109 GB, free: 61.48 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.668e-05/1.626, allocations: 103.3 kB / 0.911 GB, free: 61.38 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/1.626, allocations: 0 / 0.911 GB, free: 61.38 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007448/1.626, allocations: 215.7 kB / 0.9112 GB, free: 61.17 MB / 346.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.00183/1.628, allocations: 0.909 MB / 0.9121 GB, free: 60.26 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001551/1.628, allocations: 51.91 kB / 0.9122 GB, free: 60.21 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/1.628, allocations: 0 / 0.9122 GB, free: 60.21 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.112e-05/1.628, allocations: 19.98 kB / 0.9122 GB, free: 60.19 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001939/1.629, allocations: 9.672 kB / 0.9122 GB, free: 60.18 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005042/1.629, allocations: 233 kB / 0.9124 GB, free: 59.92 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/1.629, allocations: 0.6885 MB / 0.9131 GB, free: 59.2 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001958/1.629, allocations: 43.91 kB / 0.9131 GB, free: 59.16 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.255e-05/1.63, allocations: 23.42 kB / 0.9132 GB, free: 59.14 MB / 346.7 MB Notification: Performance of SimCode: time 4.3e-07/1.63, allocations: 0 / 0.9132 GB, free: 59.14 MB / 346.7 MB Notification: Performance of Templates: time 0.01085/1.64, allocations: 7.186 MB / 0.9202 GB, free: 51.94 MB / 346.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)