Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.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.Examples.Tests.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.2_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.2+maint.om/package.mo): time 0.001734/0.001734, allocations: 190.8 kB / 8.138 MB, free: 2.215 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.119/1.119, allocations: 194.2 MB / 202.8 MB, free: 8.812 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.001661/0.001661, allocations: 121.2 kB / 247.7 MB, free: 6.242 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.951e-06/6.051e-06, allocations: 0 / 297.6 MB, free: 8 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07138/0.0714, allocations: 44.5 MB / 342.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3849/0.4563, allocations: 185.1 MB / 0.5148 GB, free: 137.7 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/0.4566, allocations: 84 kB / 0.5149 GB, free: 137.7 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.6097/1.066, allocations: 279.5 MB / 0.7878 GB, free: 35.77 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.569e-05/1.066, allocations: 4 kB / 0.7878 GB, free: 35.77 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001702/1.068, allocations: 0.9675 MB / 0.7887 GB, free: 34.76 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/1.068, allocations: 12.03 kB / 0.7887 GB, free: 34.75 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003458/1.069, allocations: 47.61 kB / 0.7888 GB, free: 34.7 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/1.069, allocations: 298.5 kB / 0.7891 GB, free: 34.37 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/1.069, allocations: 11.98 kB / 0.7891 GB, free: 34.36 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.213e-05/1.069, allocations: 16 kB / 0.7891 GB, free: 34.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003196/1.069, allocations: 173.2 kB / 0.7893 GB, free: 34.17 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003855/1.07, allocations: 306.2 kB / 0.7896 GB, free: 33.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/1.07, allocations: 0 / 0.7896 GB, free: 33.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.785e-05/1.07, allocations: 0 / 0.7896 GB, free: 33.84 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/1.07, allocations: 11.91 kB / 0.7896 GB, free: 33.82 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001566/1.071, allocations: 2.062 MB / 0.7916 GB, free: 31.56 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/1.072, allocations: 139.6 kB / 0.7917 GB, free: 31.42 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/1.072, allocations: 84.78 kB / 0.7918 GB, free: 31.33 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000155/1.072, allocations: 271.8 kB / 0.7921 GB, free: 31.01 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/1.072, allocations: 42.5 kB / 0.7921 GB, free: 30.96 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 1.442e-06/1.072, allocations: 3.938 kB / 0.7921 GB, free: 30.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=30): time 0.003158/1.075, allocations: 0.9604 MB / 0.793 GB, free: 29.92 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.497e-05/1.075, allocations: 55.41 kB / 0.7931 GB, free: 29.86 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/1.075, allocations: 207.9 kB / 0.7933 GB, free: 29.65 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/1.075, allocations: 25.7 kB / 0.7933 GB, free: 29.62 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.159e-05/1.075, allocations: 172.1 kB / 0.7935 GB, free: 29.45 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.995e-05/1.075, allocations: 102.5 kB / 0.7936 GB, free: 29.34 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.697e-05/1.075, allocations: 0 / 0.7936 GB, free: 29.34 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.65e-05/1.075, allocations: 334.8 kB / 0.7939 GB, free: 29.01 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/1.076, allocations: 76.75 kB / 0.794 GB, free: 28.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/1.076, allocations: 163.2 kB / 0.7941 GB, free: 28.74 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007635/1.077, allocations: 157.8 kB / 0.7943 GB, free: 28.59 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/1.077, allocations: 0 / 0.7943 GB, free: 28.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001133/1.078, allocations: 389.7 kB / 0.7946 GB, free: 28.2 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.377e-06/1.078, allocations: 4 kB / 0.7946 GB, free: 28.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/1.078, allocations: 4 kB / 0.7946 GB, free: 28.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003261/1.078, allocations: 93.11 kB / 0.7947 GB, free: 28.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/1.078, allocations: 75.89 kB / 0.7948 GB, free: 28.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006385/1.079, allocations: 0.7016 MB / 0.7955 GB, free: 27.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/1.079, allocations: 8 kB / 0.7955 GB, free: 27.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.596e-05/1.079, allocations: 36 kB / 0.7955 GB, free: 27.25 MB / 394.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.0001247/1.079, allocations: 117.3 kB / 0.7956 GB, free: 27.13 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.778e-05/1.079, allocations: 31.62 kB / 0.7957 GB, free: 27.1 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00179/1.081, allocations: 0.7079 MB / 0.7964 GB, free: 26.38 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.333e-05/1.081, allocations: 15.98 kB / 0.7964 GB, free: 26.36 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/1.081, allocations: 0 / 0.7964 GB, free: 26.36 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009336/1.082, allocations: 0.7425 MB / 0.7971 GB, free: 25.53 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001453/1.084, allocations: 0.9217 MB / 0.798 GB, free: 24.56 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/1.084, allocations: 0 / 0.798 GB, free: 24.56 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/1.084, allocations: 43.91 kB / 0.7981 GB, free: 24.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000249/1.084, allocations: 84.84 kB / 0.7981 GB, free: 24.43 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/1.084, allocations: 7.984 kB / 0.7981 GB, free: 24.42 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005218/1.085, allocations: 0.6771 MB / 0.7988 GB, free: 23.72 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.085, allocations: 4.062 kB / 0.7988 GB, free: 23.71 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001118/1.086, allocations: 0.7365 MB / 0.7995 GB, free: 22.96 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.26e-05/1.086, allocations: 104.7 kB / 0.7996 GB, free: 22.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.055e-05/1.086, allocations: 0 / 0.7996 GB, free: 22.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002785/1.086, allocations: 19.92 kB / 0.7996 GB, free: 22.82 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/1.086, allocations: 31.97 kB / 0.7997 GB, free: 22.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-05/1.086, allocations: 35.98 kB / 0.7997 GB, free: 22.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.945e-05/1.087, allocations: 152.5 kB / 0.7999 GB, free: 22.6 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008572/1.087, allocations: 239.7 kB / 0.8001 GB, free: 22.37 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (28): * Single equations (assignments): 21 * Array equations: 6 * 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.0006238/1.088, allocations: 338.9 kB / 0.8004 GB, free: 22.03 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005656/1.089, allocations: 327 kB / 0.8007 GB, free: 21.71 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.089, allocations: 0.625 kB / 0.8007 GB, free: 21.71 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003793/1.089, allocations: 216.2 kB / 0.8009 GB, free: 21.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007338/1.09, allocations: 124.2 kB / 0.801 GB, free: 21.38 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02878/1.119, allocations: 15.02 MB / 0.8157 GB, free: 6.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004731/1.119, allocations: 0.8842 MB / 0.8166 GB, free: 5.355 MB / 394.7 MB Notification: Performance of SimCode: time 8.42e-07/1.119, allocations: 0 / 0.8166 GB, free: 5.355 MB / 394.7 MB Notification: Performance of Templates: time 0.1132/1.232, allocations: 9.352 MB / 0.8257 GB, free: 113.4 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1)