Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00116/0.00116, allocations: 207.3 kB / 17.99 MB, free: 3.773 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.306/1.306, allocations: 226.7 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001006/0.001006, allocations: 105.3 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 55.89 kB / 356.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2806, allocations: 50.44 MB / 407 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T): time 0.001935/0.2825, allocations: 1.436 MB / 408.5 MB, free: 26.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00366/0.2862, allocations: 4.106 MB / 412.6 MB, free: 22.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.248e-05/0.2863, allocations: 0 / 412.6 MB, free: 22.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.842e-05/0.2863, allocations: 0 / 412.6 MB, free: 22.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007027/0.287, allocations: 239.2 kB / 412.8 MB, free: 22.04 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007891/0.2878, allocations: 428 kB / 413.2 MB, free: 21.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.278e-05/0.2879, allocations: 51.67 kB / 413.3 MB, free: 21.57 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.95e-05/0.2879, allocations: 11.92 kB / 413.3 MB, free: 21.56 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.515e-05/0.288, allocations: 43.84 kB / 413.3 MB, free: 21.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005659/0.2886, allocations: 403.1 kB / 413.7 MB, free: 21.12 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.2886, allocations: 4 kB / 413.7 MB, free: 21.12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007145/0.2893, allocations: 0.5658 MB / 414.3 MB, free: 20.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.095e-05/0.2894, allocations: 4 kB / 414.3 MB, free: 20.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.456e-05/0.2894, allocations: 23.86 kB / 414.3 MB, free: 20.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005602/0.29, allocations: 464.6 kB / 414.8 MB, free: 20.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.29, allocations: 0 / 414.8 MB, free: 20.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.29, allocations: 0 / 414.8 MB, free: 20.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.29, allocations: 0 / 414.8 MB, free: 20.07 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.0003982/0.2904, allocations: 439.1 kB / 415.2 MB, free: 19.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.2904, allocations: 12.03 kB / 415.2 MB, free: 19.58 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.957e-05/0.2905, allocations: 4.938 kB / 415.2 MB, free: 19.58 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.2907, allocations: 192.2 kB / 415.4 MB, free: 19.35 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.2907, allocations: 4.312 kB / 415.4 MB, free: 19.35 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.2907, allocations: 7.938 kB / 415.4 MB, free: 19.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.2908, allocations: 59.39 kB / 415.5 MB, free: 19.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.2909, allocations: 0 / 415.5 MB, free: 19.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.2909, allocations: 4 kB / 415.5 MB, free: 19.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.2909, allocations: 0 / 415.5 MB, free: 19.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.134e-05/0.291, allocations: 27.91 kB / 415.5 MB, free: 19.24 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001248/0.2911, allocations: 170.6 kB / 415.7 MB, free: 19.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002345/0.2913, allocations: 81.23 kB / 415.8 MB, free: 18.92 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.759e-05/0.2914, allocations: 29.7 kB / 415.8 MB, free: 18.89 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005555/0.292, allocations: 1.54 MB / 417.3 MB, free: 17 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/0.292, allocations: 34.56 kB / 417.4 MB, free: 16.95 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.292, allocations: 0 / 417.4 MB, free: 16.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002585/0.2923, allocations: 89.62 kB / 417.5 MB, free: 16.86 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.023e-05/0.2923, allocations: 77.11 kB / 417.5 MB, free: 16.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.428e-05/0.2924, allocations: 113.8 kB / 417.6 MB, free: 16.64 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.265e-06/0.2924, allocations: 25.7 kB / 417.7 MB, free: 16.61 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.001e-05/0.2924, allocations: 84.14 kB / 417.7 MB, free: 16.53 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.2924, allocations: 27.64 kB / 417.8 MB, free: 16.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.049e-05/0.2925, allocations: 21.72 kB / 417.8 MB, free: 16.47 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.588e-05/0.2925, allocations: 314.8 kB / 418.1 MB, free: 16.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.39e-05/0.2926, allocations: 12 kB / 418.1 MB, free: 16.14 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.675e-05/0.2926, allocations: 43.42 kB / 418.2 MB, free: 16.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.2928, allocations: 59.34 kB / 418.2 MB, free: 16.02 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2928, allocations: 0 / 418.2 MB, free: 16.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001717/0.2929, allocations: 93.45 kB / 418.3 MB, free: 15.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.293, allocations: 4 kB / 418.3 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.293, allocations: 3.938 kB / 418.3 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.293, allocations: 4 kB / 418.3 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.222e-05/0.2931, allocations: 19.98 kB / 418.3 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.2931, allocations: 480 / 418.3 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.193e-05/0.2931, allocations: 7.906 kB / 418.3 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.2931, allocations: 8 kB / 418.4 MB, free: 15.88 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.417e-05/0.2932, allocations: 119.2 kB / 418.5 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.619e-05/0.2932, allocations: 12.02 kB / 418.5 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003024/0.2935, allocations: 119.2 kB / 418.6 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.2935, allocations: 4 kB / 418.6 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2935, allocations: 0 / 418.6 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.2935, allocations: 0 / 418.6 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.191e-05/0.2936, allocations: 181.5 kB / 418.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.2936, allocations: 4 kB / 418.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.124e-05/0.2937, allocations: 15.98 kB / 418.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.2937, allocations: 0 / 418.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.2937, allocations: 0 / 418.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.2937, allocations: 4 kB / 418.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2938, allocations: 0 / 418.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007574/0.2945, allocations: 1.007 MB / 419.8 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.425e-05/0.2946, allocations: 85 kB / 419.9 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.2946, allocations: 7.984 kB / 419.9 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.86e-05/0.2946, allocations: 4 kB / 419.9 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.942e-05/0.2947, allocations: 8.125 kB / 419.9 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-06/0.2947, allocations: 7.984 kB / 419.9 MB, free: 14.09 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.722e-05/0.2947, allocations: 87.22 kB / 420 MB, free: 14 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2947, allocations: 0 / 420 MB, free: 14 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004191/0.2951, allocations: 139.8 kB / 420.1 MB, free: 13.86 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.0004823/0.2956, allocations: 313 kB / 420.4 MB, free: 13.56 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001584/0.2958, allocations: 47.91 kB / 420.5 MB, free: 13.51 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2958, allocations: 0 / 420.5 MB, free: 13.51 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.342e-05/0.2959, allocations: 27.98 kB / 420.5 MB, free: 13.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/0.2961, allocations: 11.98 kB / 420.5 MB, free: 13.47 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004293/0.2965, allocations: 419.2 kB / 420.9 MB, free: 13.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.366e-05/0.2966, allocations: 0.6887 MB / 421.6 MB, free: 12.3 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.588e-05/0.2967, allocations: 35.64 kB / 421.7 MB, free: 12.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.736e-05/0.2967, allocations: 19.42 kB / 421.7 MB, free: 12.25 MB / 298.7 MB Notification: Performance of SimCode: time 2.51e-07/0.2967, allocations: 0 / 421.7 MB, free: 12.25 MB / 298.7 MB Notification: Performance of Templates: time 0.004816/0.3015, allocations: 3.044 MB / 424.7 MB, free: 9.238 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.sim & ./Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.InverseIncompressible_sh_T.pipe 2>&1)