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.0008307/0.0008308, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.000849/0.000849, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 205.4 MB / 222.1 MB, free: 5.879 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.0004452/0.0004452, allocations: 16 kB / 278.9 MB, free: 13.06 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2189, allocations: 47.58 MB / 326.5 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_TX): time 0.001037/0.22, allocations: 1.076 MB / 327.5 MB, free: 0.5234 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.338/0.558, allocations: 136.9 MB / 464.5 MB, free: 1.922 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.408e-05/0.5582, allocations: 0 / 464.5 MB, free: 1.922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.807e-05/0.5582, allocations: 2.906 kB / 464.5 MB, free: 1.922 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009507/0.5592, allocations: 249.1 kB / 464.7 MB, free: 1.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001584/0.5608, allocations: 0.5865 MB / 465.3 MB, free: 1.883 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.5609, allocations: 86.28 kB / 465.4 MB, free: 1.883 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.163e-05/0.561, allocations: 1.188 kB / 465.4 MB, free: 1.883 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.872e-05/0.5611, allocations: 32.48 kB / 465.4 MB, free: 1.883 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.5612, allocations: 36.31 kB / 465.4 MB, free: 1.883 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.5612, allocations: 2.812 kB / 465.4 MB, free: 1.883 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002466/0.5637, allocations: 1.048 MB / 466.5 MB, free: 1.867 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.453e-05/0.5637, allocations: 18.09 kB / 466.5 MB, free: 1.867 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.887e-05/0.5638, allocations: 35.08 kB / 466.5 MB, free: 1.836 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008655/0.5646, allocations: 0.5235 MB / 467.1 MB, free: 1.809 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.5647, allocations: 0 / 467.1 MB, free: 1.809 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5647, allocations: 1.859 kB / 467.1 MB, free: 1.809 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.5647, allocations: 0 / 467.1 MB, free: 1.809 MB / 382.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.0006515/0.5653, allocations: 477.2 kB / 467.5 MB, free: 17.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.5654, allocations: 11.25 kB / 467.5 MB, free: 17.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000293/0.5657, allocations: 28.92 kB / 467.6 MB, free: 17.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.5659, allocations: 195.3 kB / 467.8 MB, free: 17.17 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.5659, allocations: 6.625 kB / 467.8 MB, free: 17.17 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.5659, allocations: 6.375 kB / 467.8 MB, free: 17.17 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.5661, allocations: 68.03 kB / 467.8 MB, free: 17.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.5661, allocations: 0 / 467.8 MB, free: 17.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.5661, allocations: 3.562 kB / 467.8 MB, free: 17.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.5661, allocations: 4 kB / 467.8 MB, free: 17.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.304e-05/0.5662, allocations: 44.5 kB / 467.9 MB, free: 17.12 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002318/0.5665, allocations: 204.5 kB / 468.1 MB, free: 16.92 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002652/0.5667, allocations: 117 kB / 468.2 MB, free: 16.87 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.324e-05/0.5668, allocations: 34.17 kB / 468.2 MB, free: 16.85 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004389/0.5673, allocations: 134.5 kB / 468.4 MB, free: 16.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.5673, allocations: 37.19 kB / 468.4 MB, free: 16.71 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 2.134e-06/0.5673, allocations: 0 / 468.4 MB, free: 16.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003076/0.5676, allocations: 123 kB / 468.5 MB, free: 16.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.5677, allocations: 80.98 kB / 468.6 MB, free: 16.58 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.934e-05/0.5678, allocations: 140.5 kB / 468.7 MB, free: 16.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.5678, allocations: 32.8 kB / 468.8 MB, free: 16.45 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.385e-05/0.5678, allocations: 84.02 kB / 468.9 MB, free: 16.37 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.5679, allocations: 21.09 kB / 468.9 MB, free: 16.35 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/0.5679, allocations: 11.12 kB / 468.9 MB, free: 16.35 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.048e-05/0.568, allocations: 317.8 kB / 469.2 MB, free: 16.04 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.904e-05/0.568, allocations: 20.83 kB / 469.2 MB, free: 16.04 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.059e-05/0.5681, allocations: 53.78 kB / 469.3 MB, free: 16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.012e-05/0.5682, allocations: 29.73 kB / 469.3 MB, free: 16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5682, allocations: 7.953 kB / 469.3 MB, free: 15.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002106/0.5684, allocations: 103.1 kB / 469.4 MB, free: 15.96 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.5684, allocations: 6.25 kB / 469.4 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.5684, allocations: 3.188 kB / 469.4 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.5684, allocations: 3.125 kB / 469.4 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.237e-05/0.5685, allocations: 20.28 kB / 469.4 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.5685, allocations: 2.625 kB / 469.4 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.42e-05/0.5686, allocations: 10.34 kB / 469.5 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.5686, allocations: 7.438 kB / 469.5 MB, free: 15.95 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.078e-05/0.5687, allocations: 115.9 kB / 469.6 MB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.674e-05/0.5687, allocations: 10.14 kB / 469.6 MB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/0.5689, allocations: 112.2 kB / 469.7 MB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.569, allocations: 0 / 469.7 MB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.569, allocations: 0 / 469.7 MB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.569, allocations: 0 / 469.7 MB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.5691, allocations: 187.1 kB / 469.9 MB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.5691, allocations: 4.047 kB / 469.9 MB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.515e-05/0.5692, allocations: 24.38 kB / 469.9 MB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.5692, allocations: 0 / 469.9 MB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.5692, allocations: 1.406 kB / 469.9 MB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.5692, allocations: 3.406 kB / 469.9 MB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5692, allocations: 3 kB / 469.9 MB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002856/0.5695, allocations: 156.3 kB / 470.1 MB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.082e-05/0.5696, allocations: 101 kB / 470.2 MB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.5696, allocations: 3.953 kB / 470.2 MB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.962e-05/0.5697, allocations: 8.719 kB / 470.2 MB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.5697, allocations: 5.422 kB / 470.2 MB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.5697, allocations: 2.844 kB / 470.2 MB, free: 15.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.168e-05/0.5698, allocations: 120.8 kB / 470.3 MB, free: 15.33 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5698, allocations: 0 / 470.3 MB, free: 15.33 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005731/0.5704, allocations: 196.7 kB / 470.5 MB, free: 15.3 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009484/0.5713, allocations: 450.7 kB / 470.9 MB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001752/0.5715, allocations: 63.95 kB / 471 MB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5715, allocations: 0 / 471 MB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.078e-05/0.5716, allocations: 33.39 kB / 471 MB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.5718, allocations: 20.53 kB / 471 MB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004552/0.5723, allocations: 372.3 kB / 471.4 MB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.5726, allocations: 0.6864 MB / 472.1 MB, free: 14.19 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.051e-05/0.5726, allocations: 20.7 kB / 472.1 MB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.063e-05/0.5727, allocations: 18.59 kB / 472.1 MB, free: 14.17 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.5727, allocations: 0 / 472.1 MB, free: 14.17 MB / 398.1 MB Notification: Performance of Templates: time 0.008521/0.5812, allocations: 5.841 MB / 478 MB, free: 13.57 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)