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.001299/0.001299, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001562/0.001562, allocations: 199.2 kB / 16.14 MB, free: 6.707 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.432/1.432, allocations: 205.1 MB / 222 MB, free: 4.992 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.00182/0.00182, allocations: 47.92 kB / 278 MB, free: 13.01 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2657, allocations: 46.63 MB / 324.7 MB, free: 1.828 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.002337/0.2681, allocations: 1.414 MB / 326.1 MB, free: 0.7031 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.008529/0.2766, allocations: 7.3 MB / 333.4 MB, free: 10.93 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.543e-05/0.2768, allocations: 0 / 333.4 MB, free: 10.93 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 3.428e-05/0.2769, allocations: 3.938 kB / 333.4 MB, free: 10.93 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001215/0.2781, allocations: 246 kB / 333.6 MB, free: 10.77 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001562/0.2796, allocations: 0.5838 MB / 334.2 MB, free: 10.39 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 8.387e-05/0.2797, allocations: 56.78 kB / 334.3 MB, free: 10.36 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.879e-05/0.2798, allocations: 2.469 kB / 334.3 MB, free: 10.36 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.2799, allocations: 33.67 kB / 334.3 MB, free: 10.34 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008798/0.2808, allocations: 412.7 kB / 334.7 MB, free: 10.11 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.2809, allocations: 3.938 kB / 334.7 MB, free: 10.11 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/0.2822, allocations: 0.7251 MB / 335.4 MB, free: 9.383 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.595e-05/0.2822, allocations: 7.984 kB / 335.4 MB, free: 9.375 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.989e-05/0.2823, allocations: 23.86 kB / 335.5 MB, free: 9.352 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008754/0.2832, allocations: 0.5666 MB / 336 MB, free: 8.785 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2832, allocations: 3.938 kB / 336 MB, free: 8.781 MB / 270.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.2832, allocations: 0 / 336 MB, free: 8.781 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.2832, allocations: 0 / 336 MB, free: 8.781 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.0005699/0.2838, allocations: 463.3 kB / 336.5 MB, free: 8.281 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.2838, allocations: 8.031 kB / 336.5 MB, free: 8.273 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.192e-05/0.2839, allocations: 12.83 kB / 336.5 MB, free: 8.262 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.2841, allocations: 188.2 kB / 336.7 MB, free: 8.039 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.2841, allocations: 384 / 336.7 MB, free: 8.039 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.2841, allocations: 8.375 kB / 336.7 MB, free: 8.031 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.2843, allocations: 75.39 kB / 336.8 MB, free: 7.945 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.2843, allocations: 0 / 336.8 MB, free: 7.945 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.2843, allocations: 0 / 336.8 MB, free: 7.945 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.2844, allocations: 0 / 336.8 MB, free: 7.945 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.883e-05/0.2844, allocations: 19.98 kB / 336.8 MB, free: 7.926 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002068/0.2847, allocations: 178.6 kB / 337 MB, free: 7.699 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003039/0.285, allocations: 85.06 kB / 337.1 MB, free: 7.598 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.617e-05/0.2851, allocations: 25.78 kB / 337.1 MB, free: 7.566 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001112/0.2862, allocations: 1.54 MB / 338.6 MB, free: 5.676 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.2862, allocations: 38.44 kB / 338.7 MB, free: 5.629 MB / 270.1 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.2862, allocations: 0 / 338.7 MB, free: 5.629 MB / 270.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003353/0.2866, allocations: 89.58 kB / 338.7 MB, free: 5.535 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.716e-05/0.2866, allocations: 77.11 kB / 338.8 MB, free: 5.441 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.2867, allocations: 113.8 kB / 338.9 MB, free: 5.32 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.2868, allocations: 25.7 kB / 339 MB, free: 5.289 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.64e-05/0.2868, allocations: 84.14 kB / 339 MB, free: 5.203 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.042e-05/0.2869, allocations: 23.64 kB / 339.1 MB, free: 5.18 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.2869, allocations: 17.72 kB / 339.1 MB, free: 5.156 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.287, allocations: 326.8 kB / 339.4 MB, free: 4.828 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.255e-05/0.2871, allocations: 15.98 kB / 339.4 MB, free: 4.812 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.028e-05/0.2872, allocations: 39.42 kB / 339.5 MB, free: 4.762 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.2873, allocations: 59.36 kB / 339.5 MB, free: 4.691 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2873, allocations: 0 / 339.5 MB, free: 4.691 MB / 270.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001936/0.2875, allocations: 85.45 kB / 339.6 MB, free: 4.602 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.2876, allocations: 4 kB / 339.6 MB, free: 4.598 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2876, allocations: 0 / 339.6 MB, free: 4.598 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.2876, allocations: 4 kB / 339.6 MB, free: 4.594 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.037e-05/0.2877, allocations: 19.92 kB / 339.6 MB, free: 4.574 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.2877, allocations: 0 / 339.6 MB, free: 4.574 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.673e-05/0.2878, allocations: 4.062 kB / 339.6 MB, free: 4.57 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/0.2878, allocations: 15.98 kB / 339.6 MB, free: 4.555 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.681e-05/0.2879, allocations: 105.8 kB / 339.7 MB, free: 4.441 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/0.2879, allocations: 11.84 kB / 339.8 MB, free: 4.43 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004/0.2883, allocations: 121.4 kB / 339.9 MB, free: 4.309 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.2883, allocations: 8 kB / 339.9 MB, free: 4.301 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.2883, allocations: 0 / 339.9 MB, free: 4.301 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.2883, allocations: 3.938 kB / 339.9 MB, free: 4.297 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.2885, allocations: 173.6 kB / 340.1 MB, free: 4.078 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.2885, allocations: 0 / 340.1 MB, free: 4.078 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.11e-05/0.2886, allocations: 15.92 kB / 340.1 MB, free: 4.062 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.2886, allocations: 4 kB / 340.1 MB, free: 4.059 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.2886, allocations: 0 / 340.1 MB, free: 4.059 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.2886, allocations: 0 / 340.1 MB, free: 4.059 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.2886, allocations: 4.562 kB / 340.1 MB, free: 4.055 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002866/0.2889, allocations: 145.7 kB / 340.2 MB, free: 3.891 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.383e-05/0.289, allocations: 100.9 kB / 340.3 MB, free: 3.773 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.289, allocations: 0 / 340.3 MB, free: 3.773 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.306e-05/0.2891, allocations: 8 kB / 340.3 MB, free: 3.766 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.2891, allocations: 15.97 kB / 340.3 MB, free: 3.75 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.2891, allocations: 0 / 340.3 MB, free: 3.75 MB / 270.1 MB Notification: Performance of sorting global known variables: time 4.647e-05/0.2892, allocations: 91.34 kB / 340.4 MB, free: 3.66 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2892, allocations: 0 / 340.4 MB, free: 3.66 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004827/0.2897, allocations: 167.9 kB / 340.6 MB, free: 3.496 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 (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.0007707/0.2904, allocations: 366.5 kB / 341 MB, free: 3.133 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001899/0.2906, allocations: 51.97 kB / 341 MB, free: 3.082 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2907, allocations: 0 / 341 MB, free: 3.082 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 9.322e-05/0.2908, allocations: 31.92 kB / 341 MB, free: 3.051 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.291, allocations: 15.94 kB / 341.1 MB, free: 3.035 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000532/0.2915, allocations: 296.6 kB / 341.3 MB, free: 2.719 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.2918, allocations: 0.6887 MB / 342 MB, free: 2.004 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.43e-05/0.2919, allocations: 35.69 kB / 342.1 MB, free: 1.969 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.562e-05/0.2919, allocations: 19.38 kB / 342.1 MB, free: 1.949 MB / 270.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2919, allocations: 0 / 342.1 MB, free: 1.949 MB / 270.1 MB Notification: Performance of Templates: time 0.007618/0.2995, allocations: 3.675 MB / 345.8 MB, free: 14.27 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)