Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2_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.2+maint.om/package.mo): time 0.004827/0.004827, allocations: 180.7 kB / 7.454 MB, free: 2.508 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.451/1.451, allocations: 194.2 MB / 202.1 MB, free: 8.652 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.001799/0.001799, allocations: 125.8 kB / 247.1 MB, free: 6.379 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.192/0.192, allocations: 39.94 MB / 331.9 MB, free: 4.949 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.454e-06/7.484e-06, allocations: 4 kB / 392.8 MB, free: 75.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1149, allocations: 54.86 MB / 447.7 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6842/0.7991, allocations: 236.4 MB / 0.668 GB, free: 166.7 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/0.7994, allocations: 91.81 kB / 0.6681 GB, free: 166.7 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.941/1.74, allocations: 373.1 MB / 1.032 GB, free: 4.59 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.823e-05/1.741, allocations: 16 kB / 1.032 GB, free: 4.574 MB / 474.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.005052/1.746, allocations: 1.518 MB / 1.034 GB, free: 3.012 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/1.746, allocations: 12.03 kB / 1.034 GB, free: 3 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001378/1.747, allocations: 151 kB / 1.034 GB, free: 2.852 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001613/1.749, allocations: 0.6301 MB / 1.035 GB, free: 2.18 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.749e-05/1.749, allocations: 80.41 kB / 1.035 GB, free: 2.09 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/1.749, allocations: 28 kB / 1.035 GB, free: 2.062 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009809/1.75, allocations: 0.5254 MB / 1.035 GB, free: 1.535 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/1.751, allocations: 0.7672 MB / 1.036 GB, free: 0.6875 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.088e-05/1.751, allocations: 8 kB / 1.036 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/1.751, allocations: 0 / 1.036 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-05/1.752, allocations: 44.92 kB / 1.036 GB, free: 0.6367 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2344/1.986, allocations: 4.477 MB / 1.041 GB, free: 132.4 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004291/1.986, allocations: 262.3 kB / 1.041 GB, free: 132.4 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/1.987, allocations: 126.9 kB / 1.041 GB, free: 132.4 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002467/1.987, allocations: 359.6 kB / 1.041 GB, free: 132 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/1.987, allocations: 37.31 kB / 1.041 GB, free: 132 MB / 474.7 MB Notification: Performance of pre-optimization done (n=29): time 3.086e-06/1.987, allocations: 0 / 1.041 GB, free: 132 MB / 474.7 MB Notification: Performance of matching and sorting (n=35): time 0.004331/1.991, allocations: 1.382 MB / 1.043 GB, free: 131.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/1.991, allocations: 138 kB / 1.043 GB, free: 131.3 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005701/1.992, allocations: 475.7 kB / 1.043 GB, free: 131.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.891e-05/1.992, allocations: 29.45 kB / 1.043 GB, free: 131.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/1.992, allocations: 356.8 kB / 1.044 GB, free: 131 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.362e-05/1.992, allocations: 121.3 kB / 1.044 GB, free: 130.9 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/1.992, allocations: 3.188 kB / 1.044 GB, free: 130.9 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/1.992, allocations: 375.7 kB / 1.044 GB, free: 130.6 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002631/1.993, allocations: 189.1 kB / 1.044 GB, free: 130.6 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004078/1.993, allocations: 0.5101 MB / 1.045 GB, free: 130.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/1.994, allocations: 378.5 kB / 1.045 GB, free: 130.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/1.994, allocations: 7.219 kB / 1.045 GB, free: 130.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001926/1.996, allocations: 0.893 MB / 1.046 GB, free: 130.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/1.996, allocations: 3.844 kB / 1.046 GB, free: 130.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/1.996, allocations: 10.59 kB / 1.046 GB, free: 130.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007906/1.997, allocations: 223.4 kB / 1.046 GB, free: 130.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004127/1.997, allocations: 150.1 kB / 1.046 GB, free: 130.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001211/1.999, allocations: 1.429 MB / 1.048 GB, free: 129.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005845/1.999, allocations: 29.16 kB / 1.048 GB, free: 129.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.744e-05/1.999, allocations: 76.84 kB / 1.048 GB, free: 129.1 MB / 474.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.0001626/2, allocations: 135.9 kB / 1.048 GB, free: 129 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/2, allocations: 66.75 kB / 1.048 GB, free: 128.9 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00286/2.003, allocations: 1.232 MB / 1.049 GB, free: 128.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.309e-05/2.003, allocations: 15.42 kB / 1.049 GB, free: 128.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/2.003, allocations: 0 / 1.049 GB, free: 128.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/2.003, allocations: 0 / 1.049 GB, free: 128.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002459/2.005, allocations: 1.416 MB / 1.051 GB, free: 128.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/2.005, allocations: 6.375 kB / 1.051 GB, free: 128.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/2.005, allocations: 47.59 kB / 1.051 GB, free: 128.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005218/2.006, allocations: 159.7 kB / 1.051 GB, free: 128.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.42e-05/2.006, allocations: 13.31 kB / 1.051 GB, free: 128.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001009/2.007, allocations: 1.368 MB / 1.052 GB, free: 127.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/2.007, allocations: 0 / 1.052 GB, free: 127.5 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001679/2.009, allocations: 1.112 MB / 1.053 GB, free: 127.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002844/2.009, allocations: 221.5 kB / 1.053 GB, free: 127.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/2.009, allocations: 0 / 1.053 GB, free: 127.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003945/2.009, allocations: 17.62 kB / 1.054 GB, free: 127.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.031e-05/2.009, allocations: 28.83 kB / 1.054 GB, free: 127.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.317e-05/2.01, allocations: 30.73 kB / 1.054 GB, free: 127.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0003643/2.01, allocations: 354 kB / 1.054 GB, free: 127 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002129/2.012, allocations: 0.5495 MB / 1.054 GB, free: 127 MB / 474.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 (31): * Single equations (assignments): 25 * Array equations: 4 * 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.001631/2.014, allocations: 0.7378 MB / 1.055 GB, free: 126.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001014/2.015, allocations: 0.5881 MB / 1.056 GB, free: 126.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/2.015, allocations: 0 / 1.056 GB, free: 126.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004867/2.015, allocations: 295.2 kB / 1.056 GB, free: 126.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/2.016, allocations: 242.8 kB / 1.056 GB, free: 126.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03175/2.048, allocations: 15.75 MB / 1.072 GB, free: 126.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008843/2.049, allocations: 1.087 MB / 1.073 GB, free: 125.8 MB / 474.7 MB Notification: Performance of SimCode: time 1.583e-06/2.049, allocations: 0 / 1.073 GB, free: 125.8 MB / 474.7 MB Notification: Performance of Templates: time 0.02994/2.079, allocations: 18.56 MB / 1.091 GB, free: 125.3 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1)