Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001176/0.001176, 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.001197/0.001197, allocations: 194.3 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.559/1.559, allocations: 205.1 MB / 222.4 MB, free: 4.562 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.001332/0.001333, allocations: 59.91 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2569, allocations: 46.63 MB / 325.3 MB, free: 1.898 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.02625/0.2832, allocations: 24.57 MB / 349.9 MB, free: 11.3 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003353/0.2866, allocations: 2.499 MB / 352.4 MB, free: 8.793 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001671/0.2868, allocations: 4 kB / 352.4 MB, free: 8.789 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005419/0.2873, allocations: 167 kB / 352.6 MB, free: 8.625 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000557/0.2879, allocations: 322.2 kB / 352.9 MB, free: 8.309 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.002257/0.2902, allocations: 0.9663 MB / 353.8 MB, free: 7.34 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00081/0.291, allocations: 0.8952 MB / 354.7 MB, free: 6.441 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001932/0.2912, allocations: 104.7 kB / 354.8 MB, free: 6.344 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004056/0.2953, allocations: 2.725 MB / 357.6 MB, free: 3.613 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003717/0.2956, allocations: 270.9 kB / 357.8 MB, free: 3.348 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.199e-05/0.2957, allocations: 32 kB / 357.9 MB, free: 3.316 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000584/0.2963, allocations: 235.7 kB / 358.1 MB, free: 3.086 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.2964, allocations: 107.6 kB / 358.2 MB, free: 2.98 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001935/0.2966, allocations: 183.3 kB / 358.4 MB, free: 2.801 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006235/0.2973, allocations: 0.5687 MB / 358.9 MB, free: 2.23 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2973, allocations: 0 / 358.9 MB, free: 2.23 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2973, allocations: 0 / 358.9 MB, free: 2.23 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.2973, allocations: 3.984 kB / 358.9 MB, free: 2.227 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.0008202/0.2981, allocations: 0.6275 MB / 359.6 MB, free: 1.551 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.2982, allocations: 11.97 kB / 359.6 MB, free: 1.539 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003591/0.2985, allocations: 56.55 kB / 359.6 MB, free: 1.484 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003497/0.2989, allocations: 291.6 kB / 359.9 MB, free: 1.16 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.2989, allocations: 16.94 kB / 359.9 MB, free: 1.145 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.518e-05/0.299, allocations: 28.38 kB / 360 MB, free: 1.117 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004992/0.2995, allocations: 338.4 kB / 360.3 MB, free: 0.75 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.2995, allocations: 3.938 kB / 360.3 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.907e-05/0.2995, allocations: 12 kB / 360.3 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.2996, allocations: 8 kB / 360.3 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003092/0.2999, allocations: 189.5 kB / 360.5 MB, free: 0.5391 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.00201/0.3019, allocations: 2.123 MB / 362.6 MB, free: 14.19 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/0.3022, allocations: 182.6 kB / 362.8 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.3023, allocations: 96.7 kB / 362.9 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001689/0.3025, allocations: 247.5 kB / 363.1 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.3025, allocations: 38.56 kB / 363.2 MB, free: 13.56 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.462e-06/0.3025, allocations: 0 / 363.2 MB, free: 13.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=30): time 0.002487/0.305, allocations: 1.018 MB / 364.2 MB, free: 12.47 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.3051, allocations: 55.41 kB / 364.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.3054, allocations: 266.5 kB / 364.5 MB, free: 12.13 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.332e-05/0.3054, allocations: 29.7 kB / 364.5 MB, free: 12.1 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.3056, allocations: 180.2 kB / 364.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.249e-05/0.3057, allocations: 106.4 kB / 364.8 MB, free: 11.81 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.3058, allocations: 74.06 kB / 364.9 MB, free: 11.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3059, allocations: 346.8 kB / 365.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.3061, allocations: 80.72 kB / 365.3 MB, free: 11.31 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/0.3063, allocations: 170.6 kB / 365.5 MB, free: 11.11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003856/0.3067, allocations: 285.1 kB / 365.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.3067, allocations: 0 / 365.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005689/0.3073, allocations: 377.6 kB / 366.1 MB, free: 10.42 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.3073, allocations: 8 kB / 366.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.3073, allocations: 4.312 kB / 366.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004096/0.3077, allocations: 100.7 kB / 366.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002505/0.308, allocations: 63.91 kB / 366.3 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005806/0.3086, allocations: 0.6537 MB / 367 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/0.3088, allocations: 16.09 kB / 367 MB, free: 9.547 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.523e-05/0.3088, allocations: 16 kB / 367 MB, free: 9.531 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.0001764/0.309, allocations: 153.8 kB / 367.1 MB, free: 9.371 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.46e-05/0.3091, allocations: 39.58 kB / 367.2 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000673/0.3098, allocations: 372.9 kB / 367.5 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.3098, allocations: 8 kB / 367.5 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3098, allocations: 0 / 367.5 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005591/0.3104, allocations: 0.5553 MB / 368.1 MB, free: 8.289 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.3114, allocations: 0.7439 MB / 368.8 MB, free: 7.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3115, allocations: 8.047 kB / 368.9 MB, free: 7.473 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.3116, allocations: 39.91 kB / 368.9 MB, free: 7.434 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004675/0.3121, allocations: 96.78 kB / 369 MB, free: 7.336 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/0.3121, allocations: 7.984 kB / 369 MB, free: 7.328 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005419/0.3127, allocations: 0.6381 MB / 369.6 MB, free: 6.664 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.3127, allocations: 4.031 kB / 369.6 MB, free: 6.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007317/0.3134, allocations: 481.8 kB / 370.1 MB, free: 6.164 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.294e-05/0.3135, allocations: 108.8 kB / 370.2 MB, free: 6.039 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.106e-05/0.3136, allocations: 7.938 kB / 370.2 MB, free: 6.031 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.3138, allocations: 7.938 kB / 370.2 MB, free: 6.023 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.3139, allocations: 19.97 kB / 370.2 MB, free: 6.004 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.268e-05/0.3139, allocations: 20 kB / 370.3 MB, free: 5.984 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001986/0.3141, allocations: 201.9 kB / 370.5 MB, free: 5.789 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3141, allocations: 0 / 370.5 MB, free: 5.789 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000422/0.3145, allocations: 112 kB / 370.6 MB, free: 5.68 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.0002684/0.3148, allocations: 147.2 kB / 370.7 MB, free: 5.527 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005576/0.3154, allocations: 251.5 kB / 371 MB, free: 5.281 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3154, allocations: 0 / 371 MB, free: 5.281 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002856/0.3157, allocations: 132.5 kB / 371.1 MB, free: 5.152 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009953/0.3167, allocations: 168.5 kB / 371.3 MB, free: 4.988 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.3178, allocations: 0.6392 MB / 371.9 MB, free: 4.316 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.3182, allocations: 0.7606 MB / 372.7 MB, free: 3.531 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003146/0.3185, allocations: 59.25 kB / 372.7 MB, free: 3.473 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.934e-05/0.3186, allocations: 43.34 kB / 372.8 MB, free: 3.43 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3186, allocations: 0 / 372.8 MB, free: 3.43 MB / 302.1 MB Notification: Performance of Templates: time 0.01261/0.3312, allocations: 7.002 MB / 379.8 MB, free: 12.42 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1)