Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.00117, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009872/0.0009873, allocations: 100.9 kB / 291.2 MB, free: 10.96 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008071/0.0008072, allocations: 35.94 kB / 350 MB, free: 100 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2345, allocations: 49.43 MB / 399.5 MB, free: 33.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.00203/0.2365, allocations: 1.425 MB / 400.9 MB, free: 31.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003774/0.2403, allocations: 4.052 MB / 404.9 MB, free: 27.89 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.135e-05/0.2404, allocations: 0 / 404.9 MB, free: 27.89 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.016e-05/0.2404, allocations: 3.984 kB / 404.9 MB, free: 27.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007407/0.2412, allocations: 235.2 kB / 405.2 MB, free: 27.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008514/0.242, allocations: 436.8 kB / 405.6 MB, free: 27.23 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.49e-05/0.2421, allocations: 51.72 kB / 405.6 MB, free: 27.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.921e-05/0.2422, allocations: 4 kB / 405.6 MB, free: 27.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.2423, allocations: 39.84 kB / 405.7 MB, free: 27.14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005678/0.2429, allocations: 403.1 kB / 406.1 MB, free: 26.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.2429, allocations: 7.938 kB / 406.1 MB, free: 26.74 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007269/0.2436, allocations: 0.5604 MB / 406.7 MB, free: 26.18 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.17e-05/0.2436, allocations: 15.92 kB / 406.7 MB, free: 26.16 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.095e-05/0.2437, allocations: 15.94 kB / 406.7 MB, free: 26.15 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005988/0.2443, allocations: 456.6 kB / 407.1 MB, free: 25.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2443, allocations: 0 / 407.1 MB, free: 25.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2443, allocations: 0 / 407.1 MB, free: 25.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.2443, allocations: 0 / 407.1 MB, free: 25.7 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.0004105/0.2447, allocations: 448.7 kB / 407.6 MB, free: 25.22 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.2448, allocations: 8.031 kB / 407.6 MB, free: 25.21 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.597e-05/0.2448, allocations: 4.938 kB / 407.6 MB, free: 25.21 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.245, allocations: 192.2 kB / 407.8 MB, free: 24.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.245, allocations: 384 / 407.8 MB, free: 24.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.245, allocations: 11.88 kB / 407.8 MB, free: 24.97 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.2451, allocations: 63.39 kB / 407.8 MB, free: 24.89 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.2451, allocations: 0 / 407.8 MB, free: 24.89 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.2451, allocations: 0 / 407.8 MB, free: 24.89 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.2452, allocations: 3.984 kB / 407.8 MB, free: 24.89 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.557e-05/0.2452, allocations: 23.92 kB / 407.9 MB, free: 24.87 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00012/0.2454, allocations: 174.5 kB / 408 MB, free: 24.64 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.2456, allocations: 77.27 kB / 408.1 MB, free: 24.55 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.575e-05/0.2457, allocations: 25.72 kB / 408.1 MB, free: 24.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005889/0.2463, allocations: 1.548 MB / 409.7 MB, free: 22.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.2463, allocations: 34.5 kB / 409.7 MB, free: 22.58 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.2463, allocations: 0 / 409.7 MB, free: 22.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002589/0.2466, allocations: 85.5 kB / 409.8 MB, free: 22.49 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.021e-05/0.2466, allocations: 77.11 kB / 409.9 MB, free: 22.39 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.712e-05/0.2467, allocations: 109.8 kB / 410 MB, free: 22.28 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.645e-06/0.2467, allocations: 33.7 kB / 410 MB, free: 22.24 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.688e-05/0.2467, allocations: 80.14 kB / 410.1 MB, free: 22.16 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.2467, allocations: 27.64 kB / 410.1 MB, free: 22.13 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-05/0.2468, allocations: 21.72 kB / 410.1 MB, free: 22.1 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.602e-05/0.2468, allocations: 318.8 kB / 410.5 MB, free: 21.78 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.37e-05/0.2469, allocations: 8 kB / 410.5 MB, free: 21.77 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.703e-05/0.2469, allocations: 47.72 kB / 410.5 MB, free: 21.71 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.247, allocations: 67.7 kB / 410.6 MB, free: 21.64 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.247, allocations: 0 / 410.6 MB, free: 21.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001624/0.2472, allocations: 81.55 kB / 410.7 MB, free: 21.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.2472, allocations: 4 kB / 410.7 MB, free: 21.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.2472, allocations: 8 kB / 410.7 MB, free: 21.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.2473, allocations: 7.938 kB / 410.7 MB, free: 21.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.113e-05/0.2473, allocations: 15.98 kB / 410.7 MB, free: 21.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.2473, allocations: 0 / 410.7 MB, free: 21.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.291e-05/0.2474, allocations: 7.906 kB / 410.7 MB, free: 21.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.2474, allocations: 8 kB / 410.7 MB, free: 21.5 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.161e-05/0.2475, allocations: 121.7 kB / 410.8 MB, free: 21.37 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.619e-05/0.2475, allocations: 4 kB / 410.8 MB, free: 21.37 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002816/0.2478, allocations: 121 kB / 410.9 MB, free: 21.25 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.2478, allocations: 4 kB / 411 MB, free: 21.24 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.2478, allocations: 0 / 411 MB, free: 21.24 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2478, allocations: 0 / 411 MB, free: 21.24 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.496e-05/0.2479, allocations: 181.5 kB / 411.1 MB, free: 21.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2479, allocations: 0 / 411.1 MB, free: 21.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.277e-05/0.248, allocations: 15.98 kB / 411.1 MB, free: 21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.248, allocations: 7.938 kB / 411.2 MB, free: 20.99 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.248, allocations: 0 / 411.2 MB, free: 20.99 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.248, allocations: 0 / 411.2 MB, free: 20.99 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.248, allocations: 4 kB / 411.2 MB, free: 20.99 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007673/0.2488, allocations: 0.9978 MB / 412.2 MB, free: 19.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.74e-05/0.2488, allocations: 85.05 kB / 412.2 MB, free: 19.74 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.2488, allocations: 12.17 kB / 412.2 MB, free: 19.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.937e-05/0.2489, allocations: 0 / 412.2 MB, free: 19.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.032e-05/0.2489, allocations: 11.97 kB / 412.3 MB, free: 19.72 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-06/0.2489, allocations: 4.125 kB / 412.3 MB, free: 19.71 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.604e-05/0.249, allocations: 87.28 kB / 412.4 MB, free: 19.63 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.249, allocations: 0 / 412.4 MB, free: 19.63 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000426/0.2494, allocations: 139.8 kB / 412.5 MB, free: 19.49 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 (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.0004805/0.2499, allocations: 294 kB / 412.8 MB, free: 19.2 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001636/0.2501, allocations: 47.91 kB / 412.8 MB, free: 19.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.2501, allocations: 12 kB / 412.8 MB, free: 19.14 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.559e-05/0.2502, allocations: 28.27 kB / 412.9 MB, free: 19.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001926/0.2504, allocations: 15.92 kB / 412.9 MB, free: 19.1 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004378/0.2508, allocations: 422.8 kB / 413.3 MB, free: 18.64 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.583e-05/0.2509, allocations: 0.6887 MB / 414 MB, free: 17.93 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.026e-05/0.251, allocations: 35.16 kB / 414 MB, free: 17.9 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.931e-05/0.251, allocations: 23.42 kB / 414 MB, free: 17.88 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.251, allocations: 0 / 414 MB, free: 17.88 MB / 298.7 MB Notification: Performance of Templates: time 0.004923/0.256, allocations: 2.989 MB / 417 MB, free: 14.91 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1)