Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Media.Incompressible.Examples.TestGlycol") translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.008586/0.008585, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001858/0.001858, allocations: 193.3 kB / 16.67 MB, free: 5.953 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.469/1.469, allocations: 205.1 MB / 222.5 MB, free: 4.484 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.001307/0.001307, allocations: 53.39 kB / 326.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1092, allocations: 46.62 MB / 373.1 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.01038/0.1196, allocations: 7.761 MB / 380.9 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008898/0.1206, allocations: 0.6153 MB / 381.5 MB, free: 8.906 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-05/0.1206, allocations: 0 / 381.5 MB, free: 8.906 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003033/0.121, allocations: 35.77 kB / 381.6 MB, free: 8.871 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.001618/0.1226, allocations: 0.5761 MB / 382.1 MB, free: 8.293 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.1229, allocations: 95.86 kB / 382.2 MB, free: 8.199 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000262/0.1232, allocations: 179.3 kB / 382.4 MB, free: 8.023 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.574e-05/0.1232, allocations: 4 kB / 382.4 MB, free: 8.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00109/0.1243, allocations: 0.6197 MB / 383 MB, free: 7.398 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.101e-05/0.1244, allocations: 55.77 kB / 383.1 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.1245, allocations: 4 kB / 383.1 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001339/0.1258, allocations: 0.8501 MB / 383.9 MB, free: 6.488 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.144e-05/0.1259, allocations: 23.92 kB / 384 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.116e-05/0.126, allocations: 47.78 kB / 384 MB, free: 6.418 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004291/0.1264, allocations: 231.5 kB / 384.2 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1264, allocations: 0 / 384.2 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1264, allocations: 0 / 384.2 MB, free: 6.191 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1265, allocations: 0 / 384.2 MB, free: 6.191 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.0005639/0.127, allocations: 423.2 kB / 384.6 MB, free: 5.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.1271, allocations: 15.97 kB / 384.7 MB, free: 5.715 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004182/0.1275, allocations: 36.81 kB / 384.7 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003183/0.1278, allocations: 192.2 kB / 384.9 MB, free: 5.453 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.1279, allocations: 8.375 kB / 384.9 MB, free: 5.445 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.1279, allocations: 4.375 kB / 384.9 MB, free: 5.441 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002667/0.1281, allocations: 145.1 kB / 385 MB, free: 5.281 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.1282, allocations: 0 / 385 MB, free: 5.281 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.1282, allocations: 4 kB / 385 MB, free: 5.277 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.1282, allocations: 8 kB / 385.1 MB, free: 5.27 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001873/0.1284, allocations: 107.8 kB / 385.2 MB, free: 5.164 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.000744/0.1292, allocations: 0.6644 MB / 385.8 MB, free: 4.426 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.1293, allocations: 90.48 kB / 385.9 MB, free: 4.328 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.543e-05/0.1294, allocations: 37.09 kB / 385.9 MB, free: 4.289 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006345/0.13, allocations: 0.8115 MB / 386.8 MB, free: 3.293 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.1301, allocations: 34.56 kB / 386.8 MB, free: 3.25 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.432e-06/0.1301, allocations: 0 / 386.8 MB, free: 3.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003188/0.1304, allocations: 125.7 kB / 386.9 MB, free: 3.121 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.1305, allocations: 59.34 kB / 387 MB, free: 3.051 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.1306, allocations: 126 kB / 387.1 MB, free: 2.918 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.1306, allocations: 25.7 kB / 387.1 MB, free: 2.887 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.902e-05/0.1307, allocations: 99.94 kB / 387.2 MB, free: 2.785 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.1307, allocations: 43.39 kB / 387.3 MB, free: 2.742 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.649e-05/0.1308, allocations: 41.64 kB / 387.3 MB, free: 2.695 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1309, allocations: 318.8 kB / 387.6 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.117e-05/0.131, allocations: 23.98 kB / 387.6 MB, free: 2.352 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.999e-05/0.1311, allocations: 73.12 kB / 387.7 MB, free: 2.262 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.1312, allocations: 105.6 kB / 387.8 MB, free: 2.141 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1312, allocations: 4 kB / 387.8 MB, free: 2.137 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002191/0.1315, allocations: 137.5 kB / 387.9 MB, free: 1.996 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.1315, allocations: 8.25 kB / 388 MB, free: 1.988 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.1315, allocations: 0 / 388 MB, free: 1.988 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.1315, allocations: 4 kB / 388 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.1317, allocations: 27.98 kB / 388 MB, free: 1.957 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.1317, allocations: 7.938 kB / 388 MB, free: 1.949 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.631e-05/0.1317, allocations: 15.84 kB / 388 MB, free: 1.934 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.1318, allocations: 16.14 kB / 388 MB, free: 1.918 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.78e-05/0.1319, allocations: 121.8 kB / 388.1 MB, free: 1.789 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.587e-05/0.1319, allocations: 7.906 kB / 388.2 MB, free: 1.781 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000294/0.1322, allocations: 134.1 kB / 388.3 MB, free: 1.645 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.1322, allocations: 4 kB / 388.3 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.1322, allocations: 11.88 kB / 388.3 MB, free: 1.629 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1323, allocations: 0 / 388.3 MB, free: 1.629 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000433/0.1327, allocations: 398.2 kB / 388.7 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1327, allocations: 0 / 388.7 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.221e-05/0.1328, allocations: 31.92 kB / 388.7 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.1328, allocations: 3.938 kB / 388.7 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.1328, allocations: 4 kB / 388.7 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1328, allocations: 0 / 388.7 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1328, allocations: 0 / 388.7 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002014/0.133, allocations: 203.4 kB / 388.9 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.551e-05/0.1331, allocations: 104.9 kB / 389 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.1332, allocations: 3.938 kB / 389 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.492e-05/0.1333, allocations: 4 kB / 389 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.353e-05/0.1333, allocations: 11.98 kB / 389 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.1333, allocations: 4 kB / 389.1 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.023e-05/0.1334, allocations: 91.27 kB / 389.1 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1334, allocations: 0 / 389.1 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003289/0.1337, allocations: 59.94 kB / 389.2 MB, free: 0.6367 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.0002832/0.134, allocations: 163.2 kB / 389.4 MB, free: 480 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.1342, allocations: 84.39 kB / 389.4 MB, free: 396 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1342, allocations: 4.312 kB / 389.4 MB, free: 392 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.474e-05/0.1343, allocations: 40.17 kB / 389.5 MB, free: 352 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/0.1347, allocations: 43.86 kB / 389.5 MB, free: 308 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004425/0.1351, allocations: 231.9 kB / 389.8 MB, free: 48 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.1354, allocations: 0.6969 MB / 390.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001185/0.1355, allocations: 32.73 kB / 390.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.329e-05/0.1356, allocations: 23.38 kB / 390.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1356, allocations: 3.938 kB / 390.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of Templates: time 0.005805/0.1414, allocations: 2.418 MB / 392.9 MB, free: 12.84 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Incompressible.Examples.TestGlycol.makefile (rm -f Modelica_3.1_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_3.1_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_3.1_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_3.1_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1)