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.001031/0.001031, allocations: 108.4 kB / 16.92 MB, free: 6.141 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.001011/0.001011, allocations: 191.3 kB / 17.85 MB, free: 5.309 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.289/1.289, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.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.001177/0.001177, allocations: 55.91 kB / 280 MB, free: 3.188 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08408/0.08527, allocations: 46.63 MB / 326.6 MB, free: 4.484 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002495/0.08781, allocations: 1.361 MB / 328 MB, free: 3.105 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.3056/0.3935, allocations: 150.8 MB / 478.7 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.378e-05/0.3936, allocations: 0 / 478.7 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.509e-05/0.3936, allocations: 0 / 478.7 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001137/0.3948, allocations: 355.3 kB / 479.1 MB, free: 14.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001829/0.3966, allocations: 0.8002 MB / 479.9 MB, free: 13.9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000103/0.3967, allocations: 75.69 kB / 480 MB, free: 13.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.849e-05/0.3968, allocations: 7.938 kB / 480 MB, free: 13.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.669e-05/0.3968, allocations: 35.84 kB / 480 MB, free: 13.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.673e-05/0.3969, allocations: 31.86 kB / 480 MB, free: 13.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.3969, allocations: 0 / 480 MB, free: 13.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002239/0.3992, allocations: 1.337 MB / 481.4 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.16e-05/0.3992, allocations: 19.91 kB / 481.4 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.3993, allocations: 23.88 kB / 481.4 MB, free: 12.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001417/0.4007, allocations: 0.8615 MB / 482.3 MB, free: 11.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.4007, allocations: 4 kB / 482.3 MB, free: 11.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4007, allocations: 0 / 482.3 MB, free: 11.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.4007, allocations: 0 / 482.3 MB, free: 11.5 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.0006644/0.4014, allocations: 479.7 kB / 482.7 MB, free: 10.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.4015, allocations: 8.031 kB / 482.8 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003017/0.4018, allocations: 40.8 kB / 482.8 MB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.402, allocations: 196.8 kB / 483 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.402, allocations: 2.062 kB / 483 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.402, allocations: 7.938 kB / 483 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.4022, allocations: 78.14 kB / 483.1 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.4022, allocations: 3.938 kB / 483.1 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.4022, allocations: 0 / 483.1 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.4022, allocations: 4 kB / 483.1 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.4023, allocations: 43.95 kB / 483.1 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001969/0.4025, allocations: 190.6 kB / 483.3 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000298/0.4029, allocations: 117.1 kB / 483.4 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.879e-05/0.4029, allocations: 37.7 kB / 483.5 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005398/0.4035, allocations: 145 kB / 483.6 MB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.4035, allocations: 30.56 kB / 483.6 MB, free: 9.949 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.4035, allocations: 0 / 483.6 MB, free: 9.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003477/0.4039, allocations: 117.5 kB / 483.7 MB, free: 9.828 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.4039, allocations: 96.98 kB / 483.8 MB, free: 9.715 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.4041, allocations: 134.8 kB / 484 MB, free: 9.574 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.4041, allocations: 25.7 kB / 484 MB, free: 9.543 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.952e-05/0.4042, allocations: 96.11 kB / 484.1 MB, free: 9.445 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.593e-05/0.4042, allocations: 23.66 kB / 484.1 MB, free: 9.422 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.4042, allocations: 21.7 kB / 484.1 MB, free: 9.395 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.4044, allocations: 318.8 kB / 484.4 MB, free: 9.074 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.921e-05/0.4045, allocations: 31.92 kB / 484.5 MB, free: 9.043 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.02e-05/0.4045, allocations: 52.34 kB / 484.5 MB, free: 8.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.4047, allocations: 83.34 kB / 484.6 MB, free: 8.887 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4047, allocations: 0 / 484.6 MB, free: 8.887 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002518/0.405, allocations: 109.5 kB / 484.7 MB, free: 8.773 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.405, allocations: 4 kB / 484.7 MB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.405, allocations: 4 kB / 484.7 MB, free: 8.766 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.405, allocations: 0 / 484.7 MB, free: 8.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.892e-05/0.4051, allocations: 15.98 kB / 484.7 MB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.4051, allocations: 3.938 kB / 484.7 MB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.13e-05/0.4052, allocations: 11.91 kB / 484.8 MB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.4052, allocations: 4.469 kB / 484.8 MB, free: 8.73 MB / 382.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 7.553e-05/0.4053, allocations: 113.9 kB / 484.9 MB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.15e-05/0.4053, allocations: 15.83 kB / 484.9 MB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002553/0.4056, allocations: 114.9 kB / 485 MB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.4056, allocations: 4 kB / 485 MB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.4056, allocations: 0 / 485 MB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4056, allocations: 0 / 485 MB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.4058, allocations: 189.5 kB / 485.2 MB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.4058, allocations: 5.188 kB / 485.2 MB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.504e-05/0.4059, allocations: 12 kB / 485.2 MB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.4059, allocations: 0 / 485.2 MB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.4059, allocations: 8 kB / 485.2 MB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.4059, allocations: 0 / 485.2 MB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4059, allocations: 0 / 485.2 MB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003335/0.4063, allocations: 172.2 kB / 485.4 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.541e-05/0.4063, allocations: 89.09 kB / 485.5 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.4063, allocations: 4.031 kB / 485.5 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.237e-05/0.4064, allocations: 0 / 485.5 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.4064, allocations: 8 kB / 485.5 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.4065, allocations: 7.984 kB / 485.5 MB, free: 7.906 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.644e-05/0.4065, allocations: 107.3 kB / 485.6 MB, free: 7.801 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4066, allocations: 0 / 485.6 MB, free: 7.801 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005983/0.4072, allocations: 207.8 kB / 485.8 MB, free: 7.598 MB / 382.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 (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.001229/0.4084, allocations: 0.5193 MB / 486.3 MB, free: 7.074 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001999/0.4086, allocations: 67.84 kB / 486.4 MB, free: 7.008 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4086, allocations: 0 / 486.4 MB, free: 7.008 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.604e-05/0.4087, allocations: 35.97 kB / 486.4 MB, free: 6.973 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.409, allocations: 28.02 kB / 486.4 MB, free: 6.945 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005301/0.4095, allocations: 308.4 kB / 486.7 MB, free: 6.617 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.4098, allocations: 0.6885 MB / 487.4 MB, free: 5.902 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.082e-05/0.4099, allocations: 27.86 kB / 487.5 MB, free: 5.875 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.206e-05/0.4099, allocations: 15.44 kB / 487.5 MB, free: 5.859 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4099, allocations: 0 / 487.5 MB, free: 5.859 MB / 382.1 MB Notification: Performance of Templates: time 0.01036/0.4203, allocations: 6.013 MB / 493.5 MB, free: 15.84 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)