Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001503/0.001503, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001838/0.001838, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 55.91 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2152, allocations: 50.54 MB / 409.2 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001966/0.2172, allocations: 1.367 MB / 410.6 MB, free: 236 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004495/0.2218, allocations: 4.027 MB / 414.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.059e-05/0.2218, allocations: 0 / 414.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.649e-05/0.2218, allocations: 3.938 kB / 414.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008166/0.2227, allocations: 290.9 kB / 414.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009764/0.2236, allocations: 497.8 kB / 415.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.456e-05/0.2237, allocations: 59.61 kB / 415.5 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.286e-05/0.2238, allocations: 7.984 kB / 415.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.953e-05/0.2239, allocations: 39.84 kB / 415.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005887/0.2245, allocations: 359 kB / 415.9 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.2245, allocations: 0 / 415.9 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008402/0.2253, allocations: 0.6044 MB / 416.5 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.79e-05/0.2254, allocations: 11.98 kB / 416.5 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.705e-05/0.2254, allocations: 15.88 kB / 416.5 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006268/0.226, allocations: 456.5 kB / 416.9 MB, free: 9.875 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.226, allocations: 0 / 416.9 MB, free: 9.875 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2261, allocations: 0 / 416.9 MB, free: 9.875 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.956e-06/0.2261, allocations: 0 / 416.9 MB, free: 9.875 MB / 334.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.0004883/0.2266, allocations: 435.2 kB / 417.4 MB, free: 9.402 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.2266, allocations: 12.03 kB / 417.4 MB, free: 9.391 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.357e-05/0.2266, allocations: 8.844 kB / 417.4 MB, free: 9.383 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.2268, allocations: 192.2 kB / 417.6 MB, free: 9.156 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.2269, allocations: 384 / 417.6 MB, free: 9.156 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.2269, allocations: 7.938 kB / 417.6 MB, free: 9.148 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.227, allocations: 63.33 kB / 417.6 MB, free: 9.074 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.227, allocations: 0 / 417.6 MB, free: 9.074 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.2271, allocations: 4 kB / 417.6 MB, free: 9.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.2271, allocations: 3.984 kB / 417.6 MB, free: 9.066 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.052e-05/0.2272, allocations: 27.91 kB / 417.7 MB, free: 9.039 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001647/0.2273, allocations: 166.6 kB / 417.8 MB, free: 8.824 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.2276, allocations: 81.17 kB / 417.9 MB, free: 8.727 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.712e-05/0.2277, allocations: 33.7 kB / 417.9 MB, free: 8.688 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009151/0.2286, allocations: 1.54 MB / 419.5 MB, free: 6.797 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.2286, allocations: 34.56 kB / 419.5 MB, free: 6.754 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.2286, allocations: 0 / 419.5 MB, free: 6.754 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002535/0.2289, allocations: 81.59 kB / 419.6 MB, free: 6.668 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.2289, allocations: 77.11 kB / 419.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.143e-05/0.229, allocations: 117.8 kB / 419.8 MB, free: 6.449 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.2291, allocations: 25.7 kB / 419.8 MB, free: 6.418 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.091e-05/0.2291, allocations: 88.14 kB / 419.9 MB, free: 6.328 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.2291, allocations: 23.64 kB / 419.9 MB, free: 6.305 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/0.2292, allocations: 21.72 kB / 419.9 MB, free: 6.277 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.572e-05/0.2293, allocations: 314.8 kB / 420.3 MB, free: 5.961 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.379e-05/0.2293, allocations: 12 kB / 420.3 MB, free: 5.949 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.325e-05/0.2294, allocations: 47.42 kB / 420.3 MB, free: 5.891 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.2295, allocations: 59.34 kB / 420.4 MB, free: 5.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2295, allocations: 0 / 420.4 MB, free: 5.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001763/0.2297, allocations: 97.42 kB / 420.5 MB, free: 5.719 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.2297, allocations: 6.812 kB / 420.5 MB, free: 5.715 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.2297, allocations: 4 kB / 420.5 MB, free: 5.711 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.2297, allocations: 480 / 420.5 MB, free: 5.711 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.622e-05/0.2298, allocations: 15.98 kB / 420.5 MB, free: 5.695 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.2298, allocations: 3.938 kB / 420.5 MB, free: 5.691 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.088e-05/0.2299, allocations: 4 kB / 420.5 MB, free: 5.688 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.2299, allocations: 4 kB / 420.5 MB, free: 5.684 MB / 334.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 6.787e-05/0.23, allocations: 121.7 kB / 420.6 MB, free: 5.555 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.23, allocations: 15.92 kB / 420.6 MB, free: 5.539 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003076/0.2303, allocations: 128.8 kB / 420.8 MB, free: 5.402 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.2303, allocations: 0 / 420.8 MB, free: 5.402 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.2303, allocations: 0 / 420.8 MB, free: 5.402 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2303, allocations: 0 / 420.8 MB, free: 5.402 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.2305, allocations: 177.6 kB / 420.9 MB, free: 5.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2305, allocations: 0 / 420.9 MB, free: 5.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.403e-05/0.2306, allocations: 16 kB / 421 MB, free: 5.164 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.2306, allocations: 3.984 kB / 421 MB, free: 5.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.2306, allocations: 4 kB / 421 MB, free: 5.156 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/0.2306, allocations: 7.938 kB / 421 MB, free: 5.148 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2306, allocations: 0 / 421 MB, free: 5.148 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/0.2309, allocations: 141.8 kB / 421.1 MB, free: 4.988 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.247e-05/0.2309, allocations: 89.06 kB / 421.2 MB, free: 4.883 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.2309, allocations: 8 kB / 421.2 MB, free: 4.875 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.003e-05/0.231, allocations: 3.984 kB / 421.2 MB, free: 4.871 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.231, allocations: 4 kB / 421.2 MB, free: 4.867 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.231, allocations: 4 kB / 421.2 MB, free: 4.863 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.219e-05/0.2311, allocations: 87.27 kB / 421.3 MB, free: 4.777 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2311, allocations: 0 / 421.3 MB, free: 4.777 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003748/0.2315, allocations: 135.9 kB / 421.4 MB, free: 4.645 MB / 334.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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0005404/0.232, allocations: 297.9 kB / 421.7 MB, free: 4.352 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001772/0.2322, allocations: 47.91 kB / 421.8 MB, free: 4.305 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2322, allocations: 0 / 421.8 MB, free: 4.305 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.871e-05/0.2323, allocations: 27.92 kB / 421.8 MB, free: 4.277 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/0.2325, allocations: 15.88 kB / 421.8 MB, free: 4.262 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004372/0.2329, allocations: 286.8 kB / 422.1 MB, free: 3.953 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.2332, allocations: 0.6924 MB / 422.8 MB, free: 3.234 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.345e-05/0.2332, allocations: 27.67 kB / 422.8 MB, free: 3.211 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.202e-05/0.2333, allocations: 19.42 kB / 422.8 MB, free: 3.191 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2333, allocations: 0 / 422.8 MB, free: 3.191 MB / 334.1 MB Notification: Performance of Templates: time 0.005868/0.2392, allocations: 3.051 MB / 425.9 MB, free: 168 kB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1)