Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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.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.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0052/0.0052, allocations: 101.3 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002047/0.002047, allocations: 189.7 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 205.1 MB / 222.5 MB, free: 4.395 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 54.33 kB / 326.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07559/0.07693, allocations: 46.61 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002364/0.07933, allocations: 1.35 MB / 374.5 MB, free: 15.95 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3356/0.415, allocations: 150.4 MB / 0.5126 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.632e-05/0.4151, allocations: 0 / 0.5126 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.481e-05/0.4152, allocations: 7.922 kB / 0.5126 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008858/0.416, allocations: 242.6 kB / 0.5128 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001599/0.4177, allocations: 0.6241 MB / 0.5134 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.4178, allocations: 55.78 kB / 0.5135 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.923e-05/0.4178, allocations: 2.094 kB / 0.5135 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.692e-05/0.4179, allocations: 28.2 kB / 0.5135 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.162e-05/0.418, allocations: 27.81 kB / 0.5135 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.418, allocations: 6.062 kB / 0.5135 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/0.4196, allocations: 0.8903 MB / 0.5144 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.4196, allocations: 7.984 kB / 0.5144 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.601e-05/0.4197, allocations: 32.3 kB / 0.5144 GB, free: 3.613 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.4207, allocations: 0.5903 MB / 0.515 GB, free: 3.289 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4207, allocations: 0 / 0.515 GB, free: 3.289 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4208, allocations: 0.8438 kB / 0.515 GB, free: 3.289 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.4208, allocations: 0 / 0.515 GB, free: 3.289 MB / 398.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.0006225/0.4214, allocations: 453.7 kB / 0.5155 GB, free: 2.848 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.4214, allocations: 7.688 kB / 0.5155 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.4225, allocations: 99.89 kB / 0.5156 GB, free: 2.797 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002854/0.4228, allocations: 213.7 kB / 0.5158 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.4228, allocations: 7.938 kB / 0.5158 GB, free: 2.566 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.953e-05/0.4229, allocations: 2.125 kB / 0.5158 GB, free: 2.566 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.4231, allocations: 97.31 kB / 0.5159 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.4231, allocations: 11.23 kB / 0.5159 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.4231, allocations: 0 / 0.5159 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.4231, allocations: 0 / 0.5159 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/0.4233, allocations: 42.3 kB / 0.5159 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002431/0.4236, allocations: 208.8 kB / 0.5161 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000478/0.424, allocations: 128.8 kB / 0.5162 GB, free: 2.113 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.4242, allocations: 41.09 kB / 0.5163 GB, free: 2.082 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006438/0.4248, allocations: 0.9843 MB / 0.5172 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.4248, allocations: 33.47 kB / 0.5173 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.163e-06/0.4249, allocations: 6.625 kB / 0.5173 GB, free: 0.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004684/0.4253, allocations: 131.8 kB / 0.5174 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.4254, allocations: 77.11 kB / 0.5175 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.4256, allocations: 155.9 kB / 0.5176 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/0.4256, allocations: 29.69 kB / 0.5176 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.751e-05/0.4257, allocations: 86.27 kB / 0.5177 GB, free: 456 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.895e-05/0.4257, allocations: 22.28 kB / 0.5178 GB, free: 436 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.203e-05/0.4258, allocations: 33.16 kB / 0.5178 GB, free: 404 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.4259, allocations: 321.2 kB / 0.5181 GB, free: 76 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.426, allocations: 24.62 kB / 0.5181 GB, free: 64 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.4262, allocations: 54.38 kB / 0.5182 GB, free: 16 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002486/0.4264, allocations: 89.62 kB / 0.5183 GB, free: 15.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.4264, allocations: 3.938 kB / 0.5183 GB, free: 15.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003413/0.4268, allocations: 118.5 kB / 0.5184 GB, free: 15.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.4268, allocations: 5.375 kB / 0.5184 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.4268, allocations: 2.5 kB / 0.5184 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.4268, allocations: 0 / 0.5184 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.427, allocations: 27.38 kB / 0.5184 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.427, allocations: 6.625 kB / 0.5184 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.4272, allocations: 12.7 kB / 0.5184 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.4272, allocations: 6.156 kB / 0.5184 GB, free: 15.83 MB / 414.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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.92e-05/0.4273, allocations: 116.3 kB / 0.5185 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.029e-05/0.4274, allocations: 10.73 kB / 0.5185 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005887/0.428, allocations: 237.5 kB / 0.5188 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.428, allocations: 3.312 kB / 0.5188 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.428, allocations: 0 / 0.5188 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.428, allocations: 3.984 kB / 0.5188 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.4282, allocations: 213.2 kB / 0.519 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.4282, allocations: 3.719 kB / 0.519 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.4284, allocations: 32.19 kB / 0.519 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.4284, allocations: 2.875 kB / 0.519 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.4284, allocations: 6.172 kB / 0.519 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.4284, allocations: 0 / 0.519 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4284, allocations: 2.906 kB / 0.519 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004219/0.4289, allocations: 182 kB / 0.5192 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.863e-05/0.429, allocations: 93.97 kB / 0.5193 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.507e-05/0.429, allocations: 4 kB / 0.5193 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.4292, allocations: 9.188 kB / 0.5193 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.453e-05/0.4292, allocations: 6.547 kB / 0.5193 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.4292, allocations: 6.359 kB / 0.5193 GB, free: 15.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001533/0.4294, allocations: 128.1 kB / 0.5194 GB, free: 14.94 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4294, allocations: 0 / 0.5194 GB, free: 14.94 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004764/0.4299, allocations: 169.8 kB / 0.5196 GB, free: 14.89 MB / 414.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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007918/0.4307, allocations: 397.9 kB / 0.52 GB, free: 14.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002797/0.431, allocations: 73.78 kB / 0.5201 GB, free: 14.63 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.431, allocations: 6.344 kB / 0.5201 GB, free: 14.63 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.4311, allocations: 40.09 kB / 0.5201 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.4313, allocations: 16.09 kB / 0.5201 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005582/0.4319, allocations: 308.8 kB / 0.5204 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.4322, allocations: 0.6887 MB / 0.5211 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005349/0.4327, allocations: 431.1 kB / 0.5215 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.4329, allocations: 39.64 kB / 0.5215 GB, free: 13.41 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4329, allocations: 0 / 0.5215 GB, free: 13.41 MB / 414.1 MB Notification: Performance of Templates: time 0.01019/0.4431, allocations: 6.127 MB / 0.5275 GB, free: 8.164 MB / 414.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & ./Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1)