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.0009536/0.0009535, allocations: 190.7 kB / 17.37 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.216/1.216, allocations: 226.5 MB / 244.7 MB, free: 6.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007281/0.0007281, allocations: 95.78 kB / 296.8 MB, free: 6.691 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002101/0.0002101, allocations: 8 kB / 356.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2014, allocations: 51.3 MB / 408 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001096/0.2025, allocations: 1.08 MB / 409.1 MB, free: 26.62 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003664/0.2062, allocations: 3.774 MB / 412.9 MB, free: 22.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.435e-05/0.2063, allocations: 0 / 412.9 MB, free: 22.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.821e-05/0.2063, allocations: 3.938 kB / 412.9 MB, free: 22.83 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000741/0.207, allocations: 238.2 kB / 413.1 MB, free: 22.6 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008484/0.2079, allocations: 422.5 kB / 413.5 MB, free: 22.19 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.771e-05/0.208, allocations: 55.72 kB / 413.6 MB, free: 22.14 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.316e-05/0.208, allocations: 0 / 413.6 MB, free: 22.14 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.442e-05/0.2081, allocations: 35.84 kB / 413.6 MB, free: 22.1 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005896/0.2087, allocations: 387.5 kB / 414 MB, free: 21.72 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.2087, allocations: 4 kB / 414 MB, free: 21.72 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007047/0.2094, allocations: 0.5263 MB / 414.5 MB, free: 21.19 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.25e-05/0.2095, allocations: 7.984 kB / 414.5 MB, free: 21.18 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.409e-05/0.2095, allocations: 45.58 kB / 414.6 MB, free: 21.13 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003832/0.2099, allocations: 308.4 kB / 414.9 MB, free: 20.83 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2099, allocations: 7.984 kB / 414.9 MB, free: 20.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2099, allocations: 0 / 414.9 MB, free: 20.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.197e-06/0.2099, allocations: 4 kB / 414.9 MB, free: 20.82 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.0004055/0.2103, allocations: 431.2 kB / 415.3 MB, free: 20.35 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.2104, allocations: 8.031 kB / 415.3 MB, free: 20.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.241e-05/0.2104, allocations: 8.844 kB / 415.3 MB, free: 20.34 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.2106, allocations: 188.3 kB / 415.5 MB, free: 20.11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.2106, allocations: 384 / 415.5 MB, free: 20.11 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.2106, allocations: 11.84 kB / 415.5 MB, free: 20.1 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.2108, allocations: 67.33 kB / 415.6 MB, free: 20.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.2108, allocations: 0 / 415.6 MB, free: 20.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.2108, allocations: 4 kB / 415.6 MB, free: 20.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2108, allocations: 0 / 415.6 MB, free: 20.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.257e-05/0.2109, allocations: 19.98 kB / 415.6 MB, free: 20 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001346/0.211, allocations: 170.5 kB / 415.8 MB, free: 19.78 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002531/0.2113, allocations: 89.05 kB / 415.9 MB, free: 19.68 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.629e-05/0.2114, allocations: 29.77 kB / 415.9 MB, free: 19.64 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006183/0.212, allocations: 1.536 MB / 417.4 MB, free: 17.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.339e-05/0.212, allocations: 38.5 kB / 417.5 MB, free: 17.71 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.212, allocations: 0 / 417.5 MB, free: 17.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002365/0.2123, allocations: 77.66 kB / 417.6 MB, free: 17.62 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.2123, allocations: 85.05 kB / 417.6 MB, free: 17.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.567e-05/0.2124, allocations: 109.8 kB / 417.7 MB, free: 17.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.507e-06/0.2124, allocations: 29.7 kB / 417.8 MB, free: 17.37 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.977e-05/0.2124, allocations: 88.08 kB / 417.9 MB, free: 17.28 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.967e-05/0.2124, allocations: 27.64 kB / 417.9 MB, free: 17.25 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.2125, allocations: 0 / 417.9 MB, free: 17.25 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.586e-05/0.2125, allocations: 322.8 kB / 418.2 MB, free: 16.93 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.749e-05/0.2126, allocations: 8 kB / 418.2 MB, free: 16.92 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.153e-05/0.2126, allocations: 39.42 kB / 418.2 MB, free: 16.87 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.2127, allocations: 67.34 kB / 418.3 MB, free: 16.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2127, allocations: 0 / 418.3 MB, free: 16.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001474/0.2129, allocations: 81.45 kB / 418.4 MB, free: 16.71 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.2129, allocations: 8 kB / 418.4 MB, free: 16.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2129, allocations: 0 / 418.4 MB, free: 16.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.2129, allocations: 0 / 418.4 MB, free: 16.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.021e-05/0.213, allocations: 27.92 kB / 418.4 MB, free: 16.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.213, allocations: 0 / 418.4 MB, free: 16.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.107e-05/0.2131, allocations: 4 kB / 418.4 MB, free: 16.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.2131, allocations: 4.062 kB / 418.4 MB, free: 16.66 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.744e-05/0.2131, allocations: 121.8 kB / 418.6 MB, free: 16.54 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.187e-05/0.2131, allocations: 7.906 kB / 418.6 MB, free: 16.53 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002685/0.2134, allocations: 120.8 kB / 418.7 MB, free: 16.4 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.2134, allocations: 0.5625 kB / 418.7 MB, free: 16.4 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.2134, allocations: 8 kB / 418.7 MB, free: 16.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2135, allocations: 0 / 418.7 MB, free: 16.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.807e-05/0.2136, allocations: 173.6 kB / 418.9 MB, free: 16.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2136, allocations: 0 / 418.9 MB, free: 16.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.009e-05/0.2136, allocations: 11.98 kB / 418.9 MB, free: 16.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2136, allocations: 0 / 418.9 MB, free: 16.16 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.2137, allocations: 7.984 kB / 418.9 MB, free: 16.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2137, allocations: 0 / 418.9 MB, free: 16.16 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2137, allocations: 0 / 418.9 MB, free: 16.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.2139, allocations: 149.7 kB / 419 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.114e-05/0.214, allocations: 101 kB / 419.1 MB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.214, allocations: 4 kB / 419.1 MB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.699e-05/0.214, allocations: 0 / 419.1 MB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.2141, allocations: 7.984 kB / 419.1 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.2141, allocations: 4 kB / 419.1 MB, free: 15.86 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.136e-05/0.2141, allocations: 99.31 kB / 419.2 MB, free: 15.76 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2141, allocations: 3.938 kB / 419.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000363/0.2145, allocations: 127.9 kB / 419.4 MB, free: 15.63 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.0005335/0.215, allocations: 289.9 kB / 419.6 MB, free: 15.35 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001697/0.2152, allocations: 48.69 kB / 419.7 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2152, allocations: 0 / 419.7 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.35e-05/0.2153, allocations: 32.05 kB / 419.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.2155, allocations: 11.94 kB / 419.7 MB, free: 15.26 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000452/0.216, allocations: 383 kB / 420.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.769e-05/0.2161, allocations: 0.6887 MB / 420.8 MB, free: 14.13 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.952e-05/0.2161, allocations: 23.42 kB / 420.8 MB, free: 14.11 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2161, allocations: 0 / 420.8 MB, free: 14.11 MB / 298.7 MB Notification: Performance of Templates: time 0.00388/0.22, allocations: 2.921 MB / 423.7 MB, free: 11.21 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)