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.004788/0.004788, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001068/0.001068, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.333/1.333, allocations: 205.1 MB / 222.6 MB, free: 4.492 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.001194/0.001194, allocations: 46.81 kB / 326.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09655/0.09775, allocations: 46.63 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002228/0.1, allocations: 1.365 MB / 374.5 MB, free: 15.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3626/0.4626, allocations: 150.8 MB / 0.513 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.563e-05/0.4627, allocations: 0 / 0.513 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.948e-05/0.4628, allocations: 5.672 kB / 0.513 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001143/0.4639, allocations: 362.6 kB / 0.5133 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001735/0.4657, allocations: 0.799 MB / 0.5141 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.4658, allocations: 73.75 kB / 0.5142 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.09e-05/0.4659, allocations: 9.766 kB / 0.5142 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.461e-05/0.4659, allocations: 38.22 kB / 0.5142 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.131e-05/0.466, allocations: 38.47 kB / 0.5143 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.466, allocations: 2.5 kB / 0.5143 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002047/0.4681, allocations: 1.403 MB / 0.5156 GB, free: 2.758 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.56e-05/0.4681, allocations: 16.08 kB / 0.5157 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.67e-05/0.4682, allocations: 24.03 kB / 0.5157 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.4693, allocations: 0.8606 MB / 0.5165 GB, free: 2.371 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.4693, allocations: 2.969 kB / 0.5165 GB, free: 2.371 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4693, allocations: 0 / 0.5165 GB, free: 2.371 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.4693, allocations: 0 / 0.5165 GB, free: 2.371 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.0006295/0.47, allocations: 471.3 kB / 0.517 GB, free: 1.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.47, allocations: 9.406 kB / 0.517 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003008/0.4703, allocations: 34.45 kB / 0.517 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.4705, allocations: 206.2 kB / 0.5172 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.4706, allocations: 3.344 kB / 0.5172 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.4706, allocations: 3.938 kB / 0.5172 GB, free: 1.699 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.4708, allocations: 80.62 kB / 0.5173 GB, free: 1.641 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.4708, allocations: 7.938 kB / 0.5173 GB, free: 1.633 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.4708, allocations: 0 / 0.5173 GB, free: 1.633 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.4708, allocations: 0 / 0.5173 GB, free: 1.633 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.4709, allocations: 43.31 kB / 0.5173 GB, free: 1.625 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001945/0.4711, allocations: 188.3 kB / 0.5175 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002931/0.4714, allocations: 121.1 kB / 0.5176 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.288e-05/0.4715, allocations: 38.08 kB / 0.5177 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005364/0.4721, allocations: 135.5 kB / 0.5178 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.4721, allocations: 40.03 kB / 0.5178 GB, free: 1.168 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.4721, allocations: 0 / 0.5178 GB, free: 1.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003458/0.4724, allocations: 117.4 kB / 0.518 GB, free: 1.113 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.196e-05/0.4725, allocations: 80.05 kB / 0.518 GB, free: 1.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.4726, allocations: 141.5 kB / 0.5182 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.4726, allocations: 25.7 kB / 0.5182 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.397e-05/0.4727, allocations: 91.45 kB / 0.5183 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.571e-05/0.4727, allocations: 22.64 kB / 0.5183 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/0.4728, allocations: 28.69 kB / 0.5183 GB, free: 0.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.956e-05/0.4729, allocations: 314.8 kB / 0.5186 GB, free: 444 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.64e-05/0.473, allocations: 25.83 kB / 0.5186 GB, free: 436 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.689e-05/0.473, allocations: 51.73 kB / 0.5187 GB, free: 392 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.4732, allocations: 83.48 kB / 0.5188 GB, free: 336 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4732, allocations: 0 / 0.5188 GB, free: 336 kB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002346/0.4734, allocations: 114.1 kB / 0.5189 GB, free: 268 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.4735, allocations: 8.938 kB / 0.5189 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.4735, allocations: 0 / 0.5189 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.4735, allocations: 2.281 kB / 0.5189 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.613e-05/0.4736, allocations: 16.47 kB / 0.5189 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.128e-06/0.4736, allocations: 6.656 kB / 0.5189 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.922e-05/0.4736, allocations: 10.98 kB / 0.5189 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.4737, allocations: 2.281 kB / 0.5189 GB, free: 248 kB / 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.64e-05/0.4737, allocations: 112.3 kB / 0.519 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.66e-05/0.4738, allocations: 12.97 kB / 0.5191 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002385/0.474, allocations: 117.9 kB / 0.5192 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.4741, allocations: 6.625 kB / 0.5192 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.4741, allocations: 3.984 kB / 0.5192 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4741, allocations: 0 / 0.5192 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001548/0.4742, allocations: 187.8 kB / 0.5194 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4743, allocations: 0 / 0.5194 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.434e-05/0.4743, allocations: 18.17 kB / 0.5194 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.4744, allocations: 0 / 0.5194 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.4744, allocations: 2.781 kB / 0.5194 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.4744, allocations: 4 kB / 0.5194 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.4744, allocations: 2.781 kB / 0.5194 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003332/0.4747, allocations: 160.3 kB / 0.5195 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.805e-05/0.4748, allocations: 87.44 kB / 0.5196 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.4748, allocations: 0.625 kB / 0.5196 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.451e-05/0.4749, allocations: 5.969 kB / 0.5196 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.7e-05/0.4749, allocations: 11.14 kB / 0.5196 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.4749, allocations: 2.781 kB / 0.5196 GB, free: 15.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.064e-05/0.475, allocations: 114.5 kB / 0.5197 GB, free: 15.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.475, allocations: 0 / 0.5197 GB, free: 15.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000568/0.4756, allocations: 201.2 kB / 0.5199 GB, free: 15.44 MB / 414.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.001129/0.4767, allocations: 0.5256 MB / 0.5204 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002024/0.4769, allocations: 68.61 kB / 0.5205 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.4769, allocations: 0 / 0.5205 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.966e-05/0.477, allocations: 31.11 kB / 0.5205 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.4773, allocations: 21.45 kB / 0.5206 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005338/0.4778, allocations: 316 kB / 0.5209 GB, free: 14.85 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.478, allocations: 0.6894 MB / 0.5215 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.367e-05/0.4781, allocations: 19.5 kB / 0.5216 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.499e-05/0.4782, allocations: 18.28 kB / 0.5216 GB, free: 14.12 MB / 414.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4782, allocations: 0 / 0.5216 GB, free: 14.12 MB / 414.1 MB Notification: Performance of Templates: time 0.01032/0.4885, allocations: 6.096 MB / 0.5275 GB, free: 8.438 MB / 414.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)