Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.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_TX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008298/0.0008299, allocations: 92.06 kB / 16.32 MB, free: 5.621 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.001055/0.001056, allocations: 181.2 kB / 17.21 MB, free: 5.539 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.602/1.602, allocations: 205.4 MB / 223.4 MB, free: 5.551 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.0004929/0.0004931, allocations: 16 kB / 280.1 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2492, allocations: 47.58 MB / 327.7 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001243/0.2505, allocations: 1.081 MB / 328.8 MB, free: 0.5586 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.3978/0.6483, allocations: 136.9 MB / 465.7 MB, free: 1.945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.042e-05/0.6484, allocations: 0.5312 kB / 465.7 MB, free: 1.945 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.779e-05/0.6484, allocations: 1.875 kB / 465.7 MB, free: 1.945 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001272/0.6497, allocations: 248.1 kB / 466 MB, free: 1.934 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002345/0.6521, allocations: 0.5799 MB / 466.5 MB, free: 1.906 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.6523, allocations: 91.12 kB / 466.6 MB, free: 1.902 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.468e-05/0.6523, allocations: 3.344 kB / 466.6 MB, free: 1.902 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.523e-05/0.6524, allocations: 35.77 kB / 466.7 MB, free: 1.902 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.6526, allocations: 38.91 kB / 466.7 MB, free: 1.902 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.6526, allocations: 2.469 kB / 466.7 MB, free: 1.902 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003134/0.6557, allocations: 1.045 MB / 467.7 MB, free: 1.887 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.481e-05/0.6558, allocations: 15.91 kB / 467.8 MB, free: 1.887 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.976e-05/0.6559, allocations: 35.36 kB / 467.8 MB, free: 1.855 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001157/0.657, allocations: 0.5267 MB / 468.3 MB, free: 1.828 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.657, allocations: 0 / 468.3 MB, free: 1.828 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.6571, allocations: 0 / 468.3 MB, free: 1.828 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.6571, allocations: 0 / 468.3 MB, free: 1.828 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.0009799/0.6581, allocations: 469 kB / 468.8 MB, free: 17.4 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.6581, allocations: 8.344 kB / 468.8 MB, free: 17.4 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004407/0.6586, allocations: 36.28 kB / 468.8 MB, free: 17.4 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.6588, allocations: 204.7 kB / 469 MB, free: 17.19 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.6589, allocations: 7.188 kB / 469 MB, free: 17.19 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.6589, allocations: 2.906 kB / 469 MB, free: 17.19 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.6591, allocations: 71.66 kB / 469.1 MB, free: 17.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.6591, allocations: 3.156 kB / 469.1 MB, free: 17.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.6592, allocations: 3.234 kB / 469.1 MB, free: 17.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.6592, allocations: 0.75 kB / 469.1 MB, free: 17.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001427/0.6593, allocations: 41.12 kB / 469.2 MB, free: 17.14 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002584/0.6596, allocations: 199.9 kB / 469.3 MB, free: 16.94 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003877/0.66, allocations: 111.1 kB / 469.5 MB, free: 16.89 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.29e-05/0.6601, allocations: 35.25 kB / 469.5 MB, free: 16.88 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006214/0.6607, allocations: 140.1 kB / 469.6 MB, free: 16.78 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.6608, allocations: 36.66 kB / 469.7 MB, free: 16.74 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.714e-06/0.6608, allocations: 0 / 469.7 MB, free: 16.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004773/0.6613, allocations: 119.6 kB / 469.8 MB, free: 16.7 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.647e-05/0.6614, allocations: 79.36 kB / 469.9 MB, free: 16.61 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.6615, allocations: 141.1 kB / 470 MB, free: 16.51 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.6616, allocations: 25.7 kB / 470 MB, free: 16.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.017e-05/0.6617, allocations: 86.83 kB / 470.1 MB, free: 16.39 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.132e-05/0.6617, allocations: 22.52 kB / 470.1 MB, free: 16.38 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/0.6617, allocations: 5.531 kB / 470.1 MB, free: 16.38 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.6619, allocations: 317 kB / 470.4 MB, free: 16.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.176e-05/0.6619, allocations: 25.34 kB / 470.5 MB, free: 16.06 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.68e-05/0.662, allocations: 54.16 kB / 470.5 MB, free: 16.03 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.687e-05/0.6621, allocations: 32.08 kB / 470.6 MB, free: 16.03 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.6622, allocations: 3.953 kB / 470.6 MB, free: 16.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003336/0.6625, allocations: 110.4 kB / 470.7 MB, free: 15.99 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.6625, allocations: 6.719 kB / 470.7 MB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.6626, allocations: 0 / 470.7 MB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.6626, allocations: 7.438 kB / 470.7 MB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.034e-05/0.6627, allocations: 14.39 kB / 470.7 MB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.6627, allocations: 6.188 kB / 470.7 MB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.852e-05/0.6628, allocations: 6.531 kB / 470.7 MB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.6628, allocations: 3.312 kB / 470.7 MB, free: 15.98 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001088/0.6629, allocations: 121.8 kB / 470.8 MB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.205e-05/0.663, allocations: 11.23 kB / 470.8 MB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003224/0.6633, allocations: 113.4 kB / 470.9 MB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.6633, allocations: 0 / 470.9 MB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.6634, allocations: 0 / 470.9 MB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.6634, allocations: 3.656 kB / 471 MB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.6636, allocations: 185.6 kB / 471.1 MB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.6636, allocations: 0 / 471.1 MB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.6637, allocations: 17.52 kB / 471.2 MB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.6637, allocations: 7.172 kB / 471.2 MB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.6637, allocations: 6.656 kB / 471.2 MB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.6638, allocations: 0 / 471.2 MB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.6638, allocations: 2.688 kB / 471.2 MB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00043/0.6642, allocations: 156.2 kB / 471.3 MB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.091e-05/0.6643, allocations: 98.3 kB / 471.4 MB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.6643, allocations: 3.953 kB / 471.4 MB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.414e-05/0.6644, allocations: 10.52 kB / 471.4 MB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.675e-05/0.6645, allocations: 6.406 kB / 471.4 MB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.323e-06/0.6645, allocations: 0 / 471.4 MB, free: 15.44 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001113/0.6646, allocations: 113.6 kB / 471.5 MB, free: 15.36 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6646, allocations: 0 / 471.5 MB, free: 15.36 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00104/0.6657, allocations: 199.5 kB / 471.7 MB, free: 15.33 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 (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.001537/0.6672, allocations: 458 kB / 472.2 MB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000264/0.6675, allocations: 68.91 kB / 472.3 MB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.6675, allocations: 0 / 472.3 MB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.965e-05/0.6676, allocations: 32.62 kB / 472.3 MB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.668, allocations: 26.41 kB / 472.3 MB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000718/0.6688, allocations: 361 kB / 472.7 MB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.6691, allocations: 0.6955 MB / 473.4 MB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.406e-05/0.6692, allocations: 13.12 kB / 473.4 MB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.427e-05/0.6693, allocations: 12.72 kB / 473.4 MB, free: 14.2 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.6693, allocations: 3.938 kB / 473.4 MB, free: 14.2 MB / 398.1 MB Notification: Performance of Templates: time 0.01414/0.6834, allocations: 5.841 MB / 479.2 MB, free: 13.6 MB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1)