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.001172/0.001172, allocations: 110.6 kB / 16.62 MB, free: 6.961 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.001252/0.001252, allocations: 190 kB / 17.55 MB, free: 6.066 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.354/1.354, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.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.001148/0.001148, allocations: 51.92 kB / 279.5 MB, free: 3.512 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07748/0.07864, allocations: 46.64 MB / 326.1 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002455/0.08114, allocations: 1.41 MB / 327.5 MB, free: 3.375 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007926/0.08908, allocations: 7.118 MB / 334.7 MB, free: 12.21 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.841e-05/0.08915, allocations: 0 / 334.7 MB, free: 12.21 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.019e-05/0.0892, allocations: 0 / 334.7 MB, free: 12.21 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008849/0.09009, allocations: 251.2 kB / 334.9 MB, free: 11.97 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001433/0.09154, allocations: 0.6275 MB / 335.5 MB, free: 11.34 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.369e-05/0.09163, allocations: 55.72 kB / 335.6 MB, free: 11.29 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.277e-05/0.09167, allocations: 7.984 kB / 335.6 MB, free: 11.28 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.09178, allocations: 43.84 kB / 335.6 MB, free: 11.23 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006534/0.09245, allocations: 415.1 kB / 336.1 MB, free: 10.83 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.09247, allocations: 0 / 336.1 MB, free: 10.83 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/0.09351, allocations: 0.7291 MB / 336.8 MB, free: 10.1 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.67e-05/0.09354, allocations: 15.91 kB / 336.8 MB, free: 10.08 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.297e-05/0.09358, allocations: 23.94 kB / 336.8 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008137/0.0944, allocations: 0.5692 MB / 337.4 MB, free: 9.488 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.09441, allocations: 0 / 337.4 MB, free: 9.488 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.09442, allocations: 0 / 337.4 MB, free: 9.488 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.09443, allocations: 0 / 337.4 MB, free: 9.488 MB / 286.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.0005487/0.09498, allocations: 467.1 kB / 337.8 MB, free: 8.984 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.09503, allocations: 11.89 kB / 337.9 MB, free: 8.973 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.639e-05/0.09507, allocations: 4.938 kB / 337.9 MB, free: 8.969 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.09529, allocations: 196.1 kB / 338.1 MB, free: 8.738 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-06/0.09531, allocations: 8.375 kB / 338.1 MB, free: 8.73 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.09534, allocations: 384 / 338.1 MB, free: 8.73 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.09549, allocations: 67.52 kB / 338.1 MB, free: 8.652 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.09551, allocations: 0 / 338.1 MB, free: 8.652 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.09552, allocations: 4 kB / 338.1 MB, free: 8.648 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.09553, allocations: 4 kB / 338.1 MB, free: 8.645 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.905e-05/0.09562, allocations: 15.92 kB / 338.1 MB, free: 8.629 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001757/0.0958, allocations: 178.5 kB / 338.3 MB, free: 8.402 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002588/0.09607, allocations: 81.12 kB / 338.4 MB, free: 8.305 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.525e-05/0.09614, allocations: 29.75 kB / 338.4 MB, free: 8.27 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000938/0.09709, allocations: 1.532 MB / 340 MB, free: 6.387 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.09712, allocations: 42.5 kB / 340 MB, free: 6.336 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.09713, allocations: 0 / 340 MB, free: 6.336 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002875/0.09742, allocations: 85.5 kB / 340.1 MB, free: 6.246 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.09747, allocations: 81.11 kB / 340.2 MB, free: 6.148 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.719e-05/0.09757, allocations: 109.8 kB / 340.3 MB, free: 6.031 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.09759, allocations: 25.7 kB / 340.3 MB, free: 6 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.246e-05/0.09763, allocations: 96.12 kB / 340.4 MB, free: 5.902 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.09767, allocations: 23.66 kB / 340.4 MB, free: 5.879 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-05/0.09771, allocations: 21.7 kB / 340.4 MB, free: 5.852 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.09781, allocations: 310.8 kB / 340.7 MB, free: 5.539 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.911e-05/0.09788, allocations: 15.98 kB / 340.8 MB, free: 5.523 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.741e-05/0.09795, allocations: 47.34 kB / 340.8 MB, free: 5.465 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.09808, allocations: 55.42 kB / 340.9 MB, free: 5.398 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.09809, allocations: 0 / 340.9 MB, free: 5.398 MB / 286.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001882/0.09828, allocations: 89.47 kB / 340.9 MB, free: 5.305 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.0983, allocations: 4 kB / 340.9 MB, free: 5.301 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.09831, allocations: 4 kB / 341 MB, free: 5.297 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.09833, allocations: 4.062 kB / 341 MB, free: 5.293 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.614e-05/0.0984, allocations: 16 kB / 341 MB, free: 5.277 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.09842, allocations: 4 kB / 341 MB, free: 5.273 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.354e-05/0.09846, allocations: 3.984 kB / 341 MB, free: 5.27 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.09848, allocations: 4 kB / 341 MB, free: 5.266 MB / 286.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.119e-05/0.09856, allocations: 117.8 kB / 341.1 MB, free: 5.141 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.152e-05/0.09859, allocations: 7.844 kB / 341.1 MB, free: 5.133 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003329/0.09893, allocations: 121.5 kB / 341.2 MB, free: 5.012 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.09895, allocations: 0.5625 kB / 341.2 MB, free: 5.012 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.09896, allocations: 0 / 341.2 MB, free: 5.012 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.09897, allocations: 7.984 kB / 341.2 MB, free: 5.004 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.09911, allocations: 169.5 kB / 341.4 MB, free: 4.789 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.09913, allocations: 4 kB / 341.4 MB, free: 4.785 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.036e-05/0.09922, allocations: 15.92 kB / 341.4 MB, free: 4.77 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.09923, allocations: 0 / 341.4 MB, free: 4.77 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.09925, allocations: 15.94 kB / 341.4 MB, free: 4.754 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.09925, allocations: 0 / 341.4 MB, free: 4.754 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.09926, allocations: 0 / 341.4 MB, free: 4.754 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002801/0.09954, allocations: 145.9 kB / 341.6 MB, free: 4.59 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.264e-05/0.09961, allocations: 92.97 kB / 341.7 MB, free: 4.48 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.09963, allocations: 4 kB / 341.7 MB, free: 4.477 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.99e-05/0.09968, allocations: 4.062 kB / 341.7 MB, free: 4.473 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.09972, allocations: 7.984 kB / 341.7 MB, free: 4.465 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.09973, allocations: 4 kB / 341.7 MB, free: 4.461 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.425e-05/0.09979, allocations: 91.81 kB / 341.8 MB, free: 4.371 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.0998, allocations: 0 / 341.8 MB, free: 4.371 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000454/0.1003, allocations: 163.9 kB / 341.9 MB, free: 4.211 MB / 286.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.0007287/0.101, allocations: 390.6 kB / 342.3 MB, free: 3.828 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001905/0.1012, allocations: 51.91 kB / 342.4 MB, free: 3.777 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1012, allocations: 3.938 kB / 342.4 MB, free: 3.773 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 8.802e-05/0.1013, allocations: 23.98 kB / 342.4 MB, free: 3.75 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/0.1015, allocations: 15.92 kB / 342.4 MB, free: 3.734 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004746/0.102, allocations: 302.8 kB / 342.7 MB, free: 3.41 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.1022, allocations: 0.6885 MB / 343.4 MB, free: 2.695 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.284e-05/0.1023, allocations: 35.69 kB / 343.4 MB, free: 2.66 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.355e-05/0.1023, allocations: 19.42 kB / 343.5 MB, free: 2.641 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1023, allocations: 0 / 343.5 MB, free: 2.641 MB / 286.1 MB Notification: Performance of Templates: time 0.00687/0.1092, allocations: 3.717 MB / 347.2 MB, free: 14.91 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile (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)