Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.IdealGases.Air,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") [: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.003427/0.003427, allocations: 182.1 kB / 7.458 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.416/1.416, allocations: 194.2 MB / 202.1 MB, free: 8.641 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.001725/0.001725, allocations: 123.5 kB / 247.1 MB, free: 6.359 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.1914/0.1914, allocations: 39.93 MB / 331.9 MB, free: 4.883 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.442e-06/6.462e-06, allocations: 4 kB / 392.8 MB, free: 75.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1028, allocations: 54.87 MB / 447.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.476/1.579, allocations: 0.6146 GB / 1.052 GB, free: 157.1 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002886/1.579, allocations: 91.38 kB / 1.052 GB, free: 157 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.7366/2.316, allocations: 225.2 MB / 1.272 GB, free: 90.06 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.916e-05/2.316, allocations: 15.72 kB / 1.272 GB, free: 90.06 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.004078/2.32, allocations: 1.161 MB / 1.273 GB, free: 89.36 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/2.32, allocations: 11.66 kB / 1.273 GB, free: 89.36 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/2.322, allocations: 132.3 kB / 1.273 GB, free: 89.33 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001358/2.323, allocations: 0.5488 MB / 1.274 GB, free: 89.07 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/2.323, allocations: 88.72 kB / 1.274 GB, free: 89 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/2.323, allocations: 27.19 kB / 1.274 GB, free: 89 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001245/2.324, allocations: 0.5352 MB / 1.274 GB, free: 88.9 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/2.326, allocations: 0.735 MB / 1.275 GB, free: 88.52 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.655e-05/2.326, allocations: 0 / 1.275 GB, free: 88.52 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.675e-05/2.326, allocations: 8.781 kB / 1.275 GB, free: 88.52 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.271e-05/2.326, allocations: 40.78 kB / 1.275 GB, free: 88.51 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005203/2.331, allocations: 4.005 MB / 1.279 GB, free: 85.4 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004286/2.332, allocations: 201.3 kB / 1.279 GB, free: 85.32 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002041/2.332, allocations: 129.8 kB / 1.279 GB, free: 85.27 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.708e-05/2.332, allocations: 21.53 kB / 1.279 GB, free: 85.26 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/2.332, allocations: 46.7 kB / 1.279 GB, free: 85.21 MB / 474.7 MB Notification: Performance of pre-optimization done (n=27): time 2.184e-06/2.332, allocations: 0 / 1.279 GB, free: 85.21 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.005631/2.338, allocations: 1.413 MB / 1.281 GB, free: 84.52 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/2.338, allocations: 132.4 kB / 1.281 GB, free: 84.36 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007495/2.339, allocations: 475 kB / 1.281 GB, free: 84.13 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.448e-05/2.339, allocations: 26.8 kB / 1.281 GB, free: 84.1 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/2.339, allocations: 347.1 kB / 1.282 GB, free: 83.83 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/2.339, allocations: 118.6 kB / 1.282 GB, free: 83.74 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/2.339, allocations: 0 / 1.282 GB, free: 83.74 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/2.339, allocations: 375.3 kB / 1.282 GB, free: 83.4 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003256/2.34, allocations: 178.6 kB / 1.282 GB, free: 83.34 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005209/2.34, allocations: 0.5131 MB / 1.283 GB, free: 82.84 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007686/2.341, allocations: 341.8 kB / 1.283 GB, free: 82.75 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/2.341, allocations: 6.188 kB / 1.283 GB, free: 82.75 MB / 474.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00176/2.343, allocations: 0.8391 MB / 1.284 GB, free: 82.46 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/2.343, allocations: 7.109 kB / 1.284 GB, free: 82.46 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.703e-05/2.343, allocations: 10.44 kB / 1.284 GB, free: 82.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001297/2.344, allocations: 266.4 kB / 1.284 GB, free: 82.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004899/2.344, allocations: 139 kB / 1.284 GB, free: 82.39 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/2.346, allocations: 0.935 MB / 1.285 GB, free: 81.73 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008006/2.346, allocations: 35.86 kB / 1.285 GB, free: 81.73 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001466/2.347, allocations: 66.88 kB / 1.285 GB, free: 81.73 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (72): * Single equations (assignments): 71 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002332/2.347, allocations: 133 kB / 1.285 GB, free: 81.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001823/2.347, allocations: 64.62 kB / 1.286 GB, free: 81.57 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/2.348, allocations: 0.5568 MB / 1.286 GB, free: 81.38 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/2.348, allocations: 3.125 kB / 1.286 GB, free: 81.38 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/2.348, allocations: 5.312 kB / 1.286 GB, free: 81.38 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/2.349, allocations: 3.703 kB / 1.286 GB, free: 81.38 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001898/2.35, allocations: 0.9708 MB / 1.287 GB, free: 80.86 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/2.35, allocations: 1.438 kB / 1.287 GB, free: 80.86 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/2.351, allocations: 180.9 kB / 1.287 GB, free: 80.86 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.624e-05/2.352, allocations: 29.8 kB / 1.287 GB, free: 80.84 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.378e-05/2.352, allocations: 19.38 kB / 1.287 GB, free: 80.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001657/2.353, allocations: 2.575 MB / 1.29 GB, free: 78.29 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/2.353, allocations: 0.9375 kB / 1.29 GB, free: 78.29 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001099/2.354, allocations: 0.6806 MB / 1.29 GB, free: 77.93 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003275/2.355, allocations: 175.9 kB / 1.291 GB, free: 77.78 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001696/2.355, allocations: 4.812 kB / 1.291 GB, free: 77.78 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005286/2.356, allocations: 19.41 kB / 1.291 GB, free: 77.78 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9e-05/2.356, allocations: 24.69 kB / 1.291 GB, free: 77.78 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.581e-05/2.356, allocations: 40.25 kB / 1.291 GB, free: 77.77 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0005722/2.356, allocations: 354.1 kB / 1.291 GB, free: 77.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001894/2.358, allocations: 347 kB / 1.291 GB, free: 77.53 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002788/2.361, allocations: 1.19 MB / 1.293 GB, free: 77.29 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001314/2.362, allocations: 491 kB / 1.293 GB, free: 77.14 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/2.362, allocations: 1.125 kB / 1.293 GB, free: 77.14 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001222/2.364, allocations: 398.4 kB / 1.293 GB, free: 76.98 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/2.365, allocations: 233.2 kB / 1.294 GB, free: 76.92 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007431/2.372, allocations: 2.348 MB / 1.296 GB, free: 76.25 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001025/2.373, allocations: 1.068 MB / 1.297 GB, free: 75.52 MB / 474.7 MB Notification: Performance of SimCode: time 8.32e-07/2.373, allocations: 2.281 kB / 1.297 GB, free: 75.52 MB / 474.7 MB Notification: Performance of Templates: time 0.03367/2.407, allocations: 19.42 MB / 1.316 GB, free: 63.14 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1)