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.0009637/0.000964, allocations: 91.28 kB / 16.65 MB, free: 6.598 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.0009242/0.0009242, allocations: 182.6 kB / 17.56 MB, free: 6.203 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.482/1.482, allocations: 205.4 MB / 223.7 MB, free: 13.08 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.0005131/0.0005134, allocations: 8.281 kB / 280.7 MB, free: 3.438 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1122, allocations: 47.59 MB / 328.3 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.0109/0.1232, allocations: 7.485 MB / 335.8 MB, free: 12.24 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009962/0.1242, allocations: 0.6272 MB / 336.4 MB, free: 11.61 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.762e-05/0.1243, allocations: 0 / 336.4 MB, free: 11.61 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002841/0.1246, allocations: 27.83 kB / 336.5 MB, free: 11.58 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001517/0.1261, allocations: 0.5258 MB / 337 MB, free: 11.05 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.1264, allocations: 79.91 kB / 337.1 MB, free: 10.98 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002869/0.1267, allocations: 223.1 kB / 337.3 MB, free: 10.76 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.96e-05/0.1267, allocations: 4 kB / 337.3 MB, free: 10.75 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001212/0.128, allocations: 0.6937 MB / 338 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.1281, allocations: 55.77 kB / 338 MB, free: 10 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.1281, allocations: 4 kB / 338 MB, free: 10 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001706/0.1298, allocations: 0.9398 MB / 339 MB, free: 9.059 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.374e-05/0.1299, allocations: 27.91 kB / 339 MB, free: 9.031 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000167/0.1301, allocations: 65.56 kB / 339.1 MB, free: 8.961 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000504/0.1306, allocations: 243.4 kB / 339.3 MB, free: 8.723 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1306, allocations: 4 kB / 339.3 MB, free: 8.719 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.1306, allocations: 0 / 339.3 MB, free: 8.719 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1306, allocations: 0 / 339.3 MB, free: 8.719 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.0006766/0.1313, allocations: 395.2 kB / 339.7 MB, free: 8.285 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.763e-05/0.1314, allocations: 8.031 kB / 339.7 MB, free: 8.277 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004468/0.1318, allocations: 36.81 kB / 339.7 MB, free: 8.242 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.1321, allocations: 200.2 kB / 339.9 MB, free: 8.008 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.1321, allocations: 8.375 kB / 339.9 MB, free: 8 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.1322, allocations: 8.375 kB / 339.9 MB, free: 7.992 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/0.1324, allocations: 141.1 kB / 340.1 MB, free: 7.836 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.1324, allocations: 0 / 340.1 MB, free: 7.836 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.1325, allocations: 7.984 kB / 340.1 MB, free: 7.828 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.1325, allocations: 4 kB / 340.1 MB, free: 7.824 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001773/0.1327, allocations: 107.9 kB / 340.2 MB, free: 7.719 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.0007894/0.1335, allocations: 0.6646 MB / 340.9 MB, free: 6.98 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.1336, allocations: 86.48 kB / 341 MB, free: 6.887 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.297e-05/0.1337, allocations: 44.84 kB / 341 MB, free: 6.84 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007637/0.1345, allocations: 0.8076 MB / 341.8 MB, free: 5.848 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.384e-05/0.1345, allocations: 30.56 kB / 341.8 MB, free: 5.809 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.763e-06/0.1345, allocations: 0 / 341.8 MB, free: 5.809 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003583/0.1349, allocations: 126 kB / 342 MB, free: 5.68 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.135, allocations: 59.33 kB / 342 MB, free: 5.609 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.1351, allocations: 121.7 kB / 342.1 MB, free: 5.48 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.1351, allocations: 29.7 kB / 342.2 MB, free: 5.445 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.635e-05/0.1352, allocations: 99.89 kB / 342.3 MB, free: 5.344 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.882e-05/0.1353, allocations: 51.28 kB / 342.3 MB, free: 5.293 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-05/0.1353, allocations: 21.7 kB / 342.3 MB, free: 5.266 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.1355, allocations: 318.8 kB / 342.6 MB, free: 4.945 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.924e-05/0.1355, allocations: 24 kB / 342.7 MB, free: 4.922 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.868e-05/0.1356, allocations: 69.12 kB / 342.7 MB, free: 4.836 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.1358, allocations: 109.5 kB / 342.8 MB, free: 4.711 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.1358, allocations: 0 / 342.8 MB, free: 4.711 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001945/0.136, allocations: 141.4 kB / 343 MB, free: 4.566 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.136, allocations: 7.984 kB / 343 MB, free: 4.559 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.136, allocations: 4 kB / 343 MB, free: 4.555 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.136, allocations: 3.938 kB / 343 MB, free: 4.551 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.1362, allocations: 31.98 kB / 343 MB, free: 4.52 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.1362, allocations: 7.938 kB / 343 MB, free: 4.512 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.177e-05/0.1363, allocations: 11.84 kB / 343 MB, free: 4.5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.582e-05/0.1363, allocations: 12 kB / 343.1 MB, free: 4.488 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.763e-05/0.1364, allocations: 121.9 kB / 343.2 MB, free: 4.359 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.25e-05/0.1364, allocations: 7.906 kB / 343.2 MB, free: 4.352 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002975/0.1367, allocations: 138.5 kB / 343.3 MB, free: 4.215 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1368, allocations: 0 / 343.3 MB, free: 4.215 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.1368, allocations: 3.938 kB / 343.3 MB, free: 4.211 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.1368, allocations: 3.984 kB / 343.3 MB, free: 4.207 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004916/0.1373, allocations: 394.3 kB / 343.7 MB, free: 3.766 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1373, allocations: 0 / 343.7 MB, free: 3.766 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.487e-05/0.1374, allocations: 23.92 kB / 343.7 MB, free: 3.742 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.1374, allocations: 3.938 kB / 343.7 MB, free: 3.738 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.1374, allocations: 12 kB / 343.8 MB, free: 3.727 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.1374, allocations: 0 / 343.8 MB, free: 3.727 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1374, allocations: 0 / 343.8 MB, free: 3.727 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.1376, allocations: 211.7 kB / 344 MB, free: 3.504 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.244e-05/0.1377, allocations: 96.94 kB / 344.1 MB, free: 3.391 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.1378, allocations: 4 kB / 344.1 MB, free: 3.387 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.1379, allocations: 4 kB / 344.1 MB, free: 3.383 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.67e-05/0.1379, allocations: 7.984 kB / 344.1 MB, free: 3.375 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.1379, allocations: 8 kB / 344.1 MB, free: 3.367 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.427e-05/0.138, allocations: 91.27 kB / 344.2 MB, free: 3.277 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.138, allocations: 0 / 344.2 MB, free: 3.277 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000338/0.1384, allocations: 59.92 kB / 344.2 MB, free: 3.219 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.0003727/0.1387, allocations: 175.1 kB / 344.4 MB, free: 3.035 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002021/0.139, allocations: 80.03 kB / 344.5 MB, free: 2.957 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.139, allocations: 0 / 344.5 MB, free: 2.957 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.513e-05/0.139, allocations: 43.92 kB / 344.5 MB, free: 2.914 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005138/0.1396, allocations: 43.55 kB / 344.6 MB, free: 2.875 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005543/0.1401, allocations: 292.7 kB / 344.8 MB, free: 2.566 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.1405, allocations: 0.6931 MB / 345.5 MB, free: 1.848 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001447/0.1406, allocations: 37.02 kB / 345.6 MB, free: 1.809 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.336e-05/0.1407, allocations: 19.44 kB / 345.6 MB, free: 1.789 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1407, allocations: 0 / 345.6 MB, free: 1.789 MB / 286.1 MB Notification: Performance of Templates: time 0.006015/0.1467, allocations: 2.41 MB / 348 MB, free: 15.38 MB / 302.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)