Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.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.Tests.MediaTestModels.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002509/0.002509, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.468/1.468, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.001198/0.001198, allocations: 52.27 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2485, allocations: 46.63 MB / 325.3 MB, free: 1.863 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650): time 0.02943/0.278, allocations: 24.56 MB / 349.9 MB, free: 11.29 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003993/0.2821, allocations: 2.503 MB / 352.4 MB, free: 8.773 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002375/0.2824, allocations: 4 kB / 352.4 MB, free: 8.77 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005982/0.283, allocations: 162.9 kB / 352.5 MB, free: 8.609 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006136/0.2836, allocations: 318.2 kB / 352.9 MB, free: 8.297 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1250:3-1403:19:writable] Warning: Pure function 'Modelica.Math.Matrices.leastSquares' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgelsy_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.00257/0.2862, allocations: 1.021 MB / 353.9 MB, free: 7.273 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001288/0.2875, allocations: 0.899 MB / 354.8 MB, free: 6.371 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002549/0.2878, allocations: 92.69 kB / 354.9 MB, free: 6.285 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004876/0.2927, allocations: 3.068 MB / 357.9 MB, free: 3.211 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004238/0.2931, allocations: 274.9 kB / 358.2 MB, free: 2.941 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.286e-05/0.2932, allocations: 35.94 kB / 358.2 MB, free: 2.906 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007269/0.2939, allocations: 235.7 kB / 358.5 MB, free: 2.676 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.2941, allocations: 103.6 kB / 358.6 MB, free: 2.574 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002182/0.2943, allocations: 187.2 kB / 358.8 MB, free: 2.391 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007688/0.2951, allocations: 0.5765 MB / 359.3 MB, free: 1.812 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.2951, allocations: 0 / 359.3 MB, free: 1.812 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.2951, allocations: 4 kB / 359.3 MB, free: 1.809 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.2951, allocations: 0 / 359.3 MB, free: 1.809 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009218/0.296, allocations: 0.616 MB / 359.9 MB, free: 1.145 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.2961, allocations: 8.031 kB / 360 MB, free: 1.137 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004045/0.2965, allocations: 52.55 kB / 360 MB, free: 1.086 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004088/0.2969, allocations: 295.5 kB / 360.3 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.297, allocations: 20.94 kB / 360.3 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.081e-05/0.297, allocations: 28.38 kB / 360.3 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005516/0.2976, allocations: 330.4 kB / 360.7 MB, free: 360 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.2976, allocations: 7.938 kB / 360.7 MB, free: 352 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.888e-05/0.2977, allocations: 16 kB / 360.7 MB, free: 336 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.2977, allocations: 4 kB / 360.7 MB, free: 332 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003179/0.298, allocations: 193.5 kB / 360.9 MB, free: 136 kB / 286.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002266/0.3003, allocations: 2.115 MB / 363 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003026/0.3006, allocations: 186.5 kB / 363.2 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.3007, allocations: 84.77 kB / 363.3 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002206/0.301, allocations: 255.5 kB / 363.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.935e-05/0.301, allocations: 42.5 kB / 363.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.813e-06/0.301, allocations: 0 / 363.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=30): time 0.002556/0.3036, allocations: 1.018 MB / 364.6 MB, free: 12.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.3036, allocations: 55.34 kB / 364.6 MB, free: 12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.3039, allocations: 262.6 kB / 364.9 MB, free: 11.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.334e-05/0.304, allocations: 37.7 kB / 364.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.3041, allocations: 180.1 kB / 365.1 MB, free: 11.51 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.172e-05/0.3042, allocations: 106.4 kB / 365.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.3043, allocations: 70.06 kB / 365.3 MB, free: 11.33 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.3044, allocations: 346.7 kB / 365.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.3046, allocations: 88.7 kB / 365.7 MB, free: 10.9 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.3048, allocations: 166.7 kB / 365.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003823/0.3052, allocations: 281.1 kB / 366.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3052, allocations: 0 / 366.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006074/0.3058, allocations: 389.6 kB / 366.5 MB, free: 10 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.3058, allocations: 4 kB / 366.5 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.3058, allocations: 4 kB / 366.5 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004147/0.3063, allocations: 97.05 kB / 366.6 MB, free: 9.898 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000246/0.3065, allocations: 71.89 kB / 366.7 MB, free: 9.828 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005221/0.307, allocations: 0.6499 MB / 367.3 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.3072, allocations: 8 kB / 367.3 MB, free: 9.145 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.19e-05/0.3073, allocations: 16 kB / 367.4 MB, free: 9.129 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001609/0.3074, allocations: 161.8 kB / 367.5 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.104e-05/0.3075, allocations: 31.66 kB / 367.5 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006194/0.3081, allocations: 372.9 kB / 367.9 MB, free: 8.539 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3081, allocations: 0 / 367.9 MB, free: 8.539 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.3082, allocations: 4 kB / 367.9 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005922/0.3088, allocations: 0.5631 MB / 368.5 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.3098, allocations: 0.7439 MB / 369.2 MB, free: 7.074 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3099, allocations: 0 / 369.2 MB, free: 7.074 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.31, allocations: 35.92 kB / 369.3 MB, free: 7.039 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004796/0.3105, allocations: 104.8 kB / 369.4 MB, free: 6.934 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.3105, allocations: 8 kB / 369.4 MB, free: 6.926 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004944/0.311, allocations: 0.6381 MB / 370 MB, free: 6.262 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.311, allocations: 0 / 370 MB, free: 6.262 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007158/0.3118, allocations: 485.8 kB / 370.5 MB, free: 5.762 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.912e-05/0.3119, allocations: 104.8 kB / 370.6 MB, free: 5.641 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.141e-05/0.3119, allocations: 8 kB / 370.6 MB, free: 5.633 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002163/0.3121, allocations: 4 kB / 370.6 MB, free: 5.629 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.3122, allocations: 23.97 kB / 370.6 MB, free: 5.605 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/0.3122, allocations: 19.98 kB / 370.6 MB, free: 5.586 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002155/0.3125, allocations: 194 kB / 370.8 MB, free: 5.398 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3125, allocations: 0 / 370.8 MB, free: 5.398 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004877/0.313, allocations: 116 kB / 370.9 MB, free: 5.285 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003047/0.3133, allocations: 143.2 kB / 371.1 MB, free: 5.137 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006092/0.3139, allocations: 259.5 kB / 371.3 MB, free: 4.883 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.3139, allocations: 0 / 371.3 MB, free: 4.883 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002842/0.3142, allocations: 123.7 kB / 371.5 MB, free: 4.762 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.3153, allocations: 169.3 kB / 371.6 MB, free: 4.598 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.3167, allocations: 0.6469 MB / 372.3 MB, free: 3.918 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003818/0.3171, allocations: 0.7645 MB / 373 MB, free: 3.129 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003122/0.3174, allocations: 71.17 kB / 373.1 MB, free: 3.059 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.901e-05/0.3175, allocations: 27.44 kB / 373.1 MB, free: 3.031 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3176, allocations: 0 / 373.1 MB, free: 3.031 MB / 302.1 MB Notification: Performance of Templates: time 0.01459/0.3322, allocations: 7.01 MB / 380.1 MB, free: 12.02 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1)