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.001574/0.001574, allocations: 183.8 kB / 8.354 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.569/1.569, allocations: 194.3 MB / 203.1 MB, free: 13.02 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.001828/0.001827, allocations: 124.6 kB / 248.1 MB, free: 20 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.758e-05/1.733e-05, allocations: 3.938 kB / 298.1 MB, free: 35.51 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0868/0.08683, allocations: 44.5 MB / 342.6 MB, free: 6.996 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4445/0.5314, allocations: 187 MB / 0.5172 GB, free: 1.859 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/0.5317, allocations: 73.83 kB / 0.5173 GB, free: 1.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2754/0.8071, allocations: 22.55 MB / 0.5393 GB, free: 140.8 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.8072, allocations: 0 / 0.5393 GB, free: 140.8 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.618e-05/0.8072, allocations: 1.375 kB / 0.5393 GB, free: 140.8 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.000609/0.8078, allocations: 429.8 kB / 0.5397 GB, free: 140.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.377e-05/0.8079, allocations: 12.84 kB / 0.5397 GB, free: 140.5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003503/0.8082, allocations: 32.33 kB / 0.5397 GB, free: 140.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.8085, allocations: 193.8 kB / 0.5399 GB, free: 140.3 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.8085, allocations: 5.5 kB / 0.5399 GB, free: 140.3 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.8085, allocations: 5.25 kB / 0.5399 GB, free: 140.3 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002378/0.8088, allocations: 94.84 kB / 0.54 GB, free: 140.3 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.809, allocations: 129.1 kB / 0.5401 GB, free: 140.2 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.809, allocations: 2.625 kB / 0.5401 GB, free: 140.2 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.809, allocations: 1.094 kB / 0.5401 GB, free: 140.2 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.809, allocations: 2.219 kB / 0.5401 GB, free: 140.2 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006513/0.8097, allocations: 0.5957 MB / 0.5407 GB, free: 139.7 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.8099, allocations: 81.06 kB / 0.5408 GB, free: 139.7 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.934e-05/0.8099, allocations: 32.67 kB / 0.5408 GB, free: 139.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006015/0.8105, allocations: 0.8057 MB / 0.5416 GB, free: 138.7 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.8106, allocations: 36.56 kB / 0.5417 GB, free: 138.7 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.8106, allocations: 0 / 0.5417 GB, free: 138.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007739/0.8114, allocations: 131 kB / 0.5418 GB, free: 138.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.8114, allocations: 53.47 kB / 0.5418 GB, free: 138.6 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.8115, allocations: 109.6 kB / 0.5419 GB, free: 138.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.8116, allocations: 27.47 kB / 0.542 GB, free: 138.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.915e-05/0.8116, allocations: 98.66 kB / 0.5421 GB, free: 138.4 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.523e-05/0.8117, allocations: 43.91 kB / 0.5421 GB, free: 138.4 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-06/0.8117, allocations: 3.781 kB / 0.5421 GB, free: 138.4 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.559e-05/0.8118, allocations: 320 kB / 0.5424 GB, free: 138 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.044e-05/0.8119, allocations: 20.78 kB / 0.5424 GB, free: 138 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.014e-05/0.8119, allocations: 60.95 kB / 0.5425 GB, free: 138 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005109/0.8125, allocations: 71.75 kB / 0.5426 GB, free: 138 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.8125, allocations: 0 / 0.5426 GB, free: 138 MB / 394.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006715/0.8132, allocations: 164.5 kB / 0.5427 GB, free: 138 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.8132, allocations: 5 kB / 0.5427 GB, free: 138 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.8132, allocations: 2 kB / 0.5427 GB, free: 138 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.8132, allocations: 2.672 kB / 0.5427 GB, free: 138 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.8134, allocations: 34.77 kB / 0.5428 GB, free: 138 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.8134, allocations: 4.062 kB / 0.5428 GB, free: 138 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.11e-05/0.8135, allocations: 10.89 kB / 0.5428 GB, free: 138 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/0.8136, allocations: 9.156 kB / 0.5428 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 8.143e-05/0.8137, allocations: 108.7 kB / 0.5429 GB, free: 137.8 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.421e-05/0.8137, allocations: 20.17 kB / 0.5429 GB, free: 137.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007448/0.8145, allocations: 166.5 kB / 0.5431 GB, free: 137.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.8145, allocations: 2.906 kB / 0.5431 GB, free: 137.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.8145, allocations: 0 / 0.5431 GB, free: 137.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.8145, allocations: 8.016 kB / 0.5431 GB, free: 137.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008484/0.8154, allocations: 382.2 kB / 0.5434 GB, free: 137.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.8154, allocations: 4.75 kB / 0.5434 GB, free: 137.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.8155, allocations: 26.7 kB / 0.5435 GB, free: 137.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.8155, allocations: 3.719 kB / 0.5435 GB, free: 137.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.8155, allocations: 1.875 kB / 0.5435 GB, free: 137.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.8155, allocations: 9.25 kB / 0.5435 GB, free: 137.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.8156, allocations: 0 / 0.5435 GB, free: 137.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005766/0.8161, allocations: 222.1 kB / 0.5437 GB, free: 137.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.402e-05/0.8162, allocations: 107.2 kB / 0.5438 GB, free: 137.3 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.8163, allocations: 1.938 kB / 0.5438 GB, free: 137.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.8164, allocations: 0 / 0.5438 GB, free: 137.3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-05/0.8164, allocations: 9.328 kB / 0.5438 GB, free: 137.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.8165, allocations: 5.781 kB / 0.5438 GB, free: 137.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.472e-05/0.8165, allocations: 88.16 kB / 0.5439 GB, free: 137.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8165, allocations: 2.594 kB / 0.5439 GB, free: 137.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004446/0.817, allocations: 59.84 kB / 0.544 GB, free: 137.2 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.0003478/0.8173, allocations: 152.3 kB / 0.5441 GB, free: 137.1 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001795/0.8175, allocations: 74.73 kB / 0.5442 GB, free: 137.1 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.8175, allocations: 1.219 kB / 0.5442 GB, free: 137.1 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.131e-05/0.8176, allocations: 40.42 kB / 0.5442 GB, free: 137.1 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004297/0.818, allocations: 38.92 kB / 0.5442 GB, free: 137.1 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000349/0.8184, allocations: 105.3 kB / 0.5443 GB, free: 137 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001803/0.8186, allocations: 0.7 MB / 0.545 GB, free: 136.3 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001585/0.8188, allocations: 35.17 kB / 0.5451 GB, free: 136.3 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.597e-05/0.8188, allocations: 21.09 kB / 0.5451 GB, free: 136.3 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.8188, allocations: 1.469 kB / 0.5451 GB, free: 136.3 MB / 394.7 MB Notification: Performance of Templates: time 0.005322/0.8241, allocations: 2.208 MB / 0.5472 GB, free: 136.1 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)