Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_cpp_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_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009158/0.0009158, allocations: 195.9 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.196/1.196, allocations: 226.6 MB / 244.3 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007322/0.0007322, allocations: 98.38 kB / 296.4 MB, free: 6.98 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000182/0.000182, allocations: 4 kB / 356.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1671, allocations: 51.3 MB / 407.5 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.0008729/0.1681, allocations: 1.076 MB / 408.6 MB, free: 26.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003014/0.1711, allocations: 3.76 MB / 412.3 MB, free: 22.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.697e-05/0.1711, allocations: 0 / 412.3 MB, free: 22.98 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.614e-05/0.1711, allocations: 7.922 kB / 412.3 MB, free: 22.97 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005734/0.1717, allocations: 232.3 kB / 412.6 MB, free: 22.74 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005381/0.1723, allocations: 382.1 kB / 412.9 MB, free: 22.37 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.615e-05/0.1723, allocations: 47.73 kB / 413 MB, free: 22.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.889e-05/0.1724, allocations: 3.984 kB / 413 MB, free: 22.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.942e-05/0.1724, allocations: 39.84 kB / 413 MB, free: 22.28 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004695/0.1729, allocations: 387.5 kB / 413.4 MB, free: 21.9 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.1729, allocations: 7.938 kB / 413.4 MB, free: 21.89 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005084/0.1735, allocations: 403.3 kB / 413.8 MB, free: 21.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.867e-06/0.1735, allocations: 15.94 kB / 413.8 MB, free: 21.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.48e-05/0.1735, allocations: 29.7 kB / 413.8 MB, free: 21.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000305/0.1738, allocations: 264.5 kB / 414.1 MB, free: 21.19 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1738, allocations: 0 / 414.1 MB, free: 21.19 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1738, allocations: 4 kB / 414.1 MB, free: 21.19 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.1738, allocations: 0 / 414.1 MB, free: 21.19 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.0003444/0.1742, allocations: 431 kB / 414.5 MB, free: 20.72 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.607e-05/0.1742, allocations: 8.031 kB / 414.5 MB, free: 20.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.705e-05/0.1742, allocations: 7.906 kB / 414.5 MB, free: 20.7 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.1744, allocations: 194.9 kB / 414.7 MB, free: 20.47 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.1744, allocations: 0 / 414.7 MB, free: 20.47 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.1744, allocations: 7.953 kB / 414.7 MB, free: 20.46 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.1745, allocations: 55.39 kB / 414.8 MB, free: 20.4 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.241e-06/0.1746, allocations: 0 / 414.8 MB, free: 20.4 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.1746, allocations: 8 kB / 414.8 MB, free: 20.39 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.1746, allocations: 0 / 414.8 MB, free: 20.39 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.456e-05/0.1746, allocations: 19.92 kB / 414.8 MB, free: 20.37 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001092/0.1748, allocations: 174.6 kB / 415 MB, free: 20.15 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.175, allocations: 77.12 kB / 415.1 MB, free: 20.05 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.285e-05/0.175, allocations: 25.77 kB / 415.1 MB, free: 20.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005101/0.1756, allocations: 1.544 MB / 416.6 MB, free: 18.13 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.1756, allocations: 38.56 kB / 416.7 MB, free: 18.08 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.963e-06/0.1756, allocations: 0 / 416.7 MB, free: 18.08 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002235/0.1758, allocations: 89.42 kB / 416.8 MB, free: 17.99 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.267e-05/0.1759, allocations: 85.09 kB / 416.8 MB, free: 17.89 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.385e-05/0.1759, allocations: 105.8 kB / 417 MB, free: 17.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.294e-06/0.1759, allocations: 29.7 kB / 417 MB, free: 17.74 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.536e-05/0.1759, allocations: 88.14 kB / 417.1 MB, free: 17.65 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/0.176, allocations: 23.66 kB / 417.1 MB, free: 17.62 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.176, allocations: 0 / 417.1 MB, free: 17.62 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.289e-05/0.176, allocations: 318.8 kB / 417.4 MB, free: 17.3 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.1e-05/0.1761, allocations: 11.98 kB / 417.4 MB, free: 17.29 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.911e-05/0.1761, allocations: 39.42 kB / 417.5 MB, free: 17.24 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.245e-05/0.1762, allocations: 23.94 kB / 417.5 MB, free: 17.22 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1762, allocations: 0 / 417.5 MB, free: 17.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000149/0.1764, allocations: 85.5 kB / 417.6 MB, free: 17.13 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.1764, allocations: 7.953 kB / 417.6 MB, free: 17.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.1764, allocations: 0 / 417.6 MB, free: 17.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.937e-06/0.1764, allocations: 7.938 kB / 417.6 MB, free: 17.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.073e-05/0.1765, allocations: 20.06 kB / 417.6 MB, free: 17.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1765, allocations: 7.922 kB / 417.6 MB, free: 17.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.114e-05/0.1765, allocations: 4 kB / 417.6 MB, free: 17.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.1765, allocations: 4 kB / 417.6 MB, free: 17.08 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 3.981e-05/0.1766, allocations: 109.8 kB / 417.7 MB, free: 16.96 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.197e-05/0.1766, allocations: 4 kB / 417.7 MB, free: 16.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002559/0.1769, allocations: 125.1 kB / 417.8 MB, free: 16.83 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.1769, allocations: 4 kB / 417.8 MB, free: 16.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1769, allocations: 3.984 kB / 417.9 MB, free: 16.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1769, allocations: 4 kB / 417.9 MB, free: 16.82 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.578e-05/0.177, allocations: 169.7 kB / 418 MB, free: 16.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.177, allocations: 3.984 kB / 418 MB, free: 16.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.269e-05/0.1771, allocations: 15.94 kB / 418 MB, free: 16.58 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1771, allocations: 0 / 418 MB, free: 16.58 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.1771, allocations: 0 / 418 MB, free: 16.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.1771, allocations: 11.95 kB / 418.1 MB, free: 16.57 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.1771, allocations: 0 / 418.1 MB, free: 16.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.1773, allocations: 137.8 kB / 418.2 MB, free: 16.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.159e-05/0.1773, allocations: 97.53 kB / 418.3 MB, free: 16.3 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.1774, allocations: 0 / 418.3 MB, free: 16.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.069e-05/0.1774, allocations: 11.92 kB / 418.3 MB, free: 16.29 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.538e-05/0.1774, allocations: 15.95 kB / 418.3 MB, free: 16.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.1775, allocations: 0 / 418.3 MB, free: 16.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.597e-05/0.1775, allocations: 91.27 kB / 418.4 MB, free: 16.18 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1775, allocations: 0 / 418.4 MB, free: 16.18 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003079/0.1778, allocations: 131.9 kB / 418.5 MB, free: 16.05 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.0004339/0.1782, allocations: 287.6 kB / 418.8 MB, free: 15.78 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001488/0.1784, allocations: 51.91 kB / 418.9 MB, free: 15.73 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.1784, allocations: 0 / 418.9 MB, free: 15.73 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.537e-05/0.1785, allocations: 23.98 kB / 418.9 MB, free: 15.7 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.1787, allocations: 8 kB / 418.9 MB, free: 15.7 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003639/0.179, allocations: 379.3 kB / 419.3 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.747e-05/0.1791, allocations: 0.6887 MB / 419.9 MB, free: 14.57 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.002e-05/0.1792, allocations: 23.36 kB / 420 MB, free: 14.55 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1792, allocations: 0 / 420 MB, free: 14.55 MB / 298.7 MB Notification: Performance of Templates: time 0.003662/0.1828, allocations: 2.915 MB / 422.9 MB, free: 11.66 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile (rm -f Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1)