Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.001119/0.001119, allocations: 108 kB / 15.6 MB, free: 128 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.001318/0.001318, allocations: 196.8 kB / 16.53 MB, free: 6.672 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.34/1.34, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.001296/0.001296, allocations: 51.94 kB / 278.7 MB, free: 12.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2104, allocations: 46.64 MB / 325.3 MB, free: 1.84 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002156/0.2126, allocations: 1.364 MB / 326.7 MB, free: 0.75 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.3544/0.567, allocations: 150.8 MB / 477.4 MB, free: 14.37 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.476e-05/0.5671, allocations: 0 / 477.4 MB, free: 14.37 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.657e-05/0.5671, allocations: 2.391 kB / 477.4 MB, free: 14.37 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001064/0.5682, allocations: 357.6 kB / 477.8 MB, free: 14.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00173/0.57, allocations: 0.8039 MB / 478.6 MB, free: 14.15 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 9.65e-05/0.5701, allocations: 75.42 kB / 478.7 MB, free: 14.13 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.786e-05/0.5701, allocations: 10.75 kB / 478.7 MB, free: 14.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.043e-05/0.5702, allocations: 31.05 kB / 478.7 MB, free: 14.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.796e-05/0.5703, allocations: 39.27 kB / 478.7 MB, free: 14.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.5703, allocations: 5.578 kB / 478.7 MB, free: 14.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002098/0.5724, allocations: 1.334 MB / 480.1 MB, free: 14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.057e-05/0.5724, allocations: 16.7 kB / 480.1 MB, free: 14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.317e-05/0.5725, allocations: 26.69 kB / 480.1 MB, free: 14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001157/0.5736, allocations: 0.8588 MB / 481 MB, free: 13.94 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.5737, allocations: 1.203 kB / 481 MB, free: 13.94 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.5737, allocations: 0 / 481 MB, free: 13.94 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.5737, allocations: 0 / 481 MB, free: 13.94 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.0006538/0.5743, allocations: 482.8 kB / 481.4 MB, free: 13.51 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.5744, allocations: 7.5 kB / 481.5 MB, free: 13.51 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003163/0.5747, allocations: 39.84 kB / 481.5 MB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.5749, allocations: 196.1 kB / 481.7 MB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.5749, allocations: 6.969 kB / 481.7 MB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.575, allocations: 6.844 kB / 481.7 MB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.5752, allocations: 80.12 kB / 481.8 MB, free: 13.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.5752, allocations: 4 kB / 481.8 MB, free: 13.24 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.5752, allocations: 0 / 481.8 MB, free: 13.24 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.5752, allocations: 0 / 481.8 MB, free: 13.24 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.537e-05/0.5753, allocations: 40.66 kB / 481.8 MB, free: 13.24 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002035/0.5755, allocations: 188 kB / 482 MB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002973/0.5758, allocations: 118.6 kB / 482.1 MB, free: 12.99 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.663e-05/0.5759, allocations: 41.48 kB / 482.2 MB, free: 12.97 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005296/0.5765, allocations: 143.1 kB / 482.3 MB, free: 12.87 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.5765, allocations: 34.09 kB / 482.3 MB, free: 12.83 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.5765, allocations: 0 / 482.3 MB, free: 12.83 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003374/0.5768, allocations: 121.3 kB / 482.4 MB, free: 12.79 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.5769, allocations: 81.88 kB / 482.5 MB, free: 12.7 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.577, allocations: 141.7 kB / 482.7 MB, free: 12.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.5771, allocations: 29.64 kB / 482.7 MB, free: 12.56 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.773e-05/0.5771, allocations: 87.64 kB / 482.8 MB, free: 12.48 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.5771, allocations: 27.16 kB / 482.8 MB, free: 12.46 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.5772, allocations: 24.38 kB / 482.8 MB, free: 12.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.5773, allocations: 315.2 kB / 483.1 MB, free: 12.13 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.457e-05/0.5774, allocations: 26.48 kB / 483.2 MB, free: 12.13 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.265e-05/0.5775, allocations: 51.02 kB / 483.2 MB, free: 12.1 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.5776, allocations: 82.92 kB / 483.3 MB, free: 12.06 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.5776, allocations: 0 / 483.3 MB, free: 12.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002393/0.5779, allocations: 108.7 kB / 483.4 MB, free: 12.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.5779, allocations: 11.5 kB / 483.4 MB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.5779, allocations: 0 / 483.4 MB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.5779, allocations: 4.781 kB / 483.4 MB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.818e-05/0.578, allocations: 25.8 kB / 483.4 MB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.578, allocations: 2.094 kB / 483.4 MB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.914e-05/0.5781, allocations: 6.281 kB / 483.5 MB, free: 12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.5781, allocations: 2.875 kB / 483.5 MB, free: 12 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 9.168e-05/0.5782, allocations: 114.4 kB / 483.6 MB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.52e-05/0.5782, allocations: 12.91 kB / 483.6 MB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002553/0.5785, allocations: 121.1 kB / 483.7 MB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.5785, allocations: 0 / 483.7 MB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.5785, allocations: 0 / 483.7 MB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.5785, allocations: 2.219 kB / 483.7 MB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.5787, allocations: 186.2 kB / 483.9 MB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5787, allocations: 0 / 483.9 MB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.246e-05/0.5788, allocations: 14.31 kB / 483.9 MB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.5788, allocations: 2.406 kB / 483.9 MB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.5788, allocations: 0 / 483.9 MB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.5789, allocations: 6.406 kB / 483.9 MB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.5789, allocations: 0 / 483.9 MB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000338/0.5792, allocations: 169 kB / 484.1 MB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.059e-05/0.5793, allocations: 82 kB / 484.1 MB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.5793, allocations: 2.5 kB / 484.2 MB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.453e-05/0.5794, allocations: 5.594 kB / 484.2 MB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.014e-05/0.5794, allocations: 9.109 kB / 484.2 MB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/0.5794, allocations: 4.875 kB / 484.2 MB, free: 11.46 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.137e-05/0.5795, allocations: 116.1 kB / 484.3 MB, free: 11.38 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5795, allocations: 0 / 484.3 MB, free: 11.38 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006384/0.5802, allocations: 201.2 kB / 484.5 MB, free: 11.35 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.001252/0.5814, allocations: 0.5197 MB / 485 MB, free: 11.17 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002161/0.5817, allocations: 68.2 kB / 485.1 MB, free: 11.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.5817, allocations: 4.125 kB / 485.1 MB, free: 11.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.381e-05/0.5818, allocations: 33.39 kB / 485.1 MB, free: 11.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.582, allocations: 27.19 kB / 485.1 MB, free: 11.15 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005265/0.5826, allocations: 314.5 kB / 485.4 MB, free: 10.92 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.5828, allocations: 0.6874 MB / 486.1 MB, free: 10.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.76e-05/0.5829, allocations: 17.47 kB / 486.1 MB, free: 10.22 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.007e-05/0.5829, allocations: 16.39 kB / 486.2 MB, free: 10.21 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.5829, allocations: 0 / 486.2 MB, free: 10.21 MB / 398.1 MB Notification: Performance of Templates: time 0.009771/0.5927, allocations: 6.006 MB / 492.2 MB, free: 8.512 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.sim & ./Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX.pipe 2>&1)