Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.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.Essotherm650,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650") [: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.004385/0.004385, allocations: 183.6 kB / 7.458 MB, free: 2.5 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.454/1.454, allocations: 194.2 MB / 202.1 MB, free: 8.73 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.00169/0.00169, allocations: 122.1 kB / 247.1 MB, free: 6.391 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.1812/0.1812, allocations: 39.94 MB / 331.9 MB, free: 4.98 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.255e-06/8.736e-06, allocations: 0 / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1173, allocations: 54.86 MB / 447.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6903/0.8078, allocations: 236.3 MB / 0.6679 GB, free: 166.4 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003496/0.8082, allocations: 84.91 kB / 0.668 GB, free: 166.4 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.222/2.031, allocations: 397.9 MB / 1.057 GB, free: 93.81 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.691e-05/2.031, allocations: 16.94 kB / 1.057 GB, free: 93.81 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.004735/2.036, allocations: 1.517 MB / 1.058 GB, free: 93.44 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/2.036, allocations: 11.25 kB / 1.058 GB, free: 93.44 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/2.037, allocations: 151.3 kB / 1.058 GB, free: 93.4 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/2.038, allocations: 0.6249 MB / 1.059 GB, free: 93.17 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.825e-05/2.038, allocations: 88.05 kB / 1.059 GB, free: 93.11 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.041e-05/2.038, allocations: 27.53 kB / 1.059 GB, free: 93.11 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008312/2.039, allocations: 0.5221 MB / 1.059 GB, free: 93.11 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009672/2.04, allocations: 0.7744 MB / 1.06 GB, free: 92.86 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/2.04, allocations: 3.938 kB / 1.06 GB, free: 92.86 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.145e-05/2.04, allocations: 2.875 kB / 1.06 GB, free: 92.86 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.555e-05/2.04, allocations: 47.45 kB / 1.06 GB, free: 92.86 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004338/2.044, allocations: 4.482 MB / 1.065 GB, free: 89.83 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004213/2.045, allocations: 271.3 kB / 1.065 GB, free: 89.81 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/2.045, allocations: 134.1 kB / 1.065 GB, free: 89.8 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002299/2.045, allocations: 356.2 kB / 1.065 GB, free: 89.43 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/2.045, allocations: 44.75 kB / 1.065 GB, free: 89.39 MB / 474.7 MB Notification: Performance of pre-optimization done (n=29): time 2.996e-06/2.045, allocations: 0 / 1.065 GB, free: 89.39 MB / 474.7 MB Notification: Performance of matching and sorting (n=35): time 0.004328/2.05, allocations: 1.4 MB / 1.067 GB, free: 88.9 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/2.05, allocations: 134.4 kB / 1.067 GB, free: 88.74 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005391/2.05, allocations: 482.8 kB / 1.067 GB, free: 88.62 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.938e-05/2.05, allocations: 29.36 kB / 1.067 GB, free: 88.59 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/2.051, allocations: 354.9 kB / 1.068 GB, free: 88.39 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.021e-05/2.051, allocations: 125.2 kB / 1.068 GB, free: 88.33 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/2.051, allocations: 0 / 1.068 GB, free: 88.33 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/2.051, allocations: 369.1 kB / 1.068 GB, free: 88.02 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002631/2.051, allocations: 193.8 kB / 1.068 GB, free: 88.02 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004191/2.051, allocations: 0.5186 MB / 1.069 GB, free: 87.61 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/2.053, allocations: 384.7 kB / 1.069 GB, free: 87.6 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/2.053, allocations: 3.594 kB / 1.069 GB, free: 87.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002004/2.055, allocations: 0.8981 MB / 1.07 GB, free: 87.51 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/2.055, allocations: 6.969 kB / 1.07 GB, free: 87.51 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/2.055, allocations: 16.91 kB / 1.07 GB, free: 87.51 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000805/2.056, allocations: 215.4 kB / 1.07 GB, free: 87.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004175/2.056, allocations: 151.7 kB / 1.07 GB, free: 87.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/2.057, allocations: 1.436 MB / 1.072 GB, free: 86.45 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006369/2.058, allocations: 24.95 kB / 1.072 GB, free: 86.45 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/2.058, allocations: 92.81 kB / 1.072 GB, free: 86.45 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.0001927/2.058, allocations: 141.9 kB / 1.072 GB, free: 86.34 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/2.058, allocations: 59.22 kB / 1.072 GB, free: 86.31 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003007/2.061, allocations: 1.279 MB / 1.073 GB, free: 86.21 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.423e-05/2.061, allocations: 7.906 kB / 1.073 GB, free: 86.21 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/2.061, allocations: 0 / 1.073 GB, free: 86.21 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/2.061, allocations: 7.562 kB / 1.073 GB, free: 86.21 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002683/2.064, allocations: 1.421 MB / 1.075 GB, free: 85.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/2.064, allocations: 0 / 1.075 GB, free: 85.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/2.064, allocations: 48.78 kB / 1.075 GB, free: 85.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005188/2.065, allocations: 161 kB / 1.075 GB, free: 85.88 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.166e-05/2.065, allocations: 11.22 kB / 1.075 GB, free: 85.88 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001021/2.066, allocations: 1.366 MB / 1.076 GB, free: 84.84 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/2.066, allocations: 5.406 kB / 1.076 GB, free: 84.84 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001912/2.068, allocations: 1.117 MB / 1.077 GB, free: 84.59 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003475/2.068, allocations: 211.3 kB / 1.078 GB, free: 84.46 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/2.068, allocations: 20.25 kB / 1.078 GB, free: 84.46 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003987/2.069, allocations: 11.44 kB / 1.078 GB, free: 84.46 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.865e-05/2.069, allocations: 25.73 kB / 1.078 GB, free: 84.46 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.504e-05/2.069, allocations: 36.44 kB / 1.078 GB, free: 84.46 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0004483/2.069, allocations: 350.6 kB / 1.078 GB, free: 84.38 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002355/2.072, allocations: 0.5544 MB / 1.079 GB, free: 84.3 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.00182/2.074, allocations: 0.7348 MB / 1.079 GB, free: 84.12 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001107/2.075, allocations: 0.5934 MB / 1.08 GB, free: 84.11 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/2.075, allocations: 0 / 1.08 GB, free: 84.11 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005122/2.075, allocations: 291.8 kB / 1.08 GB, free: 84.11 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/2.076, allocations: 239.5 kB / 1.08 GB, free: 84.09 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03308/2.11, allocations: 16.74 MB / 1.097 GB, free: 83.57 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009332/2.111, allocations: 1.096 MB / 1.098 GB, free: 82.86 MB / 474.7 MB Notification: Performance of SimCode: time 1.082e-06/2.111, allocations: 0 / 1.098 GB, free: 82.86 MB / 474.7 MB Notification: Performance of Templates: time 0.03095/2.141, allocations: 18.65 MB / 1.116 GB, free: 81.98 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1)