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.001526/0.001527, allocations: 115.6 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002032/0.002032, allocations: 204.9 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.65/1.65, allocations: 227.4 MB / 247.6 MB, free: 10.58 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 63.89 kB / 359.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3053, allocations: 50.54 MB / 409.9 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002669/0.308, allocations: 1.371 MB / 411.3 MB, free: 252 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006039/0.3141, allocations: 4.023 MB / 415.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.177e-05/0.3142, allocations: 0 / 415.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.387e-05/0.3142, allocations: 0 / 415.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001168/0.3154, allocations: 290.9 kB / 415.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.3168, allocations: 497.9 kB / 416.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000115/0.3169, allocations: 51.67 kB / 416.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.325e-05/0.3169, allocations: 11.98 kB / 416.1 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.3171, allocations: 39.84 kB / 416.2 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007338/0.3178, allocations: 355 kB / 416.5 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.3179, allocations: 4 kB / 416.5 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/0.319, allocations: 0.6079 MB / 417.1 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.749e-05/0.3191, allocations: 7.984 kB / 417.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.616e-05/0.3191, allocations: 19.88 kB / 417.2 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009372/0.3201, allocations: 456.5 kB / 417.6 MB, free: 9.902 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3201, allocations: 0 / 417.6 MB, free: 9.902 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3201, allocations: 0 / 417.6 MB, free: 9.902 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.3201, allocations: 0 / 417.6 MB, free: 9.902 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.0006411/0.3207, allocations: 439.2 kB / 418 MB, free: 9.426 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.3208, allocations: 16.03 kB / 418.1 MB, free: 9.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.822e-05/0.3209, allocations: 4.844 kB / 418.1 MB, free: 9.406 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.3211, allocations: 184.3 kB / 418.2 MB, free: 9.188 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.3211, allocations: 4.375 kB / 418.2 MB, free: 9.184 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.3211, allocations: 11.88 kB / 418.3 MB, free: 9.172 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.3213, allocations: 67.33 kB / 418.3 MB, free: 9.094 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.3213, allocations: 0 / 418.3 MB, free: 9.094 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.3213, allocations: 4 kB / 418.3 MB, free: 9.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.3214, allocations: 0 / 418.3 MB, free: 9.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.588e-05/0.3215, allocations: 23.97 kB / 418.4 MB, free: 9.066 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000203/0.3217, allocations: 166.6 kB / 418.5 MB, free: 8.852 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002964/0.322, allocations: 85.11 kB / 418.6 MB, free: 8.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.862e-05/0.3221, allocations: 25.77 kB / 418.6 MB, free: 8.719 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001352/0.3234, allocations: 1.544 MB / 420.2 MB, free: 6.824 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.3235, allocations: 30.56 kB / 420.2 MB, free: 6.785 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.3235, allocations: 0 / 420.2 MB, free: 6.785 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003133/0.3238, allocations: 85.91 kB / 420.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.3238, allocations: 81.11 kB / 420.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.115e-05/0.3239, allocations: 117.8 kB / 420.5 MB, free: 6.473 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.324, allocations: 25.7 kB / 420.5 MB, free: 6.441 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.3241, allocations: 84.14 kB / 420.6 MB, free: 6.355 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.99e-05/0.3242, allocations: 23.64 kB / 420.6 MB, free: 6.332 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.352e-05/0.3242, allocations: 21.72 kB / 420.6 MB, free: 6.305 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000199/0.3244, allocations: 318.8 kB / 420.9 MB, free: 5.984 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.477e-05/0.3245, allocations: 12 kB / 421 MB, free: 5.973 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.928e-05/0.3246, allocations: 43.72 kB / 421 MB, free: 5.918 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.3247, allocations: 63.34 kB / 421.1 MB, free: 5.844 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3247, allocations: 0 / 421.1 MB, free: 5.844 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002048/0.3249, allocations: 89.45 kB / 421.1 MB, free: 5.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.325, allocations: 4 kB / 421.1 MB, free: 5.746 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.325, allocations: 4 kB / 421.2 MB, free: 5.742 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.325, allocations: 3.938 kB / 421.2 MB, free: 5.738 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.927e-05/0.3251, allocations: 19.92 kB / 421.2 MB, free: 5.719 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.3251, allocations: 0 / 421.2 MB, free: 5.719 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.541e-05/0.3252, allocations: 4 kB / 421.2 MB, free: 5.715 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.3252, allocations: 8 kB / 421.2 MB, free: 5.707 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 8.391e-05/0.3253, allocations: 125.7 kB / 421.3 MB, free: 5.574 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.3253, allocations: 7.891 kB / 421.3 MB, free: 5.566 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003895/0.3257, allocations: 125.3 kB / 421.4 MB, free: 5.434 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.3257, allocations: 0 / 421.4 MB, free: 5.434 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3257, allocations: 0 / 421.4 MB, free: 5.434 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.3257, allocations: 0 / 421.4 MB, free: 5.434 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.3259, allocations: 181.6 kB / 421.6 MB, free: 5.207 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.3259, allocations: 0 / 421.6 MB, free: 5.207 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.702e-05/0.326, allocations: 15.94 kB / 421.6 MB, free: 5.191 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.326, allocations: 3.984 kB / 421.6 MB, free: 5.188 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.326, allocations: 3.938 kB / 421.6 MB, free: 5.184 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.326, allocations: 4 kB / 421.6 MB, free: 5.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.326, allocations: 4 kB / 421.6 MB, free: 5.176 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000312/0.3264, allocations: 141.8 kB / 421.8 MB, free: 5.016 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.166e-05/0.3264, allocations: 89 kB / 421.9 MB, free: 4.91 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.3265, allocations: 4 kB / 421.9 MB, free: 4.906 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.477e-05/0.3265, allocations: 3.984 kB / 421.9 MB, free: 4.902 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.517e-05/0.3266, allocations: 11.94 kB / 421.9 MB, free: 4.891 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.3266, allocations: 4 kB / 421.9 MB, free: 4.887 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.884e-05/0.3266, allocations: 87.27 kB / 422 MB, free: 4.801 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3266, allocations: 4 kB / 422 MB, free: 4.797 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005068/0.3271, allocations: 131.9 kB / 422.1 MB, free: 4.668 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.000706/0.3279, allocations: 291.9 kB / 422.4 MB, free: 4.383 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002094/0.3281, allocations: 47.91 kB / 422.4 MB, free: 4.336 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3281, allocations: 0 / 422.4 MB, free: 4.336 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.408e-05/0.3282, allocations: 32.2 kB / 422.5 MB, free: 4.305 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.3284, allocations: 12 kB / 422.5 MB, free: 4.293 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005638/0.329, allocations: 316.1 kB / 422.8 MB, free: 3.949 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.3292, allocations: 0.6885 MB / 423.5 MB, free: 3.234 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.594e-05/0.3293, allocations: 27.42 kB / 423.5 MB, free: 3.207 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3293, allocations: 0 / 423.5 MB, free: 3.207 MB / 334.1 MB Notification: Performance of Templates: time 0.00613/0.3355, allocations: 2.929 MB / 426.4 MB, free: 304 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)