Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 176.2 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 223.3 MB / 241.4 MB, free: 10 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009933/0.0009933, allocations: 88.33 kB / 292.6 MB, free: 10.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003186/0.0003187, allocations: 11.94 kB / 352.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2577, allocations: 50.4 MB / 402.7 MB, free: 32.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.106/1.364, allocations: 498.5 MB / 0.8801 GB, free: 164.8 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/1.364, allocations: 74.66 kB / 0.8802 GB, free: 164.7 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.064/1.428, allocations: 31.12 MB / 0.9106 GB, free: 133.7 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.514e-06/1.428, allocations: 4 kB / 0.9106 GB, free: 133.7 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.03e-05/1.428, allocations: 0 / 0.9106 GB, free: 133.7 MB / 458.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.0005923/1.429, allocations: 435.1 kB / 0.911 GB, free: 133.2 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/1.429, allocations: 12.03 kB / 0.911 GB, free: 133.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009397/1.43, allocations: 92.7 kB / 0.9111 GB, free: 133.1 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/1.43, allocations: 220.3 kB / 0.9113 GB, free: 132.8 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/1.43, allocations: 384 / 0.9113 GB, free: 132.8 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.895e-05/1.43, allocations: 4.312 kB / 0.9113 GB, free: 132.8 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/1.43, allocations: 95.89 kB / 0.9114 GB, free: 132.7 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/1.43, allocations: 192 / 0.9114 GB, free: 132.7 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/1.43, allocations: 3.938 kB / 0.9114 GB, free: 132.7 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/1.43, allocations: 7.984 kB / 0.9114 GB, free: 132.7 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/1.431, allocations: 43.89 kB / 0.9115 GB, free: 132.7 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002527/1.431, allocations: 214.7 kB / 0.9117 GB, free: 132.4 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004322/1.431, allocations: 125.1 kB / 0.9118 GB, free: 132.3 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.701e-05/1.431, allocations: 33.77 kB / 0.9118 GB, free: 132.2 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007207/1.432, allocations: 1.639 MB / 0.9134 GB, free: 130.2 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/1.432, allocations: 38.5 kB / 0.9135 GB, free: 130.2 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/1.432, allocations: 0 / 0.9135 GB, free: 130.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004203/1.433, allocations: 137.5 kB / 0.9136 GB, free: 130 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/1.433, allocations: 77.11 kB / 0.9137 GB, free: 129.9 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/1.433, allocations: 157.8 kB / 0.9138 GB, free: 129.8 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/1.433, allocations: 25.7 kB / 0.9138 GB, free: 129.7 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.6e-05/1.433, allocations: 84.14 kB / 0.9139 GB, free: 129.7 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.709e-05/1.433, allocations: 23.64 kB / 0.9139 GB, free: 129.6 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.075e-06/1.433, allocations: 4 kB / 0.9139 GB, free: 129.6 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.839e-05/1.433, allocations: 314.8 kB / 0.9142 GB, free: 129.3 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.494e-05/1.433, allocations: 31.91 kB / 0.9143 GB, free: 129.3 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.986e-05/1.433, allocations: 51.41 kB / 0.9143 GB, free: 129.2 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/1.433, allocations: 83.34 kB / 0.9144 GB, free: 129.1 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/1.433, allocations: 4 kB / 0.9144 GB, free: 129.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002695/1.434, allocations: 121.5 kB / 0.9145 GB, free: 129 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/1.434, allocations: 11.94 kB / 0.9145 GB, free: 129 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/1.434, allocations: 3.938 kB / 0.9145 GB, free: 129 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/1.434, allocations: 0 / 0.9145 GB, free: 129 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/1.434, allocations: 23.97 kB / 0.9146 GB, free: 129 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/1.434, allocations: 0 / 0.9146 GB, free: 129 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/1.434, allocations: 8.469 kB / 0.9146 GB, free: 128.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/1.434, allocations: 7.984 kB / 0.9146 GB, free: 128.9 MB / 458.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 () * Number of clocked 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.436e-05/1.434, allocations: 117.9 kB / 0.9147 GB, free: 128.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/1.434, allocations: 7.906 kB / 0.9147 GB, free: 128.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005194/1.435, allocations: 253 kB / 0.9149 GB, free: 128.6 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/1.435, allocations: 4 kB / 0.9149 GB, free: 128.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.435, allocations: 0 / 0.9149 GB, free: 128.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/1.435, allocations: 0 / 0.9149 GB, free: 128.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/1.435, allocations: 211.1 kB / 0.9151 GB, free: 128.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/1.435, allocations: 4 kB / 0.9151 GB, free: 128.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/1.435, allocations: 31.91 kB / 0.9152 GB, free: 128.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/1.435, allocations: 0 / 0.9152 GB, free: 128.3 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/1.435, allocations: 3.938 kB / 0.9152 GB, free: 128.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/1.435, allocations: 0 / 0.9152 GB, free: 128.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.435, allocations: 8.453 kB / 0.9152 GB, free: 128.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003441/1.435, allocations: 177.8 kB / 0.9154 GB, free: 128.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.137e-05/1.435, allocations: 97.02 kB / 0.9154 GB, free: 127.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.135e-05/1.436, allocations: 7.938 kB / 0.9155 GB, free: 127.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/1.436, allocations: 7.984 kB / 0.9155 GB, free: 127.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/1.436, allocations: 4 kB / 0.9155 GB, free: 127.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/1.436, allocations: 3.984 kB / 0.9155 GB, free: 127.9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001282/1.436, allocations: 143.4 kB / 0.9156 GB, free: 127.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.436, allocations: 0 / 0.9156 GB, free: 127.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006103/1.437, allocations: 171.8 kB / 0.9158 GB, free: 127.6 MB / 458.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * 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.001278/1.438, allocations: 0.71 MB / 0.9165 GB, free: 126.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002566/1.438, allocations: 79.81 kB / 0.9165 GB, free: 126.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/1.438, allocations: 0 / 0.9165 GB, free: 126.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001291/1.438, allocations: 35.98 kB / 0.9166 GB, free: 126.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/1.438, allocations: 14.48 kB / 0.9166 GB, free: 126.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005345/1.439, allocations: 365.7 kB / 0.9169 GB, free: 126.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/1.439, allocations: 0.6888 MB / 0.9176 GB, free: 125.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004986/1.44, allocations: 427 kB / 0.918 GB, free: 125.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/1.44, allocations: 43.33 kB / 0.9181 GB, free: 125.2 MB / 458.7 MB Notification: Performance of SimCode: time 6.62e-07/1.44, allocations: 4 kB / 0.9181 GB, free: 125.2 MB / 458.7 MB Notification: Performance of Templates: time 0.01429/1.454, allocations: 11.42 MB / 0.9292 GB, free: 113.8 MB / 458.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1)