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.004835/0.004835, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001075/0.001075, allocations: 193.7 kB / 16.67 MB, free: 5.977 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.33/1.33, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.001131/0.001131, allocations: 53.48 kB / 326.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0864/0.08754, allocations: 46.63 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002192/0.08977, allocations: 1.365 MB / 374.5 MB, free: 15.94 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3733/0.4631, allocations: 150.8 MB / 0.513 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.018e-05/0.4632, allocations: 0 / 0.513 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.207e-05/0.4632, allocations: 7.922 kB / 0.513 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001071/0.4643, allocations: 352.3 kB / 0.5133 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001686/0.466, allocations: 0.8024 MB / 0.5141 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.4661, allocations: 73.64 kB / 0.5142 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.669e-05/0.4662, allocations: 6.281 kB / 0.5142 GB, free: 3.281 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.429e-05/0.4662, allocations: 37.8 kB / 0.5142 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.896e-05/0.4663, allocations: 30.33 kB / 0.5142 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.4663, allocations: 2.812 kB / 0.5142 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002089/0.4684, allocations: 1.405 MB / 0.5156 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.681e-05/0.4685, allocations: 26.38 kB / 0.5156 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.772e-05/0.4685, allocations: 21.12 kB / 0.5157 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001128/0.4697, allocations: 0.8556 MB / 0.5165 GB, free: 2.344 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.4697, allocations: 0 / 0.5165 GB, free: 2.344 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.707e-05/0.4697, allocations: 0 / 0.5165 GB, free: 2.344 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.4697, allocations: 0.5625 kB / 0.5165 GB, free: 2.344 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.0006493/0.4704, allocations: 489.8 kB / 0.517 GB, free: 1.887 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.4704, allocations: 14.41 kB / 0.517 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003225/0.4708, allocations: 33.02 kB / 0.517 GB, free: 1.871 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.471, allocations: 204.2 kB / 0.5172 GB, free: 1.656 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.471, allocations: 4.547 kB / 0.5172 GB, free: 1.652 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.471, allocations: 11.31 kB / 0.5172 GB, free: 1.648 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.4712, allocations: 70.27 kB / 0.5173 GB, free: 1.594 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.4712, allocations: 0 / 0.5173 GB, free: 1.594 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.4712, allocations: 2.75 kB / 0.5173 GB, free: 1.594 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.4712, allocations: 4 kB / 0.5173 GB, free: 1.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.993e-05/0.4713, allocations: 44.94 kB / 0.5173 GB, free: 1.578 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001897/0.4715, allocations: 195.8 kB / 0.5175 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002806/0.4718, allocations: 108 kB / 0.5176 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.804e-05/0.4719, allocations: 50.88 kB / 0.5177 GB, free: 1.273 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005012/0.4724, allocations: 138.3 kB / 0.5178 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.4724, allocations: 41.66 kB / 0.5178 GB, free: 1.113 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.4724, allocations: 0 / 0.5178 GB, free: 1.113 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003386/0.4728, allocations: 115.2 kB / 0.518 GB, free: 1.062 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.4728, allocations: 81.09 kB / 0.518 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.473, allocations: 141.6 kB / 0.5182 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.473, allocations: 27.95 kB / 0.5182 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.624e-05/0.473, allocations: 90.48 kB / 0.5183 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.4731, allocations: 26.03 kB / 0.5183 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.856e-05/0.4731, allocations: 21.98 kB / 0.5183 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.4732, allocations: 316.3 kB / 0.5186 GB, free: 400 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.866e-05/0.4733, allocations: 29.47 kB / 0.5187 GB, free: 392 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.802e-05/0.4734, allocations: 46.58 kB / 0.5187 GB, free: 356 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.4735, allocations: 82.5 kB / 0.5188 GB, free: 300 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4735, allocations: 2.281 kB / 0.5188 GB, free: 300 kB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002672/0.4738, allocations: 115.3 kB / 0.5189 GB, free: 228 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.4738, allocations: 5.812 kB / 0.5189 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.4739, allocations: 2.438 kB / 0.5189 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.4739, allocations: 4.062 kB / 0.5189 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.779e-05/0.474, allocations: 20.11 kB / 0.5189 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.474, allocations: 2.406 kB / 0.5189 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.128e-05/0.474, allocations: 6.844 kB / 0.5189 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.474, allocations: 2.719 kB / 0.5189 GB, free: 212 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 8.733e-05/0.4741, allocations: 118.8 kB / 0.519 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.731e-05/0.4742, allocations: 9.703 kB / 0.5191 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002459/0.4744, allocations: 112.5 kB / 0.5192 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.4745, allocations: 0 / 0.5192 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.4745, allocations: 6.344 kB / 0.5192 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.4745, allocations: 0 / 0.5192 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.4746, allocations: 186 kB / 0.5193 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.4747, allocations: 2.062 kB / 0.5194 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.86e-05/0.4747, allocations: 10.16 kB / 0.5194 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.4747, allocations: 0 / 0.5194 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.4748, allocations: 10.61 kB / 0.5194 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.4748, allocations: 1.312 kB / 0.5194 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4748, allocations: 0 / 0.5194 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003337/0.4751, allocations: 164.3 kB / 0.5195 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.725e-05/0.4752, allocations: 99.36 kB / 0.5196 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.4752, allocations: 2.281 kB / 0.5196 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.305e-05/0.4753, allocations: 2.75 kB / 0.5196 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.4753, allocations: 13.73 kB / 0.5196 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/0.4753, allocations: 6.938 kB / 0.5196 GB, free: 15.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.517e-05/0.4754, allocations: 110.5 kB / 0.5198 GB, free: 15.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4754, allocations: 0 / 0.5198 GB, free: 15.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006032/0.476, allocations: 205.2 kB / 0.5199 GB, free: 15.4 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.001192/0.4772, allocations: 0.5214 MB / 0.5205 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002037/0.4774, allocations: 58.25 kB / 0.5205 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.4775, allocations: 4.125 kB / 0.5205 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.644e-05/0.4775, allocations: 39.12 kB / 0.5206 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.4778, allocations: 24.62 kB / 0.5206 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000556/0.4784, allocations: 308.3 kB / 0.5209 GB, free: 14.81 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.4787, allocations: 0.6916 MB / 0.5215 GB, free: 14.11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.748e-05/0.4787, allocations: 15.27 kB / 0.5216 GB, free: 14.1 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.373e-05/0.4788, allocations: 19.22 kB / 0.5216 GB, free: 14.09 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4788, allocations: 0 / 0.5216 GB, free: 14.09 MB / 414.1 MB Notification: Performance of Templates: time 0.01021/0.489, allocations: 6.108 MB / 0.5275 GB, free: 8.434 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)