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.001496/0.001495, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001822/0.001822, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.431/1.431, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.001169/0.001169, allocations: 55.92 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2086, allocations: 46.63 MB / 325.3 MB, free: 1.895 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001971/0.2106, allocations: 1.365 MB / 326.7 MB, free: 0.8047 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.3218/0.5325, allocations: 150.7 MB / 477.4 MB, free: 14.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.369e-05/0.5326, allocations: 5.094 kB / 477.4 MB, free: 14.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.091e-05/0.5326, allocations: 5.906 kB / 477.4 MB, free: 14.33 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000971/0.5336, allocations: 351.6 kB / 477.8 MB, free: 14.26 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001633/0.5352, allocations: 0.8071 MB / 478.6 MB, free: 14.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 9.599e-05/0.5353, allocations: 69.48 kB / 478.6 MB, free: 14.1 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.357e-05/0.5354, allocations: 6.031 kB / 478.7 MB, free: 14.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.412e-05/0.5355, allocations: 35.88 kB / 478.7 MB, free: 14.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.291e-05/0.5356, allocations: 33.17 kB / 478.7 MB, free: 14.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.5356, allocations: 2.719 kB / 478.7 MB, free: 14.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002034/0.5376, allocations: 1.345 MB / 480.1 MB, free: 13.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.31e-05/0.5377, allocations: 16.47 kB / 480.1 MB, free: 13.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.879e-05/0.5377, allocations: 26.23 kB / 480.1 MB, free: 13.96 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.5388, allocations: 0.8575 MB / 481 MB, free: 13.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.5388, allocations: 0 / 481 MB, free: 13.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.5388, allocations: 0 / 481 MB, free: 13.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.5388, allocations: 0 / 481 MB, free: 13.91 MB / 398.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.000599/0.5394, allocations: 477.7 kB / 481.4 MB, free: 13.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.5395, allocations: 10.69 kB / 481.4 MB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003032/0.5398, allocations: 44.69 kB / 481.5 MB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.54, allocations: 196.2 kB / 481.7 MB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.54, allocations: 6.094 kB / 481.7 MB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.54, allocations: 12.2 kB / 481.7 MB, free: 13.26 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.5402, allocations: 68.16 kB / 481.8 MB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.5402, allocations: 3.312 kB / 481.8 MB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.5402, allocations: 3.375 kB / 481.8 MB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.5402, allocations: 0 / 481.8 MB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.5403, allocations: 46.66 kB / 481.8 MB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001953/0.5405, allocations: 188.5 kB / 482 MB, free: 13.01 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003223/0.5408, allocations: 117.2 kB / 482.1 MB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.711e-05/0.5409, allocations: 45.78 kB / 482.2 MB, free: 12.93 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005333/0.5415, allocations: 139.9 kB / 482.3 MB, free: 12.83 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.5415, allocations: 34.56 kB / 482.3 MB, free: 12.79 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.5415, allocations: 0 / 482.3 MB, free: 12.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003266/0.5419, allocations: 124.7 kB / 482.5 MB, free: 12.75 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.5419, allocations: 77.11 kB / 482.5 MB, free: 12.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.542, allocations: 141 kB / 482.7 MB, free: 12.56 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.5421, allocations: 28.23 kB / 482.7 MB, free: 12.53 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.058e-05/0.5421, allocations: 83.7 kB / 482.8 MB, free: 12.45 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.5422, allocations: 31.44 kB / 482.8 MB, free: 12.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.43e-05/0.5422, allocations: 22.8 kB / 482.8 MB, free: 12.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.561e-05/0.5423, allocations: 316.7 kB / 483.1 MB, free: 12.1 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.603e-05/0.5424, allocations: 28.03 kB / 483.2 MB, free: 12.1 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.656e-05/0.5424, allocations: 53.31 kB / 483.2 MB, free: 12.06 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.5426, allocations: 78.7 kB / 483.3 MB, free: 12.03 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5426, allocations: 0 / 483.3 MB, free: 12.03 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002386/0.5428, allocations: 114.6 kB / 483.4 MB, free: 11.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.5429, allocations: 6.062 kB / 483.4 MB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.5429, allocations: 5.641 kB / 483.4 MB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.5429, allocations: 2.094 kB / 483.4 MB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.846e-05/0.543, allocations: 18.17 kB / 483.4 MB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.543, allocations: 2.469 kB / 483.4 MB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.98e-05/0.543, allocations: 12.3 kB / 483.5 MB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.5431, allocations: 4.688 kB / 483.5 MB, free: 11.97 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 7.122e-05/0.5431, allocations: 115.9 kB / 483.6 MB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.406e-05/0.5432, allocations: 14.5 kB / 483.6 MB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002302/0.5434, allocations: 112.1 kB / 483.7 MB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.5434, allocations: 0 / 483.7 MB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5434, allocations: 6.906 kB / 483.7 MB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.5435, allocations: 2.344 kB / 483.7 MB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.5436, allocations: 185.2 kB / 483.9 MB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.5436, allocations: 2.812 kB / 483.9 MB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.798e-05/0.5437, allocations: 13.77 kB / 483.9 MB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.5437, allocations: 2.156 kB / 483.9 MB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.5437, allocations: 0 / 483.9 MB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.5437, allocations: 2.906 kB / 483.9 MB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.5437, allocations: 0 / 483.9 MB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.544, allocations: 168 kB / 484.1 MB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.276e-05/0.5441, allocations: 87.17 kB / 484.2 MB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.5441, allocations: 6.25 kB / 484.2 MB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.414e-05/0.5442, allocations: 3.625 kB / 484.2 MB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.186e-05/0.5442, allocations: 9.312 kB / 484.2 MB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.5442, allocations: 0 / 484.2 MB, free: 11.42 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.102e-05/0.5443, allocations: 114.9 kB / 484.3 MB, free: 11.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5443, allocations: 0 / 484.3 MB, free: 11.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000512/0.5448, allocations: 207.2 kB / 484.5 MB, free: 11.31 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 (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.001136/0.546, allocations: 0.517 MB / 485 MB, free: 11.13 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001993/0.5462, allocations: 71.16 kB / 485.1 MB, free: 11.12 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5462, allocations: 0 / 485.1 MB, free: 11.12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.351e-05/0.5463, allocations: 34.45 kB / 485.1 MB, free: 11.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.5465, allocations: 30.52 kB / 485.1 MB, free: 11.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005088/0.5471, allocations: 310.6 kB / 485.4 MB, free: 10.88 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.5473, allocations: 0.6875 MB / 486.1 MB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.618e-05/0.5474, allocations: 11.75 kB / 486.1 MB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.346e-05/0.5474, allocations: 24.88 kB / 486.2 MB, free: 10.17 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.5474, allocations: 0 / 486.2 MB, free: 10.17 MB / 398.1 MB Notification: Performance of Templates: time 0.01029/0.5577, allocations: 6.005 MB / 492.2 MB, free: 8.473 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)