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.00527/0.00527, allocations: 98.36 kB / 15.73 MB, free: 5.602 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.001222/0.001222, allocations: 194.8 kB / 16.68 MB, free: 5.523 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.346/1.346, allocations: 205.1 MB / 222.6 MB, free: 4.387 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.001177/0.001177, allocations: 50.08 kB / 326.5 MB, free: 14.58 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0873/0.08848, allocations: 46.63 MB / 373.2 MB, free: 1.418 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.002375/0.09089, allocations: 1.361 MB / 374.5 MB, free: 44 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.3625/0.4534, allocations: 150.8 MB / 0.513 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.432e-05/0.4535, allocations: 0 / 0.513 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.198e-05/0.4536, allocations: 3.938 kB / 0.513 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001238/0.4548, allocations: 359.1 kB / 0.5133 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001723/0.4566, allocations: 0.8029 MB / 0.5141 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.4567, allocations: 77.42 kB / 0.5142 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.01e-05/0.4567, allocations: 5.906 kB / 0.5142 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.257e-05/0.4568, allocations: 33.23 kB / 0.5142 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.002e-05/0.4569, allocations: 35.98 kB / 0.5142 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.4569, allocations: 2.594 kB / 0.5143 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002211/0.4591, allocations: 1.404 MB / 0.5156 GB, free: 2.918 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.37e-05/0.4592, allocations: 20 kB / 0.5156 GB, free: 2.906 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.43e-05/0.4593, allocations: 35.61 kB / 0.5157 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001159/0.4604, allocations: 0.854 MB / 0.5165 GB, free: 2.523 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.4604, allocations: 0 / 0.5165 GB, free: 2.523 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4604, allocations: 0 / 0.5165 GB, free: 2.523 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.4605, allocations: 0 / 0.5165 GB, free: 2.523 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.0006369/0.4611, allocations: 491.6 kB / 0.517 GB, free: 2.066 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.4611, allocations: 8.812 kB / 0.517 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002908/0.4614, allocations: 31.31 kB / 0.517 GB, free: 2.059 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.4616, allocations: 202.3 kB / 0.5172 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.4617, allocations: 4.562 kB / 0.5172 GB, free: 1.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.4617, allocations: 14.55 kB / 0.5172 GB, free: 1.828 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.4618, allocations: 76.14 kB / 0.5173 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.4619, allocations: 0 / 0.5173 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.4619, allocations: 0 / 0.5173 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.4619, allocations: 0 / 0.5173 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.602e-05/0.462, allocations: 41.5 kB / 0.5173 GB, free: 1.766 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002316/0.4622, allocations: 208.7 kB / 0.5175 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002946/0.4625, allocations: 106.1 kB / 0.5176 GB, free: 1.488 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.657e-05/0.4626, allocations: 37.77 kB / 0.5177 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005509/0.4632, allocations: 146.9 kB / 0.5178 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.4632, allocations: 41.19 kB / 0.5179 GB, free: 1.293 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.4632, allocations: 0 / 0.5179 GB, free: 1.293 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003567/0.4636, allocations: 118.3 kB / 0.518 GB, free: 1.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.4637, allocations: 77.11 kB / 0.518 GB, free: 1.137 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.4638, allocations: 146.2 kB / 0.5182 GB, free: 1.016 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.4638, allocations: 25.7 kB / 0.5182 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.141e-05/0.4639, allocations: 86.98 kB / 0.5183 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.658e-05/0.4639, allocations: 26.31 kB / 0.5183 GB, free: 0.875 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.722e-05/0.464, allocations: 22.02 kB / 0.5183 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.4641, allocations: 322.1 kB / 0.5186 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.547e-05/0.4641, allocations: 21.3 kB / 0.5187 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.533e-05/0.4642, allocations: 52.03 kB / 0.5187 GB, free: 496 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.4644, allocations: 83.34 kB / 0.5188 GB, free: 440 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.4644, allocations: 0 / 0.5188 GB, free: 440 kB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002385/0.4646, allocations: 116.1 kB / 0.5189 GB, free: 368 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.4647, allocations: 7.781 kB / 0.5189 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.4647, allocations: 4.484 kB / 0.5189 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.4647, allocations: 1.781 kB / 0.5189 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.007e-05/0.4648, allocations: 16.67 kB / 0.5189 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.4648, allocations: 0 / 0.5189 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.063e-05/0.4648, allocations: 6.969 kB / 0.5189 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.4649, allocations: 7.812 kB / 0.5189 GB, free: 352 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.315e-05/0.4649, allocations: 118.2 kB / 0.5191 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.247e-05/0.465, allocations: 10.92 kB / 0.5191 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002415/0.4652, allocations: 111.9 kB / 0.5192 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.4653, allocations: 2.844 kB / 0.5192 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.4653, allocations: 0 / 0.5192 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.4653, allocations: 0 / 0.5192 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.4654, allocations: 192.6 kB / 0.5194 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.4655, allocations: 0 / 0.5194 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.868e-05/0.4655, allocations: 13.34 kB / 0.5194 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4655, allocations: 0 / 0.5194 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.4656, allocations: 3.625 kB / 0.5194 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.4656, allocations: 7.922 kB / 0.5194 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.4656, allocations: 0 / 0.5194 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000336/0.4659, allocations: 166.1 kB / 0.5195 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.091e-05/0.466, allocations: 97.17 kB / 0.5196 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.466, allocations: 4 kB / 0.5196 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.414e-05/0.4661, allocations: 2.906 kB / 0.5196 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.4661, allocations: 6.703 kB / 0.5196 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.4661, allocations: 6.125 kB / 0.5197 GB, free: 15.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.392e-05/0.4662, allocations: 110.8 kB / 0.5198 GB, free: 15.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4662, allocations: 0 / 0.5198 GB, free: 15.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005465/0.4668, allocations: 204.6 kB / 0.52 GB, free: 15.54 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.00111/0.4679, allocations: 0.5297 MB / 0.5205 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002095/0.4681, allocations: 65.03 kB / 0.5205 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4681, allocations: 0 / 0.5205 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.266e-05/0.4682, allocations: 30.19 kB / 0.5206 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.4685, allocations: 27.47 kB / 0.5206 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005207/0.469, allocations: 304.3 kB / 0.5209 GB, free: 14.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.4693, allocations: 0.6891 MB / 0.5216 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.607e-05/0.4693, allocations: 19.23 kB / 0.5216 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.33e-05/0.4694, allocations: 18.69 kB / 0.5216 GB, free: 14.22 MB / 414.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4694, allocations: 0 / 0.5216 GB, free: 14.22 MB / 414.1 MB Notification: Performance of Templates: time 0.0101/0.4795, allocations: 6.111 MB / 0.5276 GB, free: 8.539 MB / 414.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)