Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.0008696/0.0008694, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.0009748/0.0009749, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.353/1.353, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.0004246/0.0004247, allocations: 12 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.1995, allocations: 47.59 MB / 326.5 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001126/0.2007, allocations: 1.075 MB / 327.5 MB, free: 0.543 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.3229/0.5236, allocations: 136.9 MB / 464.5 MB, free: 1.906 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.664e-05/0.5236, allocations: 1.375 kB / 464.5 MB, free: 1.906 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.062e-05/0.5237, allocations: 7.328 kB / 464.5 MB, free: 1.906 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008561/0.5245, allocations: 247.2 kB / 464.7 MB, free: 1.895 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001571/0.5261, allocations: 0.577 MB / 465.3 MB, free: 1.875 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.5263, allocations: 85.58 kB / 465.4 MB, free: 1.871 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.529e-05/0.5263, allocations: 2.25 kB / 465.4 MB, free: 1.871 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.831e-05/0.5264, allocations: 36.3 kB / 465.4 MB, free: 1.871 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.331e-05/0.5265, allocations: 35.77 kB / 465.4 MB, free: 1.871 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.5265, allocations: 2.406 kB / 465.4 MB, free: 1.871 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001916/0.5284, allocations: 1.049 MB / 466.5 MB, free: 1.855 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.144e-05/0.5284, allocations: 16.62 kB / 466.5 MB, free: 1.855 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.501e-05/0.5285, allocations: 34.98 kB / 466.5 MB, free: 1.824 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006604/0.5291, allocations: 0.5229 MB / 467.1 MB, free: 1.797 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.5292, allocations: 4.109 kB / 467.1 MB, free: 1.797 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.5292, allocations: 0 / 467.1 MB, free: 1.797 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.5292, allocations: 3.938 kB / 467.1 MB, free: 1.793 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.0006314/0.5298, allocations: 471.1 kB / 467.5 MB, free: 17.37 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.5298, allocations: 6.719 kB / 467.5 MB, free: 17.37 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002703/0.5301, allocations: 39.33 kB / 467.6 MB, free: 17.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.5303, allocations: 200 kB / 467.8 MB, free: 17.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.5303, allocations: 3.375 kB / 467.8 MB, free: 17.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.5303, allocations: 0 / 467.8 MB, free: 17.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.5305, allocations: 72.92 kB / 467.8 MB, free: 17.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.5305, allocations: 0 / 467.8 MB, free: 17.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.5305, allocations: 6.906 kB / 467.9 MB, free: 17.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.5305, allocations: 7.328 kB / 467.9 MB, free: 17.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.739e-05/0.5306, allocations: 41.22 kB / 467.9 MB, free: 17.1 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001774/0.5308, allocations: 199 kB / 468.1 MB, free: 16.9 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002603/0.5311, allocations: 110.5 kB / 468.2 MB, free: 16.86 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.508e-05/0.5312, allocations: 31.59 kB / 468.2 MB, free: 16.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004314/0.5316, allocations: 139.9 kB / 468.4 MB, free: 16.74 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.5316, allocations: 36.41 kB / 468.4 MB, free: 16.7 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.5316, allocations: 0 / 468.4 MB, free: 16.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003196/0.532, allocations: 121.9 kB / 468.5 MB, free: 16.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.844e-05/0.532, allocations: 81.05 kB / 468.6 MB, free: 16.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.5322, allocations: 139 kB / 468.7 MB, free: 16.47 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.5322, allocations: 29.64 kB / 468.8 MB, free: 16.44 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.387e-05/0.5322, allocations: 87.42 kB / 468.9 MB, free: 16.36 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.5323, allocations: 21.06 kB / 468.9 MB, free: 16.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/0.5323, allocations: 3.688 kB / 468.9 MB, free: 16.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.5324, allocations: 316.8 kB / 469.2 MB, free: 16.03 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.315e-05/0.5324, allocations: 28.53 kB / 469.2 MB, free: 16.03 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.822e-05/0.5325, allocations: 50.28 kB / 469.3 MB, free: 16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.356e-05/0.5326, allocations: 29.38 kB / 469.3 MB, free: 16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5326, allocations: 3.953 kB / 469.3 MB, free: 15.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002121/0.5328, allocations: 111.7 kB / 469.4 MB, free: 15.96 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.5328, allocations: 9.531 kB / 469.4 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.5328, allocations: 0 / 469.4 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.5329, allocations: 6.812 kB / 469.4 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.324e-05/0.5329, allocations: 15.78 kB / 469.4 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.5329, allocations: 0 / 469.4 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.415e-05/0.533, allocations: 7.281 kB / 469.4 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.533, allocations: 3.312 kB / 469.4 MB, free: 15.95 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 8.171e-05/0.5331, allocations: 120.3 kB / 469.6 MB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.729e-05/0.5331, allocations: 16.2 kB / 469.6 MB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002157/0.5334, allocations: 114.2 kB / 469.7 MB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.5334, allocations: 0 / 469.7 MB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.5334, allocations: 7.25 kB / 469.7 MB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.5334, allocations: 0 / 469.7 MB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.5335, allocations: 187.6 kB / 469.9 MB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.5335, allocations: 0 / 469.9 MB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.422e-05/0.5336, allocations: 12.7 kB / 469.9 MB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.5336, allocations: 5.859 kB / 469.9 MB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.5336, allocations: 6.25 kB / 469.9 MB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.5336, allocations: 2.906 kB / 469.9 MB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.5336, allocations: 0 / 469.9 MB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.5339, allocations: 159.2 kB / 470.1 MB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.093e-05/0.534, allocations: 94.42 kB / 470.2 MB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.534, allocations: 4.016 kB / 470.2 MB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.107e-05/0.5341, allocations: 9.656 kB / 470.2 MB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.5341, allocations: 9.406 kB / 470.2 MB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.5341, allocations: 2.812 kB / 470.2 MB, free: 15.4 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.34e-05/0.5342, allocations: 110.6 kB / 470.3 MB, free: 15.33 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5342, allocations: 0 / 470.3 MB, free: 15.33 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005464/0.5347, allocations: 199 kB / 470.5 MB, free: 15.29 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.0009028/0.5356, allocations: 461.2 kB / 470.9 MB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001805/0.5358, allocations: 63.69 kB / 471 MB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5358, allocations: 0 / 471 MB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.047e-05/0.5359, allocations: 33.94 kB / 471 MB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.5362, allocations: 26.14 kB / 471.1 MB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004611/0.5367, allocations: 367.9 kB / 471.4 MB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.5369, allocations: 0.6944 MB / 472.1 MB, free: 14.17 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.079e-05/0.5369, allocations: 16.28 kB / 472.1 MB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.919e-05/0.537, allocations: 16.06 kB / 472.1 MB, free: 14.16 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.537, allocations: 0 / 472.1 MB, free: 14.16 MB / 398.1 MB Notification: Performance of Templates: time 0.008659/0.5457, allocations: 5.841 MB / 478 MB, free: 13.56 MB / 398.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1)