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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001113/0.001113, allocations: 179.2 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.517/1.517, allocations: 194.5 MB / 211.6 MB, free: 3.055 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001782/0.001782, allocations: 114.5 kB / 256.9 MB, free: 4.363 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000315/0.000315, allocations: 8 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09132/0.09165, allocations: 44.51 MB / 355.1 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5813/0.673, allocations: 187.8 MB / 0.5301 GB, free: 106.8 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/0.6732, allocations: 76.61 kB / 0.5302 GB, free: 106.8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05023/0.7235, allocations: 22.76 MB / 0.5524 GB, free: 100.9 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.7235, allocations: 0 / 0.5524 GB, free: 100.9 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.7236, allocations: 1.562 kB / 0.5524 GB, free: 100.9 MB / 394.7 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.0005968/0.7242, allocations: 447.5 kB / 0.5528 GB, free: 100.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.7242, allocations: 12.97 kB / 0.5529 GB, free: 100.5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003234/0.7245, allocations: 34.55 kB / 0.5529 GB, free: 100.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.7247, allocations: 187.2 kB / 0.5531 GB, free: 100.3 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.7248, allocations: 8.219 kB / 0.5531 GB, free: 100.3 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.7248, allocations: 8.5 kB / 0.5531 GB, free: 100.3 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/0.725, allocations: 135.8 kB / 0.5532 GB, free: 100.2 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.725, allocations: 7.859 kB / 0.5532 GB, free: 100.2 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.7251, allocations: 7.875 kB / 0.5532 GB, free: 100.2 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.7251, allocations: 3.906 kB / 0.5532 GB, free: 100.2 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.7252, allocations: 107.7 kB / 0.5533 GB, free: 100.1 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005557/0.7258, allocations: 0.6245 MB / 0.5539 GB, free: 99.55 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.726, allocations: 86.48 kB / 0.554 GB, free: 99.52 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004781/0.7264, allocations: 0.8022 MB / 0.5548 GB, free: 98.57 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.7265, allocations: 31.94 kB / 0.5548 GB, free: 98.53 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.7265, allocations: 1.25 kB / 0.5548 GB, free: 98.53 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002779/0.7268, allocations: 131.2 kB / 0.555 GB, free: 98.47 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.7268, allocations: 53.62 kB / 0.555 GB, free: 98.41 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.02e-05/0.7269, allocations: 109.6 kB / 0.5551 GB, free: 98.31 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.7269, allocations: 29.7 kB / 0.5551 GB, free: 98.28 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.1e-05/0.727, allocations: 101.6 kB / 0.5552 GB, free: 98.18 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.727, allocations: 47.88 kB / 0.5553 GB, free: 98.15 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/0.727, allocations: 1.375 kB / 0.5553 GB, free: 98.15 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.537e-05/0.7271, allocations: 319.5 kB / 0.5556 GB, free: 97.83 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.723e-05/0.7271, allocations: 26.58 kB / 0.5556 GB, free: 97.83 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.018e-05/0.7272, allocations: 67.08 kB / 0.5557 GB, free: 97.77 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.883e-05/0.7273, allocations: 43.64 kB / 0.5557 GB, free: 97.77 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.7273, allocations: 9.078 kB / 0.5557 GB, free: 97.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001993/0.7275, allocations: 131 kB / 0.5559 GB, free: 97.7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.7275, allocations: 12.22 kB / 0.5559 GB, free: 97.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.7275, allocations: 1.719 kB / 0.5559 GB, free: 97.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.7276, allocations: 2.594 kB / 0.5559 GB, free: 97.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.7277, allocations: 28.08 kB / 0.5559 GB, free: 97.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.7277, allocations: 3.875 kB / 0.5559 GB, free: 97.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.299e-05/0.7278, allocations: 18.84 kB / 0.5559 GB, free: 97.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/0.7278, allocations: 8.406 kB / 0.5559 GB, free: 97.68 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.192e-05/0.7279, allocations: 118.1 kB / 0.556 GB, free: 97.57 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.7279, allocations: 15.81 kB / 0.5561 GB, free: 97.56 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003098/0.7283, allocations: 154.9 kB / 0.5562 GB, free: 97.48 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.7283, allocations: 1.062 kB / 0.5562 GB, free: 97.48 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.7283, allocations: 1 kB / 0.5562 GB, free: 97.48 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.7283, allocations: 384 / 0.5562 GB, free: 97.48 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003769/0.7287, allocations: 387.8 kB / 0.5566 GB, free: 97.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.7287, allocations: 4 kB / 0.5566 GB, free: 97.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.805e-05/0.7288, allocations: 29.7 kB / 0.5566 GB, free: 97.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.7288, allocations: 3.938 kB / 0.5566 GB, free: 97.13 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-06/0.7288, allocations: 5.969 kB / 0.5566 GB, free: 97.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.7288, allocations: 1.094 kB / 0.5566 GB, free: 97.13 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.7288, allocations: 0 / 0.5566 GB, free: 97.13 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.729, allocations: 198.3 kB / 0.5568 GB, free: 96.99 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.187e-05/0.729, allocations: 106.3 kB / 0.5569 GB, free: 96.88 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.7291, allocations: 4.719 kB / 0.5569 GB, free: 96.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.863e-05/0.7292, allocations: 5.531 kB / 0.5569 GB, free: 96.88 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.137e-05/0.7292, allocations: 8.328 kB / 0.5569 GB, free: 96.87 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.7292, allocations: 8.828 kB / 0.5569 GB, free: 96.87 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.688e-05/0.7293, allocations: 90.5 kB / 0.557 GB, free: 96.79 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7293, allocations: 0 / 0.557 GB, free: 96.79 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003656/0.7296, allocations: 62.64 kB / 0.5571 GB, free: 96.78 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000248/0.7299, allocations: 166.3 kB / 0.5572 GB, free: 96.65 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001873/0.7301, allocations: 78.5 kB / 0.5573 GB, free: 96.64 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7301, allocations: 0 / 0.5573 GB, free: 96.64 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.273e-05/0.7301, allocations: 39.64 kB / 0.5574 GB, free: 96.63 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.7305, allocations: 51.42 kB / 0.5574 GB, free: 96.61 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004085/0.7309, allocations: 299.5 kB / 0.5577 GB, free: 96.38 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001387/0.731, allocations: 0.694 MB / 0.5584 GB, free: 95.68 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001443/0.7312, allocations: 34.39 kB / 0.5584 GB, free: 95.66 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.621e-05/0.7312, allocations: 28.78 kB / 0.5584 GB, free: 95.64 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.7312, allocations: 0 / 0.5584 GB, free: 95.64 MB / 394.7 MB Notification: Performance of Templates: time 0.00487/0.7361, allocations: 2.217 MB / 0.5606 GB, free: 94.52 MB / 394.7 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)