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.0084/0.0084, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001974/0.001974, allocations: 186.3 kB / 16.67 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.599/1.599, 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.001359/0.001359, allocations: 49.98 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1167, allocations: 46.63 MB / 373.2 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.01038/0.1271, allocations: 7.746 MB / 380.9 MB, free: 9.547 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008829/0.1281, allocations: 0.6231 MB / 381.5 MB, free: 8.922 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.556e-05/0.1281, allocations: 3.938 kB / 381.5 MB, free: 8.918 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000295/0.1285, allocations: 23.83 kB / 381.6 MB, free: 8.895 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.001512/0.13, allocations: 0.5761 MB / 382.1 MB, free: 8.316 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.1303, allocations: 91.86 kB / 382.2 MB, free: 8.227 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002827/0.1306, allocations: 183.3 kB / 382.4 MB, free: 8.047 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.819e-05/0.1306, allocations: 4 kB / 382.4 MB, free: 8.043 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001021/0.1317, allocations: 0.6158 MB / 383 MB, free: 7.426 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.1318, allocations: 47.77 kB / 383.1 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.1318, allocations: 12 kB / 383.1 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001309/0.1331, allocations: 0.8501 MB / 383.9 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.19e-05/0.1332, allocations: 15.92 kB / 383.9 MB, free: 6.5 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.049e-05/0.1333, allocations: 55.78 kB / 384 MB, free: 6.445 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000383/0.1337, allocations: 227.5 kB / 384.2 MB, free: 6.223 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.1337, allocations: 8 kB / 384.2 MB, free: 6.215 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.1337, allocations: 0 / 384.2 MB, free: 6.215 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1337, allocations: 3.938 kB / 384.2 MB, free: 6.211 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.0005161/0.1342, allocations: 415.3 kB / 384.6 MB, free: 5.758 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.1343, allocations: 8.031 kB / 384.6 MB, free: 5.75 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003889/0.1347, allocations: 36.81 kB / 384.7 MB, free: 5.715 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.135, allocations: 200.2 kB / 384.9 MB, free: 5.48 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.135, allocations: 8.375 kB / 384.9 MB, free: 5.473 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.135, allocations: 12.38 kB / 384.9 MB, free: 5.461 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000291/0.1353, allocations: 141.1 kB / 385 MB, free: 5.305 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.1353, allocations: 3.984 kB / 385 MB, free: 5.301 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.1354, allocations: 0 / 385 MB, free: 5.301 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.1354, allocations: 4 kB / 385 MB, free: 5.297 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000199/0.1356, allocations: 109 kB / 385.1 MB, free: 5.191 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.0008556/0.1364, allocations: 0.6682 MB / 385.8 MB, free: 4.449 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.1366, allocations: 90.42 kB / 385.9 MB, free: 4.352 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.195e-05/0.1367, allocations: 41.09 kB / 385.9 MB, free: 4.309 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007067/0.1374, allocations: 0.8154 MB / 386.8 MB, free: 3.309 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.1375, allocations: 30.56 kB / 386.8 MB, free: 3.27 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.1375, allocations: 0 / 386.8 MB, free: 3.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003396/0.1378, allocations: 126 kB / 386.9 MB, free: 3.141 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.1379, allocations: 51.41 kB / 387 MB, free: 3.078 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.138, allocations: 133.6 kB / 387.1 MB, free: 2.938 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.138, allocations: 29.7 kB / 387.1 MB, free: 2.902 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.007e-05/0.1381, allocations: 91.95 kB / 387.2 MB, free: 2.809 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.79e-05/0.1381, allocations: 51.3 kB / 387.3 MB, free: 2.758 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.026e-05/0.1382, allocations: 33.7 kB / 387.3 MB, free: 2.719 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.1383, allocations: 322.8 kB / 387.6 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.994e-05/0.1384, allocations: 23.98 kB / 387.6 MB, free: 2.371 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.129e-05/0.1385, allocations: 69.14 kB / 387.7 MB, free: 2.285 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.1386, allocations: 113.1 kB / 387.8 MB, free: 2.156 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.1386, allocations: 0 / 387.8 MB, free: 2.156 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002097/0.1389, allocations: 137.4 kB / 387.9 MB, free: 2.016 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.1389, allocations: 8.312 kB / 388 MB, free: 2.008 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.1389, allocations: 0 / 388 MB, free: 2.008 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.1389, allocations: 4 kB / 388 MB, free: 2.004 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.139, allocations: 31.98 kB / 388 MB, free: 1.973 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.1391, allocations: 3.938 kB / 388 MB, free: 1.969 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.611e-05/0.1391, allocations: 11.84 kB / 388 MB, free: 1.957 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/0.1391, allocations: 12 kB / 388 MB, free: 1.945 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 9.787e-05/0.1393, allocations: 121.9 kB / 388.1 MB, free: 1.816 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.721e-05/0.1393, allocations: 11.89 kB / 388.1 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003237/0.1396, allocations: 142.4 kB / 388.3 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1396, allocations: 0 / 388.3 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.1397, allocations: 3.938 kB / 388.3 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.1397, allocations: 7.984 kB / 388.3 MB, free: 1.648 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004853/0.1402, allocations: 394.2 kB / 388.7 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1402, allocations: 4 kB / 388.7 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.212e-05/0.1403, allocations: 23.94 kB / 388.7 MB, free: 1.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1403, allocations: 3.938 kB / 388.7 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.1403, allocations: 7.984 kB / 388.7 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1403, allocations: 7.922 kB / 388.7 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/0.1403, allocations: 8 kB / 388.7 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.1405, allocations: 195.8 kB / 388.9 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.254e-05/0.1406, allocations: 96.94 kB / 389 MB, free: 0.832 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.1406, allocations: 12 kB / 389 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.304e-05/0.1407, allocations: 0 / 389 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.955e-05/0.1408, allocations: 11.98 kB / 389 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.1408, allocations: 7.984 kB / 389.1 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.68e-05/0.1409, allocations: 87.28 kB / 389.1 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.132e-06/0.1409, allocations: 3.938 kB / 389.1 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000344/0.1412, allocations: 59.92 kB / 389.2 MB, free: 0.6523 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.0002729/0.1415, allocations: 163.2 kB / 389.4 MB, free: 496 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001802/0.1417, allocations: 84.03 kB / 389.4 MB, free: 412 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1417, allocations: 0 / 389.4 MB, free: 412 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.705e-05/0.1418, allocations: 40.23 kB / 389.5 MB, free: 372 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.1422, allocations: 44.14 kB / 389.5 MB, free: 328 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000464/0.1427, allocations: 243.5 kB / 389.8 MB, free: 56 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.143, allocations: 0.6966 MB / 390.5 MB, free: 15.33 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000114/0.1431, allocations: 28.8 kB / 390.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.591e-05/0.1432, allocations: 15.44 kB / 390.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1432, allocations: 3.938 kB / 390.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of Templates: time 0.005927/0.1491, allocations: 2.454 MB / 393 MB, free: 12.83 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)