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.001003/0.001003, allocations: 182.2 kB / 13.64 MB, free: 1.676 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.516/1.516, allocations: 194.3 MB / 208.4 MB, free: 6.727 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.001646/0.001646, allocations: 116.7 kB / 253.5 MB, free: 9.594 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.021e-05/3.045e-05, allocations: 7.984 kB / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08744/0.08748, allocations: 44.5 MB / 349.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.407/0.4946, allocations: 187.7 MB / 0.5245 GB, free: 9.023 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/0.4949, allocations: 69.91 kB / 0.5246 GB, free: 8.988 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2784/0.7733, allocations: 22.71 MB / 0.5468 GB, free: 141.3 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.7734, allocations: 0 / 0.5468 GB, free: 141.3 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.556e-05/0.7734, allocations: 6.344 kB / 0.5468 GB, free: 141.3 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.0006179/0.774, allocations: 429.3 kB / 0.5472 GB, free: 140.9 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.7741, allocations: 9.719 kB / 0.5472 GB, free: 140.9 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003412/0.7744, allocations: 28.02 kB / 0.5472 GB, free: 140.9 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.7747, allocations: 194.6 kB / 0.5474 GB, free: 140.6 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.7747, allocations: 12.22 kB / 0.5474 GB, free: 140.6 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/0.7748, allocations: 5.875 kB / 0.5474 GB, free: 140.6 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003424/0.7751, allocations: 139.9 kB / 0.5476 GB, free: 140.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.7751, allocations: 0 / 0.5476 GB, free: 140.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.7752, allocations: 5.156 kB / 0.5476 GB, free: 140.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.7752, allocations: 2.125 kB / 0.5476 GB, free: 140.5 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002018/0.7754, allocations: 104 kB / 0.5477 GB, free: 140.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006777/0.7761, allocations: 0.6341 MB / 0.5483 GB, free: 139.9 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.7763, allocations: 76.73 kB / 0.5484 GB, free: 139.9 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.527e-05/0.7764, allocations: 45.91 kB / 0.5484 GB, free: 139.9 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005612/0.7769, allocations: 0.8054 MB / 0.5492 GB, free: 138.9 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.777, allocations: 31.66 kB / 0.5492 GB, free: 138.9 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.777, allocations: 3.938 kB / 0.5492 GB, free: 138.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002788/0.7773, allocations: 105.3 kB / 0.5493 GB, free: 138.8 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.7773, allocations: 56.27 kB / 0.5494 GB, free: 138.7 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.7774, allocations: 109.2 kB / 0.5495 GB, free: 138.6 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.7775, allocations: 35.14 kB / 0.5495 GB, free: 138.6 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.921e-05/0.7775, allocations: 101.4 kB / 0.5496 GB, free: 138.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.084e-05/0.7776, allocations: 48.59 kB / 0.5497 GB, free: 138.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.005e-05/0.7776, allocations: 5.031 kB / 0.5497 GB, free: 138.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.112e-05/0.7777, allocations: 313.2 kB / 0.55 GB, free: 138.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.013e-05/0.7778, allocations: 28.05 kB / 0.55 GB, free: 138.1 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.024e-05/0.7778, allocations: 65.97 kB / 0.5501 GB, free: 138.1 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.104e-05/0.7779, allocations: 43.02 kB / 0.5501 GB, free: 138.1 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.7779, allocations: 0.8438 kB / 0.5501 GB, free: 138.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002391/0.7782, allocations: 138.9 kB / 0.5502 GB, free: 138 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.7782, allocations: 9.312 kB / 0.5502 GB, free: 138 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.7782, allocations: 1.062 kB / 0.5502 GB, free: 138 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.7783, allocations: 3.188 kB / 0.5502 GB, free: 138 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.7784, allocations: 31.88 kB / 0.5503 GB, free: 138 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.7784, allocations: 0 / 0.5503 GB, free: 138 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.716e-05/0.7785, allocations: 15.83 kB / 0.5503 GB, free: 138 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.7785, allocations: 7.906 kB / 0.5503 GB, free: 138 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 () * 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 5.633e-05/0.7786, allocations: 112.9 kB / 0.5504 GB, free: 137.9 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.7786, allocations: 15.53 kB / 0.5504 GB, free: 137.9 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002731/0.7789, allocations: 138.6 kB / 0.5506 GB, free: 137.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.7789, allocations: 3.812 kB / 0.5506 GB, free: 137.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.7789, allocations: 0 / 0.5506 GB, free: 137.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.7789, allocations: 3.938 kB / 0.5506 GB, free: 137.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003496/0.7793, allocations: 390.1 kB / 0.5509 GB, free: 137.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.7793, allocations: 4 kB / 0.5509 GB, free: 137.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.741e-05/0.7794, allocations: 23.19 kB / 0.551 GB, free: 137.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.7794, allocations: 3.844 kB / 0.551 GB, free: 137.4 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.7794, allocations: 7.938 kB / 0.551 GB, free: 137.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.7794, allocations: 3.984 kB / 0.551 GB, free: 137.4 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.7794, allocations: 7.891 kB / 0.551 GB, free: 137.4 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.7796, allocations: 198.1 kB / 0.5512 GB, free: 137.3 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.322e-05/0.7796, allocations: 102.2 kB / 0.5513 GB, free: 137.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.7796, allocations: 8 kB / 0.5513 GB, free: 137.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.141e-05/0.7797, allocations: 7.812 kB / 0.5513 GB, free: 137.1 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.735e-05/0.7798, allocations: 15.81 kB / 0.5513 GB, free: 137.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.7798, allocations: 7.562 kB / 0.5513 GB, free: 137.1 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.902e-05/0.7798, allocations: 98.22 kB / 0.5514 GB, free: 137.1 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7798, allocations: 0 / 0.5514 GB, free: 137.1 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004203/0.7803, allocations: 58.88 kB / 0.5515 GB, free: 137 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 () * 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.000278/0.7806, allocations: 153.7 kB / 0.5516 GB, free: 136.9 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001693/0.7807, allocations: 81.81 kB / 0.5517 GB, free: 136.9 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.7807, allocations: 0 / 0.5517 GB, free: 136.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.715e-05/0.7808, allocations: 36.75 kB / 0.5517 GB, free: 136.9 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.7812, allocations: 42.58 kB / 0.5518 GB, free: 136.9 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002496/0.7814, allocations: 103.9 kB / 0.5519 GB, free: 136.8 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.7816, allocations: 0.7036 MB / 0.5525 GB, free: 136.1 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001403/0.7817, allocations: 32.59 kB / 0.5526 GB, free: 136.1 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.253e-05/0.7818, allocations: 19.28 kB / 0.5526 GB, free: 136.1 MB / 394.7 MB Notification: Performance of SimCode: time 9.32e-07/0.7818, allocations: 3.938 kB / 0.5526 GB, free: 136.1 MB / 394.7 MB Notification: Performance of Templates: time 0.004625/0.7864, allocations: 2.247 MB / 0.5548 GB, free: 135.3 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)