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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001523/0.001523, allocations: 194.2 kB / 16.13 MB, free: 6.668 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.334/1.334, allocations: 205.1 MB / 222 MB, free: 4.73 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.001086/0.001086, allocations: 51.92 kB / 278 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1832, allocations: 46.63 MB / 324.7 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002013/0.1852, allocations: 1.415 MB / 326.1 MB, free: 0.8164 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.3192/0.5045, allocations: 148.1 MB / 474.2 MB, free: 0.8125 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.905e-05/0.5046, allocations: 4 kB / 474.2 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.811e-05/0.5046, allocations: 1.094 kB / 474.2 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007602/0.5054, allocations: 207.8 kB / 474.4 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.5066, allocations: 0.524 MB / 474.9 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.94e-05/0.5067, allocations: 57.94 kB / 475 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.622e-05/0.5067, allocations: 1.875 kB / 475 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.555e-05/0.5068, allocations: 23.91 kB / 475 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.144e-05/0.5069, allocations: 29.98 kB / 475 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.5069, allocations: 3.156 kB / 475 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001112/0.508, allocations: 0.7891 MB / 475.8 MB, free: 0.7617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.356e-05/0.508, allocations: 8.688 kB / 475.8 MB, free: 0.7617 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.446e-05/0.5081, allocations: 32.77 kB / 475.9 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007517/0.5088, allocations: 0.6088 MB / 476.5 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.5088, allocations: 0 / 476.5 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5088, allocations: 4.516 kB / 476.5 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.5088, allocations: 0 / 476.5 MB, free: 0.7305 MB / 382.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.0005417/0.5094, allocations: 443.7 kB / 476.9 MB, free: 16.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.5094, allocations: 8.438 kB / 476.9 MB, free: 16.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.5105, allocations: 104.9 kB / 477 MB, free: 16.31 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.5108, allocations: 223.5 kB / 477.2 MB, free: 16.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.5108, allocations: 3.938 kB / 477.3 MB, free: 16.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.5109, allocations: 8.156 kB / 477.3 MB, free: 16.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.5111, allocations: 90.83 kB / 477.3 MB, free: 16.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.5111, allocations: 0 / 477.3 MB, free: 16.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.5111, allocations: 4 kB / 477.4 MB, free: 16.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.5111, allocations: 2.094 kB / 477.4 MB, free: 16.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.5113, allocations: 47.8 kB / 477.4 MB, free: 16.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002113/0.5115, allocations: 209.2 kB / 477.6 MB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004483/0.512, allocations: 133.3 kB / 477.7 MB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.5121, allocations: 35.55 kB / 477.8 MB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005574/0.5127, allocations: 0.9859 MB / 478.8 MB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.5127, allocations: 32.88 kB / 478.8 MB, free: 14.62 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 2.415e-06/0.5127, allocations: 0 / 478.8 MB, free: 14.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004966/0.5132, allocations: 134.2 kB / 478.9 MB, free: 14.58 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.5133, allocations: 80.92 kB / 479 MB, free: 14.49 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/0.5135, allocations: 156.5 kB / 479.2 MB, free: 14.39 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.5135, allocations: 33.78 kB / 479.2 MB, free: 14.36 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.58e-05/0.5136, allocations: 80.14 kB / 479.3 MB, free: 14.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.73e-05/0.5136, allocations: 21 kB / 479.3 MB, free: 14.26 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.346e-05/0.5137, allocations: 35.23 kB / 479.3 MB, free: 14.24 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.712e-05/0.5138, allocations: 317.5 kB / 479.6 MB, free: 13.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.5139, allocations: 32.95 kB / 479.7 MB, free: 13.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.514, allocations: 51 kB / 479.7 MB, free: 13.89 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/0.5142, allocations: 95.19 kB / 479.8 MB, free: 13.86 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.5142, allocations: 3.938 kB / 479.8 MB, free: 13.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003251/0.5145, allocations: 111.5 kB / 479.9 MB, free: 13.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.5146, allocations: 9.109 kB / 479.9 MB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.5146, allocations: 1.094 kB / 479.9 MB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.5146, allocations: 2.625 kB / 479.9 MB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.5147, allocations: 22.45 kB / 479.9 MB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.5148, allocations: 1.969 kB / 480 MB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.515, allocations: 10.98 kB / 480 MB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.515, allocations: 9.969 kB / 480 MB, free: 13.82 MB / 398.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 8.91e-05/0.5151, allocations: 120.1 kB / 480.1 MB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.108e-05/0.5151, allocations: 6.781 kB / 480.1 MB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005778/0.5157, allocations: 236.9 kB / 480.3 MB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.5157, allocations: 0 / 480.3 MB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5158, allocations: 4.891 kB / 480.3 MB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.5158, allocations: 7.125 kB / 480.3 MB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.5159, allocations: 219.6 kB / 480.6 MB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.516, allocations: 0 / 480.6 MB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/0.5161, allocations: 22.95 kB / 480.6 MB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.5161, allocations: 0 / 480.6 MB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.5162, allocations: 10.64 kB / 480.6 MB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.5162, allocations: 0 / 480.6 MB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5162, allocations: 2.438 kB / 480.6 MB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004004/0.5166, allocations: 173 kB / 480.8 MB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.371e-05/0.5167, allocations: 92.88 kB / 480.8 MB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.182e-05/0.5167, allocations: 3.594 kB / 480.9 MB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.5169, allocations: 12.86 kB / 480.9 MB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.517, allocations: 9 kB / 480.9 MB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.948e-06/0.517, allocations: 2.219 kB / 480.9 MB, free: 13.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001462/0.5171, allocations: 130.4 kB / 481 MB, free: 13.2 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5171, allocations: 0 / 481 MB, free: 13.2 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005204/0.5177, allocations: 170 kB / 481.2 MB, free: 13.17 MB / 398.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.0007391/0.5184, allocations: 405.8 kB / 481.6 MB, free: 13 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002654/0.5187, allocations: 78.92 kB / 481.6 MB, free: 13 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.5187, allocations: 0 / 481.6 MB, free: 13 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.5188, allocations: 40.64 kB / 481.7 MB, free: 13 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.519, allocations: 21.52 kB / 481.7 MB, free: 13 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005783/0.5196, allocations: 312.1 kB / 482 MB, free: 12.76 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.5199, allocations: 0.6917 MB / 482.7 MB, free: 12.06 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004857/0.5204, allocations: 430.9 kB / 483.1 MB, free: 12.03 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.5205, allocations: 43.94 kB / 483.2 MB, free: 12.02 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.5205, allocations: 1.094 kB / 483.2 MB, free: 12.02 MB / 398.1 MB Notification: Performance of Templates: time 0.008599/0.5291, allocations: 5.976 MB / 489.1 MB, free: 11.39 MB / 398.1 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)