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.001514/0.001514, allocations: 117.2 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001774/0.001774, allocations: 202.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 59.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.2032, allocations: 50.55 MB / 409.9 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002312/0.2055, allocations: 1.374 MB / 411.3 MB, free: 188 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004983/0.2105, allocations: 4.027 MB / 415.3 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.492e-05/0.2106, allocations: 0 / 415.3 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.297e-05/0.2106, allocations: 7.922 kB / 415.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009472/0.2116, allocations: 279 kB / 415.6 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.2126, allocations: 0.49 MB / 416.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.132e-05/0.2127, allocations: 63.66 kB / 416.2 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.085e-05/0.2128, allocations: 0 / 416.2 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.2129, allocations: 43.84 kB / 416.2 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006677/0.2136, allocations: 359.3 kB / 416.6 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.2136, allocations: 3.938 kB / 416.6 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.2146, allocations: 0.5967 MB / 417.2 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.474e-05/0.2146, allocations: 7.984 kB / 417.2 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.87e-05/0.2147, allocations: 23.88 kB / 417.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007426/0.2154, allocations: 462.7 kB / 417.6 MB, free: 9.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2154, allocations: 4 kB / 417.6 MB, free: 9.816 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2154, allocations: 0 / 417.6 MB, free: 9.816 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.2155, allocations: 0 / 417.6 MB, free: 9.816 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.0005066/0.216, allocations: 450.4 kB / 418.1 MB, free: 9.328 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.216, allocations: 8.031 kB / 418.1 MB, free: 9.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.551e-05/0.2161, allocations: 8.938 kB / 418.1 MB, free: 9.312 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.2163, allocations: 188.2 kB / 418.3 MB, free: 9.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.774e-06/0.2163, allocations: 384 / 418.3 MB, free: 9.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.2163, allocations: 7.938 kB / 418.3 MB, free: 9.082 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.2164, allocations: 63.33 kB / 418.4 MB, free: 9.008 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.2165, allocations: 0 / 418.4 MB, free: 9.008 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.2165, allocations: 7.984 kB / 418.4 MB, free: 9 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2165, allocations: 0 / 418.4 MB, free: 9 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.141e-05/0.2166, allocations: 19.98 kB / 418.4 MB, free: 8.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001797/0.2168, allocations: 170.6 kB / 418.5 MB, free: 8.762 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.217, allocations: 81.06 kB / 418.6 MB, free: 8.664 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.7e-05/0.2171, allocations: 25.78 kB / 418.7 MB, free: 8.633 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009221/0.218, allocations: 1.544 MB / 420.2 MB, free: 6.738 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.2181, allocations: 38.5 kB / 420.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.2181, allocations: 0 / 420.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002833/0.2184, allocations: 81.61 kB / 420.3 MB, free: 6.605 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.2184, allocations: 81.05 kB / 420.4 MB, free: 6.508 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.236e-05/0.2185, allocations: 117.8 kB / 420.5 MB, free: 6.383 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.2185, allocations: 29.7 kB / 420.5 MB, free: 6.348 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.235e-05/0.2186, allocations: 84.12 kB / 420.6 MB, free: 6.262 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/0.2186, allocations: 23.8 kB / 420.6 MB, free: 6.238 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.2186, allocations: 17.72 kB / 420.7 MB, free: 6.215 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.2188, allocations: 322.8 kB / 421 MB, free: 5.891 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.917e-05/0.2188, allocations: 11.98 kB / 421 MB, free: 5.879 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.766e-05/0.2189, allocations: 39.42 kB / 421 MB, free: 5.828 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.219, allocations: 55.36 kB / 421.1 MB, free: 5.762 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.219, allocations: 0 / 421.1 MB, free: 5.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001976/0.2192, allocations: 93.53 kB / 421.2 MB, free: 5.664 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.2193, allocations: 8 kB / 421.2 MB, free: 5.656 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2193, allocations: 0 / 421.2 MB, free: 5.656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.2193, allocations: 480 / 421.2 MB, free: 5.656 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.301e-05/0.2194, allocations: 19.92 kB / 421.2 MB, free: 5.637 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.2194, allocations: 7.938 kB / 421.2 MB, free: 5.629 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.268e-05/0.2194, allocations: 0 / 421.2 MB, free: 5.629 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.2195, allocations: 7.984 kB / 421.2 MB, free: 5.621 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.527e-05/0.2195, allocations: 117.8 kB / 421.3 MB, free: 5.496 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.08e-05/0.2196, allocations: 15.92 kB / 421.3 MB, free: 5.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003215/0.2199, allocations: 117.1 kB / 421.5 MB, free: 5.355 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.2199, allocations: 0 / 421.5 MB, free: 5.355 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2199, allocations: 3.938 kB / 421.5 MB, free: 5.352 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.217e-05/0.22, allocations: 93.03 kB / 421.6 MB, free: 5.242 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.22, allocations: 4 kB / 421.6 MB, free: 5.238 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.441e-05/0.22, allocations: 11.98 kB / 421.6 MB, free: 5.227 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.2201, allocations: 11.94 kB / 421.6 MB, free: 5.215 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004171/0.2205, allocations: 256.1 kB / 421.8 MB, free: 4.957 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003522/0.2209, allocations: 366 kB / 422.2 MB, free: 4.582 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.632e-05/0.221, allocations: 24.02 kB / 422.2 MB, free: 4.559 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.78e-05/0.221, allocations: 91.27 kB / 422.3 MB, free: 4.469 MB / 334.1 MB Notification: Performance of Backend: time 2.3e-07/0.221, allocations: 0 / 422.3 MB, free: 4.469 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009929/0.222, allocations: 325.6 kB / 422.6 MB, free: 4.152 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006166/0.2226, allocations: 0.7366 MB / 423.4 MB, free: 3.367 MB / 334.1 MB Notification: Performance of Templates: time 0.006619/0.2293, allocations: 3.503 MB / 426.9 MB, free: 15.89 MB / 350.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)