Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.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.004282/0.004282, allocations: 174.8 kB / 7.45 MB, free: 2.508 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.62/1.62, allocations: 170.6 MB / 178.4 MB, free: 15.44 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.001785/0.001785, allocations: 111.9 kB / 217.7 MB, free: 8.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2252/0.2252, allocations: 37.96 MB / 294.8 MB, free: 9.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.042e-05/1.045e-05, allocations: 3.938 kB / 349.5 MB, free: 2.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.156, allocations: 48.72 MB / 398.2 MB, free: 3.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6706/0.8267, allocations: 229.9 MB / 0.6134 GB, free: 14.86 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000422/0.8272, allocations: 88.2 kB / 0.6135 GB, free: 14.82 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.423/2.251, allocations: 267.8 MB / 0.875 GB, free: 77.22 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.63e-05/2.251, allocations: 17.73 kB / 0.875 GB, free: 77.22 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.006509/2.257, allocations: 1.52 MB / 0.8765 GB, free: 76.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/2.258, allocations: 7.406 kB / 0.8765 GB, free: 76.59 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001626/2.259, allocations: 137.1 kB / 0.8766 GB, free: 76.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001845/2.261, allocations: 0.5599 MB / 0.8772 GB, free: 76.32 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/2.261, allocations: 86.91 kB / 0.8773 GB, free: 76.26 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/2.261, allocations: 27.81 kB / 0.8773 GB, free: 76.26 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001137/2.263, allocations: 0.5097 MB / 0.8778 GB, free: 76.26 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/2.264, allocations: 0.7309 MB / 0.8785 GB, free: 76.01 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.773e-05/2.264, allocations: 1.969 kB / 0.8785 GB, free: 76.01 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/2.264, allocations: 3.906 kB / 0.8785 GB, free: 76.01 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-05/2.264, allocations: 43.67 kB / 0.8785 GB, free: 76.01 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005387/2.269, allocations: 4.345 MB / 0.8828 GB, free: 72.98 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004934/2.27, allocations: 248.3 kB / 0.883 GB, free: 72.96 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/2.27, allocations: 127.4 kB / 0.8831 GB, free: 72.95 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002523/2.27, allocations: 343.7 kB / 0.8835 GB, free: 72.58 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/2.27, allocations: 44.41 kB / 0.8835 GB, free: 72.54 MB / 490.7 MB Notification: Performance of pre-optimization done (n=29): time 3.457e-06/2.27, allocations: 0 / 0.8835 GB, free: 72.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.004098/2.275, allocations: 1.222 MB / 0.8847 GB, free: 72.16 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.823e-05/2.275, allocations: 132.4 kB / 0.8848 GB, free: 72 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007325/2.275, allocations: 480 kB / 0.8853 GB, free: 71.88 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.486e-05/2.275, allocations: 29.45 kB / 0.8853 GB, free: 71.85 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002395/2.276, allocations: 351.1 kB / 0.8856 GB, free: 71.65 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/2.276, allocations: 122 kB / 0.8858 GB, free: 71.59 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.982e-05/2.276, allocations: 0 / 0.8858 GB, free: 71.59 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/2.276, allocations: 372.1 kB / 0.8861 GB, free: 71.27 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003461/2.276, allocations: 190.5 kB / 0.8863 GB, free: 71.27 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005039/2.277, allocations: 0.5043 MB / 0.8868 GB, free: 70.86 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/2.278, allocations: 358.6 kB / 0.8871 GB, free: 70.86 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.204e-05/2.278, allocations: 3.812 kB / 0.8871 GB, free: 70.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002101/2.28, allocations: 0.8404 MB / 0.888 GB, free: 70.77 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/2.28, allocations: 7.188 kB / 0.888 GB, free: 70.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.282e-05/2.28, allocations: 11.34 kB / 0.888 GB, free: 70.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008785/2.281, allocations: 216.8 kB / 0.8882 GB, free: 70.74 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004722/2.282, allocations: 132.1 kB / 0.8883 GB, free: 70.74 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/2.283, allocations: 1.418 MB / 0.8897 GB, free: 69.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008624/2.284, allocations: 24.84 kB / 0.8897 GB, free: 69.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001596/2.284, allocations: 51.06 kB / 0.8898 GB, free: 69.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 13} Notification: Performance of prepare postOptimizeDAE: time 0.0002947/2.284, allocations: 130.6 kB / 0.8899 GB, free: 69.59 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002396/2.285, allocations: 65.16 kB / 0.89 GB, free: 69.56 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002344/2.287, allocations: 0.8139 MB / 0.8907 GB, free: 69.46 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/2.287, allocations: 3.656 kB / 0.8908 GB, free: 69.46 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/2.287, allocations: 0 / 0.8908 GB, free: 69.46 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/2.287, allocations: 3.797 kB / 0.8908 GB, free: 69.46 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002574/2.29, allocations: 1.15 MB / 0.8919 GB, free: 69.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/2.29, allocations: 3.188 kB / 0.8919 GB, free: 69.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/2.29, allocations: 44 kB / 0.8919 GB, free: 69.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000646/2.291, allocations: 157.8 kB / 0.8921 GB, free: 69.13 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.91e-05/2.291, allocations: 3.125 kB / 0.8921 GB, free: 69.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001404/2.292, allocations: 1.349 MB / 0.8934 GB, free: 68.09 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/2.292, allocations: 1.406 kB / 0.8934 GB, free: 68.09 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001769/2.294, allocations: 0.8089 MB / 0.8942 GB, free: 67.85 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005177/2.294, allocations: 197.5 kB / 0.8944 GB, free: 67.73 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000233/2.295, allocations: 3.156 kB / 0.8944 GB, free: 67.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005455/2.295, allocations: 21.02 kB / 0.8944 GB, free: 67.72 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.161e-05/2.295, allocations: 24.61 kB / 0.8944 GB, free: 67.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.444e-05/2.295, allocations: 19.59 kB / 0.8944 GB, free: 67.72 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006301/2.296, allocations: 345.8 kB / 0.8948 GB, free: 67.64 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002373/2.298, allocations: 352.6 kB / 0.8951 GB, free: 67.6 MB / 490.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 (25): * Single equations (assignments): 23 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.00174/2.3, allocations: 459.5 kB / 0.8955 GB, free: 67.46 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00124/2.301, allocations: 482.3 kB / 0.896 GB, free: 67.46 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/2.301, allocations: 3.188 kB / 0.896 GB, free: 67.46 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005025/2.302, allocations: 207.3 kB / 0.8962 GB, free: 67.46 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001622/2.304, allocations: 228.2 kB / 0.8964 GB, free: 67.45 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00309/2.307, allocations: 0.9485 MB / 0.8973 GB, free: 67.21 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008623/2.308, allocations: 1.028 MB / 0.8984 GB, free: 66.5 MB / 490.7 MB Notification: Performance of SimCode: time 9.71e-07/2.308, allocations: 2.875 kB / 0.8984 GB, free: 66.5 MB / 490.7 MB Notification: Performance of Templates: time 0.02903/2.337, allocations: 14.01 MB / 0.912 GB, free: 66.03 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1)