Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.0008484/0.0008485, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009653/0.0009655, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.0004378/0.0004378, allocations: 12 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2224, allocations: 47.59 MB / 326.5 MB, free: 1.59 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001138/0.2236, allocations: 1.061 MB / 327.5 MB, free: 0.7344 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.007547/0.2311, allocations: 6.615 MB / 334.2 MB, free: 11.47 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.196e-05/0.2312, allocations: 0 / 334.2 MB, free: 11.47 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 1.88e-05/0.2312, allocations: 1.125 kB / 334.2 MB, free: 11.47 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008378/0.2321, allocations: 241 kB / 334.4 MB, free: 11.32 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.2333, allocations: 0.5283 MB / 334.9 MB, free: 10.97 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 8.093e-05/0.2333, allocations: 57.69 kB / 335 MB, free: 10.94 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.286e-05/0.2334, allocations: 2.219 kB / 335 MB, free: 10.94 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.2335, allocations: 29.11 kB / 335 MB, free: 10.93 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007694/0.2343, allocations: 396.2 kB / 335.4 MB, free: 10.69 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.2343, allocations: 0 / 335.4 MB, free: 10.69 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009263/0.2352, allocations: 0.5459 MB / 335.9 MB, free: 10.14 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.429e-05/0.2353, allocations: 11.92 kB / 336 MB, free: 10.13 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.693e-05/0.2353, allocations: 37.7 kB / 336 MB, free: 10.09 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005195/0.2358, allocations: 344.9 kB / 336.3 MB, free: 9.75 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.2358, allocations: 0 / 336.3 MB, free: 9.75 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2358, allocations: 0 / 336.3 MB, free: 9.75 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.2359, allocations: 0 / 336.3 MB, free: 9.75 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.0004647/0.2363, allocations: 455 kB / 336.8 MB, free: 9.258 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.2364, allocations: 12.03 kB / 336.8 MB, free: 9.246 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.741e-05/0.2364, allocations: 3.906 kB / 336.8 MB, free: 9.242 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.2366, allocations: 186.9 kB / 337 MB, free: 9.02 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.2366, allocations: 11.94 kB / 337 MB, free: 9.008 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.2367, allocations: 4 kB / 337 MB, free: 9.004 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.2368, allocations: 59.39 kB / 337 MB, free: 8.934 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.2368, allocations: 3.938 kB / 337 MB, free: 8.93 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.2368, allocations: 0 / 337 MB, free: 8.93 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.2368, allocations: 0 / 337 MB, free: 8.93 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.566e-05/0.2369, allocations: 19.98 kB / 337.1 MB, free: 8.91 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001704/0.2371, allocations: 182.5 kB / 337.2 MB, free: 8.68 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002558/0.2373, allocations: 81.17 kB / 337.3 MB, free: 8.582 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.943e-05/0.2374, allocations: 21.77 kB / 337.3 MB, free: 8.555 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009159/0.2383, allocations: 1.544 MB / 338.9 MB, free: 6.66 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.2384, allocations: 34.5 kB / 338.9 MB, free: 6.617 MB / 270.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.2384, allocations: 3.938 kB / 338.9 MB, free: 6.613 MB / 270.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002593/0.2386, allocations: 85.5 kB / 339 MB, free: 6.523 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.2387, allocations: 77.11 kB / 339.1 MB, free: 6.43 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.398e-05/0.2388, allocations: 117.8 kB / 339.2 MB, free: 6.305 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.2388, allocations: 25.7 kB / 339.2 MB, free: 6.273 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.801e-05/0.2388, allocations: 92.12 kB / 339.3 MB, free: 6.18 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/0.2389, allocations: 15.72 kB / 339.3 MB, free: 6.164 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-06/0.2389, allocations: 4 kB / 339.3 MB, free: 6.16 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 9.513e-05/0.239, allocations: 322.8 kB / 339.6 MB, free: 5.836 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.244e-05/0.2391, allocations: 12 kB / 339.7 MB, free: 5.824 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.198e-05/0.2391, allocations: 35.42 kB / 339.7 MB, free: 5.777 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.913e-05/0.2392, allocations: 23.98 kB / 339.7 MB, free: 5.754 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.2392, allocations: 0 / 339.7 MB, free: 5.754 MB / 270.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001698/0.2394, allocations: 77.55 kB / 339.8 MB, free: 5.672 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.2394, allocations: 8 kB / 339.8 MB, free: 5.664 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2394, allocations: 0 / 339.8 MB, free: 5.664 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.2394, allocations: 3.984 kB / 339.8 MB, free: 5.66 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.391e-05/0.2395, allocations: 16 kB / 339.8 MB, free: 5.645 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.2395, allocations: 4.062 kB / 339.8 MB, free: 5.641 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.69e-05/0.2396, allocations: 15.83 kB / 339.8 MB, free: 5.625 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.2396, allocations: 4 kB / 339.8 MB, free: 5.621 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.732e-05/0.2397, allocations: 117.7 kB / 340 MB, free: 5.496 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.323e-05/0.2397, allocations: 4 kB / 340 MB, free: 5.492 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003037/0.24, allocations: 125.4 kB / 340.1 MB, free: 5.367 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.24, allocations: 0 / 340.1 MB, free: 5.367 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.24, allocations: 4 kB / 340.1 MB, free: 5.363 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.24, allocations: 0 / 340.1 MB, free: 5.363 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.2402, allocations: 173.6 kB / 340.3 MB, free: 5.145 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.2402, allocations: 0.5625 kB / 340.3 MB, free: 5.145 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.394e-05/0.2403, allocations: 11.98 kB / 340.3 MB, free: 5.133 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.2403, allocations: 4 kB / 340.3 MB, free: 5.129 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.2403, allocations: 3.938 kB / 340.3 MB, free: 5.125 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.2403, allocations: 4 kB / 340.3 MB, free: 5.121 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2403, allocations: 7.938 kB / 340.3 MB, free: 5.113 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.2406, allocations: 141.8 kB / 340.4 MB, free: 4.953 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.902e-05/0.2406, allocations: 101 kB / 340.5 MB, free: 4.836 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.2407, allocations: 7.938 kB / 340.5 MB, free: 4.828 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.646e-05/0.2407, allocations: 0 / 340.5 MB, free: 4.828 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.2408, allocations: 12.05 kB / 340.5 MB, free: 4.816 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.936e-06/0.2408, allocations: 4 kB / 340.6 MB, free: 4.812 MB / 270.1 MB Notification: Performance of sorting global known variables: time 4.783e-05/0.2408, allocations: 91.27 kB / 340.6 MB, free: 4.723 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2408, allocations: 0 / 340.6 MB, free: 4.723 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004287/0.2413, allocations: 167.9 kB / 340.8 MB, free: 4.559 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.0006979/0.242, allocations: 365.8 kB / 341.2 MB, free: 4.195 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001756/0.2422, allocations: 47.91 kB / 341.2 MB, free: 4.148 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2422, allocations: 0 / 341.2 MB, free: 4.148 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 7.692e-05/0.2422, allocations: 23.98 kB / 341.2 MB, free: 4.125 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.2424, allocations: 8 kB / 341.2 MB, free: 4.117 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005016/0.243, allocations: 357.8 kB / 341.6 MB, free: 3.738 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.2432, allocations: 0.6887 MB / 342.3 MB, free: 3.023 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.982e-05/0.2433, allocations: 39.67 kB / 342.3 MB, free: 2.984 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.538e-05/0.2433, allocations: 15.44 kB / 342.3 MB, free: 2.969 MB / 270.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2433, allocations: 0 / 342.3 MB, free: 2.969 MB / 270.1 MB Notification: Performance of Templates: time 0.006858/0.2502, allocations: 3.643 MB / 346 MB, free: 15.32 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1)