Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.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.Glycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001624/0.001624, 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.001823/0.001823, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.529/1.529, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.001374/0.001374, allocations: 51.94 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2573, allocations: 46.63 MB / 325.3 MB, free: 1.871 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.02849/0.2859, allocations: 24.58 MB / 349.9 MB, free: 11.26 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003355/0.2893, allocations: 2.503 MB / 352.4 MB, free: 8.75 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002263/0.2896, allocations: 4 kB / 352.4 MB, free: 8.746 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006521/0.2903, allocations: 162.9 kB / 352.6 MB, free: 8.586 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006896/0.291, allocations: 318.2 kB / 352.9 MB, free: 8.273 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.002352/0.2933, allocations: 0.9664 MB / 353.8 MB, free: 7.305 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009385/0.2943, allocations: 0.9029 MB / 354.7 MB, free: 6.398 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002057/0.2945, allocations: 96.67 kB / 354.8 MB, free: 6.309 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004483/0.299, allocations: 2.721 MB / 357.6 MB, free: 3.582 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004982/0.2995, allocations: 274.9 kB / 357.8 MB, free: 3.312 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.468e-05/0.2996, allocations: 32 kB / 357.9 MB, free: 3.281 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000677/0.3003, allocations: 243.6 kB / 358.1 MB, free: 3.043 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.3004, allocations: 95.72 kB / 358.2 MB, free: 2.949 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002074/0.3006, allocations: 191.2 kB / 358.4 MB, free: 2.762 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006792/0.3013, allocations: 0.5726 MB / 359 MB, free: 2.188 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.3013, allocations: 0 / 359 MB, free: 2.188 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3013, allocations: 0 / 359 MB, free: 2.188 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.3013, allocations: 4 kB / 359 MB, free: 2.184 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.0008737/0.3022, allocations: 0.6198 MB / 359.6 MB, free: 1.516 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.3022, allocations: 8.031 kB / 359.6 MB, free: 1.508 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003835/0.3026, allocations: 52.55 kB / 359.6 MB, free: 1.457 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004276/0.3031, allocations: 295.5 kB / 359.9 MB, free: 1.129 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/0.3031, allocations: 20.94 kB / 359.9 MB, free: 1.109 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.438e-05/0.3032, allocations: 24.38 kB / 360 MB, free: 1.086 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005709/0.3038, allocations: 334.4 kB / 360.3 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.3038, allocations: 8 kB / 360.3 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.918e-05/0.3038, allocations: 12 kB / 360.3 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.3038, allocations: 8 kB / 360.3 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002965/0.3042, allocations: 189.5 kB / 360.5 MB, free: 0.5078 MB / 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.002069/0.3062, allocations: 2.119 MB / 362.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003047/0.3065, allocations: 182.6 kB / 362.8 MB, free: 13.97 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.3067, allocations: 84.77 kB / 362.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000211/0.3069, allocations: 263.5 kB / 363.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.3069, allocations: 30.56 kB / 363.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.684e-06/0.3069, allocations: 0 / 363.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=30): time 0.002586/0.3095, allocations: 1.03 MB / 364.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.3096, allocations: 51.41 kB / 364.3 MB, free: 12.37 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002695/0.3099, allocations: 262.6 kB / 364.5 MB, free: 12.1 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.3099, allocations: 33.7 kB / 364.5 MB, free: 12.06 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.31, allocations: 180.2 kB / 364.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.704e-05/0.3101, allocations: 102.4 kB / 364.8 MB, free: 11.78 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.491e-05/0.3102, allocations: 70.06 kB / 364.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.3104, allocations: 342.8 kB / 365.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.3105, allocations: 88.7 kB / 365.3 MB, free: 11.28 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.3107, allocations: 178.5 kB / 365.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003781/0.3111, allocations: 281.2 kB / 365.8 MB, free: 10.76 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3111, allocations: 0 / 365.8 MB, free: 10.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006035/0.3117, allocations: 385.5 kB / 366.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.3118, allocations: 4 kB / 366.1 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.3118, allocations: 7.984 kB / 366.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004091/0.3122, allocations: 89.11 kB / 366.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.3125, allocations: 75.89 kB / 366.3 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000541/0.313, allocations: 0.6576 MB / 367 MB, free: 9.516 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.3132, allocations: 8 kB / 367 MB, free: 9.508 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.3132, allocations: 16 kB / 367 MB, free: 9.492 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.0001566/0.3134, allocations: 161.8 kB / 367.1 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.657e-05/0.3135, allocations: 35.72 kB / 367.2 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006364/0.3141, allocations: 376.8 kB / 367.5 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/0.3141, allocations: 4 kB / 367.6 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.3141, allocations: 0 / 367.6 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005434/0.3147, allocations: 0.5554 MB / 368.1 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.3158, allocations: 0.7399 MB / 368.8 MB, free: 7.441 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3158, allocations: 0 / 368.8 MB, free: 7.441 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/0.3159, allocations: 35.98 kB / 368.9 MB, free: 7.406 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000463/0.3164, allocations: 112.7 kB / 369 MB, free: 7.293 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.3164, allocations: 4 kB / 369 MB, free: 7.289 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005922/0.317, allocations: 0.6381 MB / 369.6 MB, free: 6.625 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.317, allocations: 0 / 369.6 MB, free: 6.625 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007513/0.3178, allocations: 485.8 kB / 370.1 MB, free: 6.125 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.615e-05/0.3179, allocations: 100.8 kB / 370.2 MB, free: 6.008 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.743e-05/0.3179, allocations: 8 kB / 370.2 MB, free: 6 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.3181, allocations: 7.984 kB / 370.2 MB, free: 5.992 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.13e-05/0.3182, allocations: 16.05 kB / 370.2 MB, free: 5.977 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/0.3182, allocations: 19.98 kB / 370.3 MB, free: 5.957 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001866/0.3184, allocations: 201.9 kB / 370.5 MB, free: 5.762 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3184, allocations: 0 / 370.5 MB, free: 5.762 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004376/0.3189, allocations: 116 kB / 370.6 MB, free: 5.648 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.0002617/0.3191, allocations: 143.1 kB / 370.7 MB, free: 5.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005197/0.3197, allocations: 256 kB / 371 MB, free: 5.25 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3197, allocations: 0 / 371 MB, free: 5.25 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002643/0.3199, allocations: 131.7 kB / 371.1 MB, free: 5.121 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000976/0.3209, allocations: 176.8 kB / 371.3 MB, free: 4.949 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.3221, allocations: 0.6353 MB / 371.9 MB, free: 4.281 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.3224, allocations: 0.7606 MB / 372.7 MB, free: 3.496 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000304/0.3227, allocations: 75.11 kB / 372.7 MB, free: 3.422 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.57e-05/0.3228, allocations: 23.44 kB / 372.8 MB, free: 3.398 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3228, allocations: 0 / 372.8 MB, free: 3.398 MB / 302.1 MB Notification: Performance of Templates: time 0.01176/0.3346, allocations: 7.009 MB / 379.8 MB, free: 12.39 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1)