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.008103/0.008103, allocations: 98.22 kB / 15.73 MB, free: 6.008 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.001902/0.001902, allocations: 192.2 kB / 16.67 MB, free: 5.938 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.527/1.527, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.001103/0.001103, allocations: 49.36 kB / 326.5 MB, free: 14.61 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08021/0.08132, allocations: 46.62 MB / 373.2 MB, free: 1.465 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.001999/0.08335, allocations: 1.35 MB / 374.5 MB, free: 108 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.3909/0.4743, allocations: 150.4 MB / 0.5126 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.542e-05/0.4744, allocations: 0 / 0.5126 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.505e-05/0.4745, allocations: 11.92 kB / 0.5126 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009288/0.4754, allocations: 237.8 kB / 0.5128 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001664/0.4771, allocations: 0.6298 MB / 0.5134 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 9.991e-05/0.4772, allocations: 52.02 kB / 0.5135 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.164e-05/0.4773, allocations: 2.469 kB / 0.5135 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.281e-05/0.4773, allocations: 32.09 kB / 0.5135 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.614e-05/0.4774, allocations: 27.72 kB / 0.5135 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.4774, allocations: 2.094 kB / 0.5135 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001672/0.4791, allocations: 0.882 MB / 0.5144 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.575e-05/0.4791, allocations: 10.47 kB / 0.5144 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.403e-05/0.4792, allocations: 22.23 kB / 0.5144 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.4804, allocations: 0.6082 MB / 0.515 GB, free: 3.301 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.4805, allocations: 0 / 0.515 GB, free: 3.301 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4805, allocations: 4 kB / 0.515 GB, free: 3.297 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.4805, allocations: 0 / 0.515 GB, free: 3.297 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.0007421/0.4812, allocations: 461.1 kB / 0.5155 GB, free: 2.848 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.4813, allocations: 7.688 kB / 0.5155 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/0.4824, allocations: 92.17 kB / 0.5156 GB, free: 2.805 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.4827, allocations: 221.3 kB / 0.5158 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.4827, allocations: 9.156 kB / 0.5158 GB, free: 2.566 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.2e-05/0.4828, allocations: 2.656 kB / 0.5158 GB, free: 2.566 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002382/0.483, allocations: 89.27 kB / 0.5159 GB, free: 2.484 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.483, allocations: 5.75 kB / 0.5159 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.4831, allocations: 3.984 kB / 0.5159 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.4831, allocations: 0 / 0.5159 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.4833, allocations: 46.98 kB / 0.5159 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002442/0.4835, allocations: 205 kB / 0.5161 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004843/0.484, allocations: 120.8 kB / 0.5162 GB, free: 2.129 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.4842, allocations: 44.78 kB / 0.5163 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006313/0.4848, allocations: 0.9891 MB / 0.5172 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.4848, allocations: 33.62 kB / 0.5173 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.4848, allocations: 0 / 0.5173 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004823/0.4853, allocations: 134.5 kB / 0.5174 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.4854, allocations: 77.11 kB / 0.5175 GB, free: 0.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.4856, allocations: 157.5 kB / 0.5176 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.4856, allocations: 28.36 kB / 0.5177 GB, free: 0.543 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.277e-05/0.4857, allocations: 88.12 kB / 0.5177 GB, free: 464 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.291e-05/0.4857, allocations: 24.58 kB / 0.5178 GB, free: 444 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.946e-05/0.4858, allocations: 26.97 kB / 0.5178 GB, free: 416 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.486, allocations: 321.2 kB / 0.5181 GB, free: 88 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.4861, allocations: 31 kB / 0.5181 GB, free: 72 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.4862, allocations: 53.33 kB / 0.5182 GB, free: 24 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002741/0.4865, allocations: 87.77 kB / 0.5183 GB, free: 15.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.4865, allocations: 7.875 kB / 0.5183 GB, free: 15.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003561/0.4869, allocations: 126.9 kB / 0.5184 GB, free: 15.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.4869, allocations: 5.375 kB / 0.5184 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.4869, allocations: 1.125 kB / 0.5184 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.4869, allocations: 2.375 kB / 0.5184 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.4871, allocations: 22.69 kB / 0.5184 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.4871, allocations: 3.938 kB / 0.5184 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/0.4873, allocations: 13.42 kB / 0.5184 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.4873, allocations: 4.75 kB / 0.5184 GB, free: 15.84 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 0.0001047/0.4874, allocations: 124.2 kB / 0.5186 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.006e-05/0.4875, allocations: 5.984 kB / 0.5186 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005811/0.4881, allocations: 235.7 kB / 0.5188 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.4881, allocations: 6.062 kB / 0.5188 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.4881, allocations: 2.531 kB / 0.5188 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4881, allocations: 0 / 0.5188 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.4883, allocations: 218 kB / 0.519 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.4883, allocations: 0 / 0.519 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/0.4885, allocations: 28.06 kB / 0.519 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.4885, allocations: 2.812 kB / 0.519 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.4885, allocations: 0 / 0.519 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.4886, allocations: 6.266 kB / 0.519 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4886, allocations: 0 / 0.519 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004301/0.489, allocations: 188.2 kB / 0.5192 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.042e-05/0.4891, allocations: 91.98 kB / 0.5193 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.66e-05/0.4891, allocations: 2.781 kB / 0.5193 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.4893, allocations: 2.094 kB / 0.5193 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.883e-05/0.4893, allocations: 6.391 kB / 0.5193 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.4894, allocations: 6.906 kB / 0.5193 GB, free: 15.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001745/0.4895, allocations: 139.1 kB / 0.5195 GB, free: 14.94 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4896, allocations: 0 / 0.5195 GB, free: 14.94 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005343/0.4901, allocations: 168.8 kB / 0.5196 GB, free: 14.9 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.000869/0.491, allocations: 388.7 kB / 0.52 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002916/0.4913, allocations: 75.78 kB / 0.5201 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4913, allocations: 0 / 0.5201 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.4914, allocations: 42.84 kB / 0.5201 GB, free: 14.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.4916, allocations: 15.66 kB / 0.5201 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005444/0.4922, allocations: 304.2 kB / 0.5204 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.4924, allocations: 0.6895 MB / 0.5211 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004893/0.4929, allocations: 438.9 kB / 0.5215 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.4931, allocations: 42.69 kB / 0.5215 GB, free: 13.42 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4931, allocations: 0 / 0.5215 GB, free: 13.42 MB / 414.1 MB Notification: Performance of Templates: time 0.009955/0.503, allocations: 6.12 MB / 0.5275 GB, free: 8.254 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)