Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h1|s1",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008093/0.0008093, allocations: 179.6 kB / 17.04 MB, free: 5.113 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.134/1.134, allocations: 223.3 MB / 241 MB, free: 10.1 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007679/0.0007679, allocations: 94.03 kB / 292.2 MB, free: 10.69 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002236/0.0002236, allocations: 11.94 kB / 351.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1671, allocations: 50.42 MB / 402.2 MB, free: 32.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.0009004/0.168, allocations: 1.064 MB / 403.3 MB, free: 31.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002924/0.171, allocations: 3.716 MB / 407 MB, free: 27.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.957e-05/0.171, allocations: 0 / 407 MB, free: 27.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.307e-05/0.171, allocations: 0 / 407 MB, free: 27.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006484/0.1717, allocations: 235.2 kB / 407.2 MB, free: 27.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005974/0.1723, allocations: 374.3 kB / 407.6 MB, free: 27.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.913e-05/0.1724, allocations: 55.66 kB / 407.6 MB, free: 27.11 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.086e-05/0.1724, allocations: 4 kB / 407.6 MB, free: 27.1 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.179e-05/0.1725, allocations: 35.84 kB / 407.7 MB, free: 27.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004693/0.173, allocations: 387.5 kB / 408.1 MB, free: 26.69 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.173, allocations: 0 / 408.1 MB, free: 26.69 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005083/0.1735, allocations: 414.1 kB / 408.5 MB, free: 26.29 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.395e-06/0.1735, allocations: 7.938 kB / 408.5 MB, free: 26.28 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.556e-05/0.1735, allocations: 29.7 kB / 408.5 MB, free: 26.24 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002962/0.1738, allocations: 269.1 kB / 408.8 MB, free: 25.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1738, allocations: 0 / 408.8 MB, free: 25.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1739, allocations: 4 kB / 408.8 MB, free: 25.98 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.1739, allocations: 0 / 408.8 MB, free: 25.98 MB / 298.7 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.0003314/0.1742, allocations: 435 kB / 409.2 MB, free: 25.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.566e-05/0.1742, allocations: 8.031 kB / 409.2 MB, free: 25.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.655e-05/0.1743, allocations: 7.906 kB / 409.2 MB, free: 25.49 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.1744, allocations: 182.9 kB / 409.4 MB, free: 25.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.1744, allocations: 4 kB / 409.4 MB, free: 25.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.1744, allocations: 0 / 409.4 MB, free: 25.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.1746, allocations: 67.39 kB / 409.4 MB, free: 25.19 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.503e-06/0.1746, allocations: 4 kB / 409.5 MB, free: 25.18 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.1746, allocations: 0 / 409.5 MB, free: 25.18 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.1746, allocations: 11.89 kB / 409.5 MB, free: 25.17 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.673e-05/0.1747, allocations: 19.92 kB / 409.5 MB, free: 25.15 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001079/0.1748, allocations: 166.6 kB / 409.6 MB, free: 24.94 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.175, allocations: 85.17 kB / 409.7 MB, free: 24.84 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.253e-05/0.1751, allocations: 25.77 kB / 409.8 MB, free: 24.8 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005269/0.1756, allocations: 1.544 MB / 411.3 MB, free: 22.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.488e-05/0.1756, allocations: 34.56 kB / 411.3 MB, free: 22.87 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.1756, allocations: 0 / 411.3 MB, free: 22.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002209/0.1758, allocations: 85.5 kB / 411.4 MB, free: 22.78 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.284e-05/0.1759, allocations: 85.05 kB / 411.5 MB, free: 22.68 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.415e-05/0.1759, allocations: 109.8 kB / 411.6 MB, free: 22.56 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.814e-06/0.176, allocations: 29.7 kB / 411.6 MB, free: 22.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.457e-05/0.176, allocations: 80.14 kB / 411.7 MB, free: 22.44 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.176, allocations: 23.66 kB / 411.7 MB, free: 22.42 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-06/0.176, allocations: 4 kB / 411.7 MB, free: 22.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.52e-05/0.1761, allocations: 322.8 kB / 412.1 MB, free: 22.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.797e-05/0.1761, allocations: 8 kB / 412.1 MB, free: 22.08 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.885e-05/0.1762, allocations: 39.41 kB / 412.1 MB, free: 22.03 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.155e-05/0.1762, allocations: 19.94 kB / 412.1 MB, free: 22.01 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1762, allocations: 4 kB / 412.1 MB, free: 22.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000143/0.1764, allocations: 89.5 kB / 412.2 MB, free: 21.91 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.1764, allocations: 6.812 kB / 412.2 MB, free: 21.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1764, allocations: 0 / 412.2 MB, free: 21.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.1764, allocations: 7.938 kB / 412.2 MB, free: 21.9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.899e-05/0.1765, allocations: 12 kB / 412.2 MB, free: 21.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1765, allocations: 3.984 kB / 412.2 MB, free: 21.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.101e-05/0.1765, allocations: 7.953 kB / 412.3 MB, free: 21.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.1766, allocations: 4.062 kB / 412.3 MB, free: 21.88 MB / 298.7 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 4.234e-05/0.1766, allocations: 117.8 kB / 412.4 MB, free: 21.75 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.12e-05/0.1766, allocations: 4 kB / 412.4 MB, free: 21.75 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002605/0.1769, allocations: 120.6 kB / 412.5 MB, free: 21.62 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.1769, allocations: 4 kB / 412.5 MB, free: 21.62 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.1769, allocations: 4 kB / 412.5 MB, free: 21.62 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1769, allocations: 4.547 kB / 412.5 MB, free: 21.61 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.256e-05/0.177, allocations: 169.6 kB / 412.7 MB, free: 21.4 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.177, allocations: 0 / 412.7 MB, free: 21.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.041e-05/0.1771, allocations: 15.98 kB / 412.7 MB, free: 21.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1771, allocations: 4 kB / 412.7 MB, free: 21.38 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.1771, allocations: 0 / 412.7 MB, free: 21.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1771, allocations: 3.938 kB / 412.7 MB, free: 21.38 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1771, allocations: 3.938 kB / 412.7 MB, free: 21.37 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002077/0.1773, allocations: 153.8 kB / 412.8 MB, free: 21.2 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.987e-05/0.1774, allocations: 96.97 kB / 412.9 MB, free: 21.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.1774, allocations: 0 / 412.9 MB, free: 21.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.997e-05/0.1774, allocations: 7.984 kB / 412.9 MB, free: 21.08 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.647e-05/0.1775, allocations: 8 kB / 413 MB, free: 21.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.1775, allocations: 4 kB / 413 MB, free: 21.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.519e-05/0.1775, allocations: 91.33 kB / 413 MB, free: 20.98 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1775, allocations: 4 kB / 413.1 MB, free: 20.97 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003014/0.1778, allocations: 127.9 kB / 413.2 MB, free: 20.85 MB / 298.7 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0004049/0.1782, allocations: 282.1 kB / 413.5 MB, free: 20.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000149/0.1784, allocations: 47.91 kB / 413.5 MB, free: 20.52 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.1784, allocations: 0 / 413.5 MB, free: 20.52 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.556e-05/0.1785, allocations: 28.11 kB / 413.5 MB, free: 20.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/0.1786, allocations: 23.92 kB / 413.6 MB, free: 20.47 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00036/0.179, allocations: 371.5 kB / 413.9 MB, free: 20.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.429e-05/0.1791, allocations: 0.6809 MB / 414.6 MB, free: 19.36 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.598e-05/0.1791, allocations: 31.36 kB / 414.6 MB, free: 19.33 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1791, allocations: 0 / 414.6 MB, free: 19.33 MB / 298.7 MB Notification: Performance of Templates: time 0.00342/0.1826, allocations: 2.868 MB / 417.5 MB, free: 16.49 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1)