Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Media.Incompressible.Examples.TestGlycol") translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001053/0.001053, allocations: 109.2 kB / 16.62 MB, free: 6.961 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.0009849/0.000985, allocations: 190 kB / 17.54 MB, free: 6.066 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.373/1.373, allocations: 205.1 MB / 223.4 MB, free: 12.46 MB / 190.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.001166/0.001166, allocations: 47.94 kB / 279.5 MB, free: 3.504 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1124, allocations: 46.63 MB / 326.1 MB, free: 4.809 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.0101/0.1225, allocations: 7.78 MB / 333.9 MB, free: 12.97 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008308/0.1234, allocations: 0.6192 MB / 334.5 MB, free: 12.35 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.636e-05/0.1235, allocations: 0 / 334.5 MB, free: 12.35 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002884/0.1238, allocations: 23.89 kB / 334.6 MB, free: 12.33 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001409/0.1252, allocations: 0.5414 MB / 335.1 MB, free: 11.79 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000232/0.1255, allocations: 87.83 kB / 335.2 MB, free: 11.7 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002436/0.1257, allocations: 179.3 kB / 335.4 MB, free: 11.52 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.528e-05/0.1258, allocations: 11.98 kB / 335.4 MB, free: 11.51 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001063/0.1269, allocations: 0.7053 MB / 336.1 MB, free: 10.8 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.608e-05/0.127, allocations: 51.83 kB / 336.1 MB, free: 10.75 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.127, allocations: 7.938 kB / 336.1 MB, free: 10.75 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001456/0.1285, allocations: 0.9633 MB / 337.1 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.389e-05/0.1285, allocations: 35.83 kB / 337.1 MB, free: 9.746 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.05e-05/0.1286, allocations: 39.86 kB / 337.2 MB, free: 9.707 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004418/0.1291, allocations: 239.5 kB / 337.4 MB, free: 9.473 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.1291, allocations: 4 kB / 337.4 MB, free: 9.469 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.599e-06/0.1291, allocations: 7.984 kB / 337.4 MB, free: 9.461 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.1291, allocations: 0 / 337.4 MB, free: 9.461 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006519/0.1298, allocations: 427.1 kB / 337.8 MB, free: 8.996 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.1298, allocations: 8.031 kB / 337.8 MB, free: 8.988 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004095/0.1302, allocations: 32.81 kB / 337.9 MB, free: 8.957 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.1305, allocations: 188.3 kB / 338.1 MB, free: 8.734 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.1305, allocations: 8.375 kB / 338.1 MB, free: 8.727 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.1305, allocations: 8.375 kB / 338.1 MB, free: 8.719 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002948/0.1308, allocations: 141.1 kB / 338.2 MB, free: 8.562 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.1309, allocations: 8 kB / 338.2 MB, free: 8.555 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.1309, allocations: 4 kB / 338.2 MB, free: 8.551 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.1309, allocations: 4 kB / 338.2 MB, free: 8.547 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001876/0.1311, allocations: 107.8 kB / 338.3 MB, free: 8.441 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.0008567/0.132, allocations: 0.6721 MB / 339 MB, free: 7.695 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.1321, allocations: 86.48 kB / 339.1 MB, free: 7.602 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.557e-05/0.1322, allocations: 36.84 kB / 339.1 MB, free: 7.562 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007217/0.1329, allocations: 0.8037 MB / 339.9 MB, free: 6.574 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.886e-05/0.133, allocations: 38.56 kB / 340 MB, free: 6.527 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.843e-06/0.133, allocations: 0 / 340 MB, free: 6.527 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003193/0.1333, allocations: 122 kB / 340.1 MB, free: 6.402 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.1334, allocations: 59.41 kB / 340.1 MB, free: 6.332 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.1335, allocations: 125.7 kB / 340.3 MB, free: 6.199 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.1335, allocations: 25.7 kB / 340.3 MB, free: 6.168 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.685e-05/0.1336, allocations: 103.8 kB / 340.4 MB, free: 6.062 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.449e-05/0.1337, allocations: 47.28 kB / 340.4 MB, free: 6.016 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-05/0.1337, allocations: 45.61 kB / 340.5 MB, free: 5.965 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.1338, allocations: 322.8 kB / 340.8 MB, free: 5.641 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.142e-05/0.1339, allocations: 27.98 kB / 340.8 MB, free: 5.613 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.664e-05/0.134, allocations: 61.14 kB / 340.9 MB, free: 5.535 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.1341, allocations: 105.1 kB / 341 MB, free: 5.414 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1341, allocations: 0 / 341 MB, free: 5.414 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002029/0.1343, allocations: 141.9 kB / 341.1 MB, free: 5.27 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1344, allocations: 7.281 kB / 341.1 MB, free: 5.266 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.1344, allocations: 4 kB / 341.1 MB, free: 5.262 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.1344, allocations: 4 kB / 341.1 MB, free: 5.258 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.1345, allocations: 31.92 kB / 341.2 MB, free: 5.227 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.1345, allocations: 7.938 kB / 341.2 MB, free: 5.219 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.45e-05/0.1346, allocations: 15.84 kB / 341.2 MB, free: 5.203 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.1346, allocations: 8 kB / 341.2 MB, free: 5.195 MB / 286.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.31e-05/0.1347, allocations: 121.8 kB / 341.3 MB, free: 5.066 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.762e-05/0.1348, allocations: 4 kB / 341.3 MB, free: 5.062 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000291/0.1351, allocations: 146.5 kB / 341.5 MB, free: 4.918 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1351, allocations: 4 kB / 341.5 MB, free: 4.914 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1351, allocations: 3.938 kB / 341.5 MB, free: 4.91 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.1351, allocations: 3.984 kB / 341.5 MB, free: 4.906 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004426/0.1356, allocations: 390.4 kB / 341.9 MB, free: 4.469 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.1356, allocations: 4 kB / 341.9 MB, free: 4.465 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.449e-05/0.1357, allocations: 23.98 kB / 341.9 MB, free: 4.441 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.1357, allocations: 7.875 kB / 341.9 MB, free: 4.434 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.1357, allocations: 4 kB / 341.9 MB, free: 4.43 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.1357, allocations: 3.984 kB / 341.9 MB, free: 4.426 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1357, allocations: 0 / 341.9 MB, free: 4.426 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002077/0.1359, allocations: 199.5 kB / 342.1 MB, free: 4.215 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.026e-05/0.136, allocations: 96.94 kB / 342.2 MB, free: 4.102 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.136, allocations: 4 kB / 342.2 MB, free: 4.098 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.901e-05/0.1361, allocations: 8 kB / 342.2 MB, free: 4.09 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.163e-05/0.1362, allocations: 11.98 kB / 342.2 MB, free: 4.078 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.1362, allocations: 4 kB / 342.2 MB, free: 4.074 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.681e-05/0.1363, allocations: 91.27 kB / 342.3 MB, free: 3.984 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1363, allocations: 0 / 342.3 MB, free: 3.984 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003472/0.1366, allocations: 67.92 kB / 342.4 MB, free: 3.918 MB / 286.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.0003946/0.137, allocations: 175.1 kB / 342.5 MB, free: 3.734 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002287/0.1373, allocations: 87.89 kB / 342.6 MB, free: 3.648 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1373, allocations: 0 / 342.6 MB, free: 3.648 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.776e-05/0.1373, allocations: 43.92 kB / 342.7 MB, free: 3.605 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005625/0.1379, allocations: 40.48 kB / 342.7 MB, free: 3.566 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005415/0.1385, allocations: 271.4 kB / 343 MB, free: 3.273 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.1388, allocations: 0.6967 MB / 343.7 MB, free: 2.551 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001431/0.1389, allocations: 28.8 kB / 343.7 MB, free: 2.523 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.787e-05/0.139, allocations: 19.44 kB / 343.7 MB, free: 2.504 MB / 286.1 MB Notification: Performance of SimCode: time 3.31e-07/0.139, allocations: 3.938 kB / 343.7 MB, free: 2.5 MB / 286.1 MB Notification: Performance of Templates: time 0.005776/0.1448, allocations: 2.484 MB / 346.2 MB, free: 20 kB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Incompressible.Examples.TestGlycol.makefile (rm -f Modelica_3.2.2_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_3.2.2_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1)