Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.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.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol") translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006426/0.006426, allocations: 102 kB / 15.73 MB, free: 6.066 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.001494/0.001494, allocations: 196.5 kB / 16.68 MB, free: 5.977 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.459/1.459, allocations: 205.1 MB / 222.6 MB, free: 4.328 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.001477/0.001477, allocations: 50.11 kB / 326.5 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1032, allocations: 46.62 MB / 373.1 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.009246/0.1125, allocations: 7.75 MB / 380.9 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007918/0.1133, allocations: 0.627 MB / 381.5 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.151e-05/0.1134, allocations: 0 / 381.5 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002798/0.1137, allocations: 27.77 kB / 381.6 MB, free: 8.855 MB / 318.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.typeBindings: time 0.001529/0.1153, allocations: 0.5761 MB / 382.1 MB, free: 8.277 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002504/0.1155, allocations: 91.81 kB / 382.2 MB, free: 8.188 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002775/0.1158, allocations: 179.3 kB / 382.4 MB, free: 8.012 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.762e-05/0.1159, allocations: 7.938 kB / 382.4 MB, free: 8.004 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001069/0.117, allocations: 0.6235 MB / 383 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.679e-05/0.1171, allocations: 47.78 kB / 383.1 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.1171, allocations: 8 kB / 383.1 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.1184, allocations: 0.8424 MB / 383.9 MB, free: 6.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.886e-05/0.1185, allocations: 23.86 kB / 383.9 MB, free: 6.457 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.363e-05/0.1186, allocations: 51.78 kB / 384 MB, free: 6.406 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000392/0.119, allocations: 231.5 kB / 384.2 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.119, allocations: 4 kB / 384.2 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.119, allocations: 0 / 384.2 MB, free: 6.176 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.411e-06/0.119, allocations: 0 / 384.2 MB, free: 6.176 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005083/0.1195, allocations: 423.2 kB / 384.6 MB, free: 5.715 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.1196, allocations: 12.03 kB / 384.7 MB, free: 5.703 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003966/0.12, allocations: 32.81 kB / 384.7 MB, free: 5.672 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.1202, allocations: 196.1 kB / 384.9 MB, free: 5.441 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.1203, allocations: 8.375 kB / 384.9 MB, free: 5.434 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.1203, allocations: 16.36 kB / 384.9 MB, free: 5.418 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.1205, allocations: 141.1 kB / 385 MB, free: 5.262 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.1205, allocations: 0 / 385 MB, free: 5.262 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.1206, allocations: 8 kB / 385 MB, free: 5.254 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.1206, allocations: 8 kB / 385.1 MB, free: 5.246 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.1207, allocations: 115.8 kB / 385.2 MB, free: 5.133 MB / 318.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.0007021/0.1215, allocations: 0.6566 MB / 385.8 MB, free: 4.402 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.1216, allocations: 90.48 kB / 385.9 MB, free: 4.305 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.314e-05/0.1217, allocations: 41.09 kB / 386 MB, free: 4.262 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006151/0.1223, allocations: 0.8076 MB / 386.8 MB, free: 3.27 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.1223, allocations: 34.56 kB / 386.8 MB, free: 3.227 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.402e-06/0.1223, allocations: 4 kB / 386.8 MB, free: 3.223 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002972/0.1226, allocations: 121.7 kB / 386.9 MB, free: 3.098 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.1227, allocations: 55.41 kB / 387 MB, free: 3.031 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.596e-05/0.1228, allocations: 133.6 kB / 387.1 MB, free: 2.891 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.1228, allocations: 25.7 kB / 387.1 MB, free: 2.859 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.82e-05/0.1229, allocations: 99.94 kB / 387.2 MB, free: 2.758 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.1229, allocations: 43.3 kB / 387.3 MB, free: 2.715 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.339e-05/0.123, allocations: 37.7 kB / 387.3 MB, free: 2.672 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.1231, allocations: 318.8 kB / 387.6 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.971e-05/0.1231, allocations: 23.98 kB / 387.6 MB, free: 2.328 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.037e-05/0.1232, allocations: 70.22 kB / 387.7 MB, free: 2.242 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.1234, allocations: 117.6 kB / 387.8 MB, free: 2.109 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.1234, allocations: 0 / 387.8 MB, free: 2.109 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001914/0.1236, allocations: 129.5 kB / 387.9 MB, free: 1.977 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1236, allocations: 8.312 kB / 388 MB, free: 1.969 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1236, allocations: 0 / 388 MB, free: 1.969 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.1236, allocations: 4 kB / 388 MB, free: 1.965 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.1237, allocations: 31.92 kB / 388 MB, free: 1.934 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.1238, allocations: 11.92 kB / 388 MB, free: 1.922 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.744e-05/0.1238, allocations: 16 kB / 388 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.1238, allocations: 8 kB / 388 MB, free: 1.898 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 18 * 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 8.209e-05/0.1239, allocations: 121.8 kB / 388.1 MB, free: 1.77 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.591e-05/0.124, allocations: 7.906 kB / 388.2 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000263/0.1242, allocations: 142.4 kB / 388.3 MB, free: 1.617 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1243, allocations: 0 / 388.3 MB, free: 1.617 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.1243, allocations: 7.938 kB / 388.3 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.1243, allocations: 4 kB / 388.3 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004056/0.1247, allocations: 398.1 kB / 388.7 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1247, allocations: 3.938 kB / 388.7 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.734e-05/0.1248, allocations: 23.98 kB / 388.7 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.1248, allocations: 3.938 kB / 388.7 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.1248, allocations: 0 / 388.7 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1248, allocations: 0 / 388.7 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1248, allocations: 7.938 kB / 388.7 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/0.125, allocations: 203.4 kB / 388.9 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.192e-05/0.1251, allocations: 100.9 kB / 389 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.1251, allocations: 4 kB / 389 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.671e-05/0.1252, allocations: 8 kB / 389 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.085e-05/0.1253, allocations: 7.984 kB / 389 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.1253, allocations: 4 kB / 389 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.743e-05/0.1253, allocations: 91.27 kB / 389.1 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1253, allocations: 4 kB / 389.1 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003249/0.1257, allocations: 59.94 kB / 389.2 MB, free: 0.6133 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.0002862/0.126, allocations: 159.2 kB / 389.4 MB, free: 460 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001934/0.1262, allocations: 92.39 kB / 389.4 MB, free: 368 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1262, allocations: 0 / 389.4 MB, free: 368 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.473e-05/0.1262, allocations: 39.92 kB / 389.5 MB, free: 328 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004307/0.1267, allocations: 44.09 kB / 389.5 MB, free: 284 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004418/0.1271, allocations: 231.9 kB / 389.8 MB, free: 24 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.1274, allocations: 0.6966 MB / 390.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001245/0.1276, allocations: 36.77 kB / 390.5 MB, free: 15.26 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.389e-05/0.1276, allocations: 27.31 kB / 390.5 MB, free: 15.24 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1276, allocations: 4 kB / 390.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of Templates: time 0.005857/0.1335, allocations: 2.411 MB / 392.9 MB, free: 12.82 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.makefile (rm -f Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1)