Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.006576/0.006577, allocations: 173.8 kB / 7.447 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.714/1.714, allocations: 170.6 MB / 178.4 MB, free: 15.39 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001934/0.001934, allocations: 119.8 kB / 217.7 MB, free: 8.164 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 8.616e-06/8.656e-06, allocations: 0 / 261.8 MB, free: 26.66 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1119, allocations: 38.77 MB / 300.5 MB, free: 3.891 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.68/0.7919, allocations: 179.6 MB / 480.2 MB, free: 112.6 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003394/0.7924, allocations: 85.16 kB / 480.3 MB, free: 112.6 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.6397/1.432, allocations: 195.4 MB / 0.6599 GB, free: 65.21 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.192e-05/1.432, allocations: 8 kB / 0.6599 GB, free: 65.21 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.003236/1.435, allocations: 0.9739 MB / 0.6608 GB, free: 64.21 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/1.436, allocations: 8.031 kB / 0.6608 GB, free: 64.2 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003455/1.436, allocations: 43.61 kB / 0.6609 GB, free: 64.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004303/1.436, allocations: 293.7 kB / 0.6611 GB, free: 63.83 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/1.436, allocations: 8 kB / 0.6612 GB, free: 63.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.13e-05/1.436, allocations: 15.8 kB / 0.6612 GB, free: 63.81 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000309/1.437, allocations: 157.3 kB / 0.6613 GB, free: 63.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004521/1.437, allocations: 290 kB / 0.6616 GB, free: 63.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/1.437, allocations: 4 kB / 0.6616 GB, free: 63.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.912e-05/1.437, allocations: 7.844 kB / 0.6616 GB, free: 63.33 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/1.437, allocations: 11.81 kB / 0.6616 GB, free: 63.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001851/1.439, allocations: 2.011 MB / 0.6636 GB, free: 61.13 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/1.439, allocations: 137.6 kB / 0.6637 GB, free: 60.99 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/1.439, allocations: 70.08 kB / 0.6638 GB, free: 60.92 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001839/1.44, allocations: 258.7 kB / 0.664 GB, free: 60.61 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/1.44, allocations: 37.94 kB / 0.6641 GB, free: 60.57 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 2.164e-06/1.44, allocations: 3.938 kB / 0.6641 GB, free: 60.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=30): time 0.002426/1.442, allocations: 0.814 MB / 0.6649 GB, free: 59.7 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/1.442, allocations: 55.41 kB / 0.6649 GB, free: 59.63 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/1.442, allocations: 204 kB / 0.6651 GB, free: 59.43 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/1.442, allocations: 29.64 kB / 0.6651 GB, free: 59.39 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.153e-05/1.442, allocations: 164.1 kB / 0.6653 GB, free: 59.23 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.375e-05/1.443, allocations: 102.5 kB / 0.6654 GB, free: 59.12 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.19e-05/1.443, allocations: 0 / 0.6654 GB, free: 59.12 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.603e-05/1.443, allocations: 338.8 kB / 0.6657 GB, free: 58.79 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/1.443, allocations: 76.73 kB / 0.6658 GB, free: 58.71 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/1.443, allocations: 146.6 kB / 0.6659 GB, free: 58.53 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005057/1.443, allocations: 143.6 kB / 0.6661 GB, free: 58.39 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/1.443, allocations: 0 / 0.6661 GB, free: 58.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007899/1.444, allocations: 365.7 kB / 0.6664 GB, free: 58.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/1.444, allocations: 7.906 kB / 0.6664 GB, free: 58.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/1.444, allocations: 0 / 0.6664 GB, free: 58.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000333/1.445, allocations: 84.8 kB / 0.6665 GB, free: 57.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/1.445, allocations: 67.91 kB / 0.6666 GB, free: 57.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006385/1.446, allocations: 0.6891 MB / 0.6672 GB, free: 57.15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002113/1.446, allocations: 8 kB / 0.6672 GB, free: 57.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-05/1.446, allocations: 20 kB / 0.6673 GB, free: 57.12 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: shortPipe.m_flow:VARIABLE(min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from port_a to port_b (m_flow > 0 is design flow direction)" type: Real ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001744/1.446, allocations: 122.3 kB / 0.6674 GB, free: 57 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.532e-05/1.446, allocations: 27.62 kB / 0.6674 GB, free: 56.97 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009205/1.447, allocations: 407.4 kB / 0.6678 GB, free: 56.56 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/1.447, allocations: 0 / 0.6678 GB, free: 56.56 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/1.447, allocations: 4 kB / 0.6678 GB, free: 56.56 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006566/1.448, allocations: 0.559 MB / 0.6683 GB, free: 55.91 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/1.449, allocations: 0.6888 MB / 0.669 GB, free: 55.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/1.449, allocations: 4 kB / 0.669 GB, free: 55.17 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/1.449, allocations: 39.97 kB / 0.6691 GB, free: 55.13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002341/1.449, allocations: 72.81 kB / 0.6691 GB, free: 55.05 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/1.449, allocations: 11.98 kB / 0.6691 GB, free: 55.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004846/1.45, allocations: 0.6498 MB / 0.6698 GB, free: 54.37 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.45, allocations: 8.031 kB / 0.6698 GB, free: 54.36 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007516/1.45, allocations: 489.5 kB / 0.6703 GB, free: 53.84 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.793e-05/1.451, allocations: 108.8 kB / 0.6704 GB, free: 53.71 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.276e-05/1.451, allocations: 8.156 kB / 0.6704 GB, free: 53.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/1.451, allocations: 11.88 kB / 0.6704 GB, free: 53.7 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/1.451, allocations: 23.88 kB / 0.6704 GB, free: 53.67 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.844e-05/1.451, allocations: 15.98 kB / 0.6704 GB, free: 53.66 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001297/1.451, allocations: 160.5 kB / 0.6706 GB, free: 53.5 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007522/1.452, allocations: 151.9 kB / 0.6707 GB, free: 53.35 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004063/1.452, allocations: 234.8 kB / 0.6709 GB, free: 53.12 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005237/1.453, allocations: 235.9 kB / 0.6712 GB, free: 52.89 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/1.453, allocations: 4 kB / 0.6712 GB, free: 52.89 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002151/1.453, allocations: 111.8 kB / 0.6713 GB, free: 52.78 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007091/1.454, allocations: 129.4 kB / 0.6714 GB, free: 52.65 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008833/1.455, allocations: 418.8 kB / 0.6718 GB, free: 52.21 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003206/1.455, allocations: 0.8122 MB / 0.6726 GB, free: 51.37 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/1.455, allocations: 0 / 0.6726 GB, free: 51.37 MB / 346.7 MB Notification: Performance of Templates: time 0.01143/1.466, allocations: 6.965 MB / 0.6794 GB, free: 44.42 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1)