Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") translateModel(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 94.14 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 178.4 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 205.4 MB / 223.4 MB, free: 5.336 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004186/0.0004187, allocations: 12 kB / 280.1 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2081, allocations: 47.57 MB / 327.7 MB, free: 1.477 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001268/0.2094, allocations: 1.044 MB / 328.7 MB, free: 0.6367 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.007103/0.2165, allocations: 5.522 MB / 334.3 MB, free: 12.3 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.344e-05/0.2166, allocations: 1 kB / 334.3 MB, free: 12.3 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.548e-05/0.2167, allocations: 3.984 kB / 334.3 MB, free: 12.29 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001037/0.2177, allocations: 228.3 kB / 334.5 MB, free: 12.14 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001323/0.2191, allocations: 0.5155 MB / 335 MB, free: 11.8 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 7.933e-05/0.2191, allocations: 45.67 kB / 335 MB, free: 11.77 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.372e-05/0.2192, allocations: 1.062 kB / 335 MB, free: 11.77 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.2193, allocations: 35.12 kB / 335.1 MB, free: 11.75 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007823/0.2201, allocations: 372.2 kB / 335.4 MB, free: 11.61 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.2201, allocations: 1 kB / 335.4 MB, free: 11.61 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001073/0.2212, allocations: 0.5513 MB / 336 MB, free: 11.17 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.2212, allocations: 7.969 kB / 336 MB, free: 11.16 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.137e-05/0.2213, allocations: 37.64 kB / 336 MB, free: 11.12 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005938/0.2219, allocations: 320.8 kB / 336.4 MB, free: 10.81 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.2219, allocations: 0 / 336.4 MB, free: 10.81 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2219, allocations: 0 / 336.4 MB, free: 10.81 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.2219, allocations: 0 / 336.4 MB, free: 10.81 MB / 270.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.0005444/0.2225, allocations: 455 kB / 336.8 MB, free: 10.32 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.2225, allocations: 12.03 kB / 336.8 MB, free: 10.3 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.905e-05/0.2226, allocations: 7.906 kB / 336.8 MB, free: 10.3 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.2228, allocations: 183 kB / 337 MB, free: 10.08 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.2228, allocations: 0 / 337 MB, free: 10.08 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.2228, allocations: 4 kB / 337 MB, free: 10.07 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.223, allocations: 59.39 kB / 337.1 MB, free: 10 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.223, allocations: 7.938 kB / 337.1 MB, free: 9.996 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.223, allocations: 0 / 337.1 MB, free: 9.996 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.223, allocations: 4 kB / 337.1 MB, free: 9.992 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.477e-05/0.2231, allocations: 15.98 kB / 337.1 MB, free: 9.977 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001874/0.2233, allocations: 174.6 kB / 337.3 MB, free: 9.754 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/0.2236, allocations: 77.22 kB / 337.3 MB, free: 9.66 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009673/0.2246, allocations: 1.544 MB / 338.9 MB, free: 7.766 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.2246, allocations: 30.56 kB / 338.9 MB, free: 7.727 MB / 270.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.2246, allocations: 0 / 338.9 MB, free: 7.727 MB / 270.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002603/0.2249, allocations: 85.5 kB / 339 MB, free: 7.637 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.2249, allocations: 77.11 kB / 339.1 MB, free: 7.543 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.025e-05/0.225, allocations: 113.8 kB / 339.2 MB, free: 7.422 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.225, allocations: 29.7 kB / 339.2 MB, free: 7.387 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.257e-05/0.2251, allocations: 84.14 kB / 339.3 MB, free: 7.301 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.2251, allocations: 31.58 kB / 339.3 MB, free: 7.27 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.2251, allocations: 0 / 339.3 MB, free: 7.27 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 9.854e-05/0.2252, allocations: 314.8 kB / 339.6 MB, free: 6.953 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.439e-05/0.2253, allocations: 15.92 kB / 339.6 MB, free: 6.938 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.183e-05/0.2254, allocations: 43.42 kB / 339.7 MB, free: 6.883 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.091e-05/0.2254, allocations: 20.31 kB / 339.7 MB, free: 6.863 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2254, allocations: 0 / 339.7 MB, free: 6.863 MB / 270.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001711/0.2256, allocations: 81.59 kB / 339.8 MB, free: 6.777 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.2256, allocations: 7.938 kB / 339.8 MB, free: 6.77 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2257, allocations: 4 kB / 339.8 MB, free: 6.766 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.2257, allocations: 0 / 339.8 MB, free: 6.766 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.352e-05/0.2258, allocations: 27.98 kB / 339.8 MB, free: 6.738 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.2258, allocations: 4 kB / 339.8 MB, free: 6.734 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.445e-05/0.2258, allocations: 3.906 kB / 339.8 MB, free: 6.73 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.2258, allocations: 4 kB / 339.8 MB, free: 6.727 MB / 270.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.295e-05/0.2259, allocations: 121.8 kB / 339.9 MB, free: 6.598 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.128e-05/0.2259, allocations: 0 / 339.9 MB, free: 6.598 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003196/0.2263, allocations: 129.2 kB / 340.1 MB, free: 6.469 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.2263, allocations: 0 / 340.1 MB, free: 6.469 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2263, allocations: 0 / 340.1 MB, free: 6.469 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2263, allocations: 0 / 340.1 MB, free: 6.469 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.2264, allocations: 169.7 kB / 340.2 MB, free: 6.254 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.2264, allocations: 3.953 kB / 340.2 MB, free: 6.25 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.799e-05/0.2265, allocations: 15.98 kB / 340.3 MB, free: 6.234 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2265, allocations: 0 / 340.3 MB, free: 6.234 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.2265, allocations: 8 kB / 340.3 MB, free: 6.227 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2266, allocations: 4 kB / 340.3 MB, free: 6.223 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2266, allocations: 0 / 340.3 MB, free: 6.223 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002854/0.2269, allocations: 163.5 kB / 340.4 MB, free: 6.035 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/0.2269, allocations: 85.09 kB / 340.5 MB, free: 5.934 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.2269, allocations: 4 kB / 340.5 MB, free: 5.93 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.856e-05/0.227, allocations: 4.062 kB / 340.5 MB, free: 5.926 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.227, allocations: 11.98 kB / 340.5 MB, free: 5.914 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.227, allocations: 4 kB / 340.5 MB, free: 5.91 MB / 270.1 MB Notification: Performance of sorting global known variables: time 4.421e-05/0.2271, allocations: 87.27 kB / 340.6 MB, free: 5.824 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2271, allocations: 0 / 340.6 MB, free: 5.824 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004621/0.2276, allocations: 167.8 kB / 340.8 MB, free: 5.66 MB / 270.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006682/0.2282, allocations: 366.9 kB / 341.1 MB, free: 5.293 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001765/0.2284, allocations: 51.89 kB / 341.2 MB, free: 5.242 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2284, allocations: 0 / 341.2 MB, free: 5.242 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 8.572e-05/0.2285, allocations: 27.92 kB / 341.2 MB, free: 5.215 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.2287, allocations: 15.94 kB / 341.2 MB, free: 5.199 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004865/0.2292, allocations: 342 kB / 341.6 MB, free: 4.836 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/0.2294, allocations: 0.6887 MB / 342.3 MB, free: 4.121 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.152e-05/0.2295, allocations: 31.75 kB / 342.3 MB, free: 4.09 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.464e-05/0.2295, allocations: 27.3 kB / 342.3 MB, free: 4.062 MB / 270.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2295, allocations: 0 / 342.3 MB, free: 4.062 MB / 270.1 MB Notification: Performance of Templates: time 0.00694/0.2365, allocations: 3.647 MB / 346 MB, free: 420 kB / 270.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1) Environment - environmentSimulation: