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.001371/0.001371, allocations: 108.3 kB / 16.51 MB, free: 6.707 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.001576/0.001576, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.349/1.349, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.001128/0.001128, allocations: 47.94 kB / 279.3 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08075/0.08189, allocations: 46.61 MB / 325.9 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002301/0.08423, allocations: 1.433 MB / 327.4 MB, free: 3.449 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.2985/0.3828, allocations: 148.5 MB / 475.9 MB, free: 1.68 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.193e-05/0.3829, allocations: 0 / 475.9 MB, free: 1.68 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.052e-05/0.3829, allocations: 0 / 475.9 MB, free: 1.68 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001058/0.384, allocations: 320.2 kB / 476.2 MB, free: 1.371 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001693/0.3857, allocations: 0.6936 MB / 476.9 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.3858, allocations: 95.61 kB / 477 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.918e-05/0.3859, allocations: 11.92 kB / 477 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.785e-05/0.3859, allocations: 31.86 kB / 477.1 MB, free: 0.543 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.985e-05/0.386, allocations: 35.84 kB / 477.1 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.3861, allocations: 4 kB / 477.1 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00238/0.3884, allocations: 1.52 MB / 478.6 MB, free: 14.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.896e-05/0.3885, allocations: 14.8 kB / 478.6 MB, free: 14.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.243e-05/0.3885, allocations: 35.86 kB / 478.7 MB, free: 14.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001312/0.3899, allocations: 0.9314 MB / 479.6 MB, free: 14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3899, allocations: 3.984 kB / 479.6 MB, free: 14 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3899, allocations: 0 / 479.6 MB, free: 14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.848e-06/0.3899, allocations: 3.938 kB / 479.6 MB, free: 13.99 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.0005968/0.3905, allocations: 471.8 kB / 480.1 MB, free: 13.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.3905, allocations: 12.03 kB / 480.1 MB, free: 13.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003116/0.3909, allocations: 36.8 kB / 480.1 MB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.391, allocations: 192.2 kB / 480.3 MB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.3911, allocations: 8.562 kB / 480.3 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.3911, allocations: 7.938 kB / 480.3 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.3913, allocations: 67.39 kB / 480.4 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.3913, allocations: 11.86 kB / 480.4 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.3913, allocations: 0 / 480.4 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.3913, allocations: 0 / 480.4 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.3914, allocations: 43.97 kB / 480.4 MB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000237/0.3917, allocations: 190.6 kB / 480.6 MB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003141/0.392, allocations: 117.2 kB / 480.7 MB, free: 12.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.03e-05/0.3921, allocations: 37.64 kB / 480.8 MB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006087/0.3927, allocations: 141 kB / 480.9 MB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.3927, allocations: 34.56 kB / 481 MB, free: 12.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.173e-06/0.3928, allocations: 4 kB / 481 MB, free: 12.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.000351/0.3931, allocations: 125.6 kB / 481.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.3932, allocations: 77.11 kB / 481.2 MB, free: 12.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.3933, allocations: 142.5 kB / 481.3 MB, free: 12.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.3933, allocations: 25.7 kB / 481.3 MB, free: 12.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.197e-05/0.3934, allocations: 88.14 kB / 481.4 MB, free: 11.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.475e-05/0.3934, allocations: 24.67 kB / 481.4 MB, free: 11.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.721e-05/0.3934, allocations: 25.72 kB / 481.5 MB, free: 11.9 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.228e-05/0.3935, allocations: 318.8 kB / 481.8 MB, free: 11.58 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.182e-05/0.3936, allocations: 27.92 kB / 481.8 MB, free: 11.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.929e-05/0.3937, allocations: 47.42 kB / 481.8 MB, free: 11.49 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.3939, allocations: 83.34 kB / 481.9 MB, free: 11.4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3939, allocations: 0 / 481.9 MB, free: 11.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002395/0.3941, allocations: 109.5 kB / 482 MB, free: 11.29 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.3941, allocations: 7.984 kB / 482 MB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3941, allocations: 0 / 482 MB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.3942, allocations: 4 kB / 482 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.716e-05/0.3942, allocations: 15.94 kB / 482.1 MB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.3942, allocations: 3.938 kB / 482.1 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.325e-05/0.3943, allocations: 15.95 kB / 482.1 MB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.3943, allocations: 4 kB / 482.1 MB, free: 11.23 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 6.676e-05/0.3944, allocations: 109.8 kB / 482.2 MB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.384e-05/0.3945, allocations: 11.84 kB / 482.2 MB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002538/0.3947, allocations: 113.9 kB / 482.3 MB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.3947, allocations: 7.938 kB / 482.3 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3947, allocations: 0 / 482.3 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3947, allocations: 3.984 kB / 482.3 MB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.3949, allocations: 189.5 kB / 482.5 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3949, allocations: 0 / 482.5 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.331e-05/0.395, allocations: 16.86 kB / 482.5 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.395, allocations: 0 / 482.5 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.395, allocations: 0 / 482.5 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.395, allocations: 4 kB / 482.5 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.395, allocations: 0 / 482.5 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003293/0.3954, allocations: 169.8 kB / 482.7 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.173e-05/0.3954, allocations: 89.11 kB / 482.8 MB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.3954, allocations: 8 kB / 482.8 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.522e-05/0.3955, allocations: 0 / 482.8 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.428e-05/0.3955, allocations: 7.984 kB / 482.8 MB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-06/0.3955, allocations: 0 / 482.8 MB, free: 10.42 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.697e-05/0.3956, allocations: 115.2 kB / 482.9 MB, free: 10.31 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3956, allocations: 0 / 482.9 MB, free: 10.31 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005345/0.3962, allocations: 211.9 kB / 483.1 MB, free: 10.1 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.001194/0.3974, allocations: 0.5082 MB / 483.6 MB, free: 9.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000208/0.3976, allocations: 67.89 kB / 483.7 MB, free: 9.523 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3976, allocations: 0 / 483.7 MB, free: 9.523 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.76e-05/0.3977, allocations: 31.92 kB / 483.7 MB, free: 9.492 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.398, allocations: 31.98 kB / 483.7 MB, free: 9.461 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005354/0.3985, allocations: 321.2 kB / 484.1 MB, free: 9.125 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.3988, allocations: 0.6926 MB / 484.8 MB, free: 8.406 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.207e-05/0.3988, allocations: 15.89 kB / 484.8 MB, free: 8.391 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.383e-05/0.3989, allocations: 15.44 kB / 484.8 MB, free: 8.375 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3989, allocations: 4 kB / 484.8 MB, free: 8.371 MB / 382.1 MB Notification: Performance of Templates: time 0.009652/0.4085, allocations: 5.94 MB / 490.7 MB, free: 2.434 MB / 382.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)