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.00153/0.00153, allocations: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00184/0.00184, allocations: 210 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002365/0.002365, allocations: 60.14 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2935, allocations: 50.55 MB / 409.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002193/0.2957, allocations: 1.367 MB / 411.3 MB, free: 208 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00504/0.3008, allocations: 4.031 MB / 415.3 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.198e-05/0.3008, allocations: 0 / 415.3 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.284e-05/0.3008, allocations: 11.92 kB / 415.3 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009175/0.3018, allocations: 275 kB / 415.6 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.3028, allocations: 0.4939 MB / 416.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.431e-05/0.3029, allocations: 55.66 kB / 416.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.511e-05/0.303, allocations: 8 kB / 416.2 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.3031, allocations: 39.84 kB / 416.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006585/0.3038, allocations: 355 kB / 416.5 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.3038, allocations: 4 kB / 416.5 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009377/0.3047, allocations: 0.6044 MB / 417.1 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.233e-05/0.3048, allocations: 4 kB / 417.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.138e-05/0.3048, allocations: 19.88 kB / 417.2 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006667/0.3055, allocations: 452.5 kB / 417.6 MB, free: 9.855 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3055, allocations: 0 / 417.6 MB, free: 9.855 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3055, allocations: 0 / 417.6 MB, free: 9.855 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.3055, allocations: 3.938 kB / 417.6 MB, free: 9.852 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.0005184/0.306, allocations: 451.2 kB / 418.1 MB, free: 9.363 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.3061, allocations: 8.031 kB / 418.1 MB, free: 9.355 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.3061, allocations: 8.844 kB / 418.1 MB, free: 9.348 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.3063, allocations: 184.2 kB / 418.3 MB, free: 9.129 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.3063, allocations: 4.375 kB / 418.3 MB, free: 9.125 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.3064, allocations: 7.938 kB / 418.3 MB, free: 9.117 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.3065, allocations: 63.39 kB / 418.3 MB, free: 9.043 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.3065, allocations: 0 / 418.3 MB, free: 9.043 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.3066, allocations: 0 / 418.3 MB, free: 9.043 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.3066, allocations: 4 kB / 418.3 MB, free: 9.039 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.536e-05/0.3067, allocations: 19.92 kB / 418.3 MB, free: 9.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000178/0.3068, allocations: 170.6 kB / 418.5 MB, free: 8.801 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000271/0.3071, allocations: 89.06 kB / 418.6 MB, free: 8.695 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.552e-05/0.3072, allocations: 21.77 kB / 418.6 MB, free: 8.668 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001041/0.3082, allocations: 1.54 MB / 420.2 MB, free: 6.777 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.3083, allocations: 30.56 kB / 420.2 MB, free: 6.738 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.3083, allocations: 0 / 420.2 MB, free: 6.738 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003048/0.3086, allocations: 85.59 kB / 420.3 MB, free: 6.648 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.3087, allocations: 81.11 kB / 420.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.056e-05/0.3088, allocations: 109.8 kB / 420.5 MB, free: 6.434 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.3088, allocations: 25.7 kB / 420.5 MB, free: 6.402 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.571e-05/0.3088, allocations: 88.12 kB / 420.6 MB, free: 6.312 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.3089, allocations: 23.66 kB / 420.6 MB, free: 6.289 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.3089, allocations: 21.7 kB / 420.6 MB, free: 6.262 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.309, allocations: 318.8 kB / 420.9 MB, free: 5.941 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.951e-05/0.3091, allocations: 15.98 kB / 420.9 MB, free: 5.926 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.697e-05/0.3092, allocations: 39.36 kB / 421 MB, free: 5.875 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.3093, allocations: 63.78 kB / 421 MB, free: 5.801 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3093, allocations: 0 / 421 MB, free: 5.801 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000198/0.3095, allocations: 89.39 kB / 421.1 MB, free: 5.707 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.3095, allocations: 4 kB / 421.1 MB, free: 5.703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3095, allocations: 4 kB / 421.1 MB, free: 5.699 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.3096, allocations: 3.984 kB / 421.1 MB, free: 5.695 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.619e-05/0.3096, allocations: 12 kB / 421.2 MB, free: 5.684 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3096, allocations: 7.938 kB / 421.2 MB, free: 5.676 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.584e-05/0.3097, allocations: 8.047 kB / 421.2 MB, free: 5.668 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.3097, allocations: 8 kB / 421.2 MB, free: 5.66 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 7.99e-05/0.3098, allocations: 125.6 kB / 421.3 MB, free: 5.527 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.981e-05/0.3098, allocations: 3.906 kB / 421.3 MB, free: 5.523 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003406/0.3102, allocations: 125.1 kB / 421.4 MB, free: 5.391 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.3102, allocations: 4 kB / 421.4 MB, free: 5.387 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3102, allocations: 3.938 kB / 421.4 MB, free: 5.383 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.3102, allocations: 4 kB / 421.4 MB, free: 5.379 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.3104, allocations: 173.6 kB / 421.6 MB, free: 5.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.3104, allocations: 4 kB / 421.6 MB, free: 5.156 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.647e-05/0.3104, allocations: 11.98 kB / 421.6 MB, free: 5.145 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3105, allocations: 0 / 421.6 MB, free: 5.145 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.3105, allocations: 4 kB / 421.6 MB, free: 5.141 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3105, allocations: 0 / 421.6 MB, free: 5.141 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3105, allocations: 3.938 kB / 421.6 MB, free: 5.137 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002929/0.3108, allocations: 145.8 kB / 421.8 MB, free: 4.973 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.374e-05/0.3108, allocations: 93.03 kB / 421.9 MB, free: 4.863 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.3109, allocations: 0 / 421.9 MB, free: 4.863 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.947e-05/0.3109, allocations: 0 / 421.9 MB, free: 4.863 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.311, allocations: 11.98 kB / 421.9 MB, free: 4.852 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.311, allocations: 4 kB / 421.9 MB, free: 4.848 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.627e-05/0.311, allocations: 91.34 kB / 422 MB, free: 4.758 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3111, allocations: 0 / 422 MB, free: 4.758 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004254/0.3115, allocations: 135.8 kB / 422.1 MB, free: 4.625 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.0006534/0.3121, allocations: 293.5 kB / 422.4 MB, free: 4.34 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002058/0.3124, allocations: 47.91 kB / 422.4 MB, free: 4.293 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3124, allocations: 0 / 422.4 MB, free: 4.293 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.809e-05/0.3125, allocations: 32.11 kB / 422.5 MB, free: 4.262 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001966/0.3127, allocations: 22.09 kB / 422.5 MB, free: 4.242 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000508/0.3132, allocations: 312.3 kB / 422.8 MB, free: 3.902 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.3134, allocations: 0.6924 MB / 423.5 MB, free: 3.184 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.004e-05/0.3135, allocations: 23.42 kB / 423.5 MB, free: 3.16 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3135, allocations: 3.938 kB / 423.5 MB, free: 3.156 MB / 334.1 MB Notification: Performance of Templates: time 0.005154/0.3187, allocations: 2.911 MB / 426.4 MB, free: 268 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)