Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.Air.DryAirNasa,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") [: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.003035/0.003035, allocations: 184 kB / 7.456 MB, free: 2.512 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.337/1.337, allocations: 194.2 MB / 202.1 MB, free: 8.66 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.001856/0.001857, allocations: 120.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.1916/0.1916, allocations: 39.94 MB / 331.9 MB, free: 4.891 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.296e-05/1.299e-05, allocations: 11.94 kB / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1161, allocations: 54.87 MB / 447.7 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.474/1.59, allocations: 0.6146 GB / 1.052 GB, free: 159 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/1.591, allocations: 93.19 kB / 1.052 GB, free: 158.9 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.7274/2.318, allocations: 225.2 MB / 1.272 GB, free: 89.42 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.111e-05/2.318, allocations: 28.09 kB / 1.272 GB, free: 89.41 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.004291/2.323, allocations: 1.157 MB / 1.273 GB, free: 88.71 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/2.323, allocations: 9.438 kB / 1.273 GB, free: 88.71 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/2.324, allocations: 129.9 kB / 1.273 GB, free: 88.68 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/2.325, allocations: 0.5538 MB / 1.274 GB, free: 88.42 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/2.326, allocations: 84.39 kB / 1.274 GB, free: 88.35 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/2.326, allocations: 30.62 kB / 1.274 GB, free: 88.35 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001014/2.327, allocations: 0.5354 MB / 1.274 GB, free: 88.34 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/2.328, allocations: 0.7294 MB / 1.275 GB, free: 88.12 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/2.328, allocations: 10.34 kB / 1.275 GB, free: 88.12 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/2.328, allocations: 3.562 kB / 1.275 GB, free: 88.12 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.979e-05/2.328, allocations: 44.31 kB / 1.275 GB, free: 88.12 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005021/2.333, allocations: 3.985 MB / 1.279 GB, free: 85.34 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005126/2.334, allocations: 207.2 kB / 1.279 GB, free: 85.25 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002038/2.334, allocations: 131.1 kB / 1.279 GB, free: 85.2 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.137e-05/2.334, allocations: 24.03 kB / 1.279 GB, free: 85.2 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/2.334, allocations: 38.77 kB / 1.279 GB, free: 85.16 MB / 474.7 MB Notification: Performance of pre-optimization done (n=27): time 2.214e-06/2.334, allocations: 0 / 1.279 GB, free: 85.16 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.005753/2.34, allocations: 1.411 MB / 1.281 GB, free: 84.46 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.659e-05/2.34, allocations: 131.7 kB / 1.281 GB, free: 84.31 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008053/2.341, allocations: 482.4 kB / 1.281 GB, free: 84.07 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.678e-05/2.341, allocations: 28.17 kB / 1.281 GB, free: 84.04 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002155/2.341, allocations: 344.4 kB / 1.282 GB, free: 83.77 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/2.341, allocations: 122 kB / 1.282 GB, free: 83.68 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.258e-05/2.341, allocations: 0 / 1.282 GB, free: 83.68 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/2.341, allocations: 369.3 kB / 1.282 GB, free: 83.34 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002966/2.342, allocations: 185.6 kB / 1.282 GB, free: 83.28 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004912/2.342, allocations: 0.5098 MB / 1.283 GB, free: 82.79 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007584/2.343, allocations: 344.2 kB / 1.283 GB, free: 82.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/2.343, allocations: 3.562 kB / 1.283 GB, free: 82.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001733/2.345, allocations: 0.8381 MB / 1.284 GB, free: 82.44 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/2.345, allocations: 4.719 kB / 1.284 GB, free: 82.44 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/2.345, allocations: 10.62 kB / 1.284 GB, free: 82.44 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001181/2.346, allocations: 271.3 kB / 1.284 GB, free: 82.39 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004415/2.346, allocations: 140.8 kB / 1.284 GB, free: 82.37 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/2.347, allocations: 0.9321 MB / 1.285 GB, free: 81.71 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007681/2.348, allocations: 42.23 kB / 1.285 GB, free: 81.71 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001399/2.348, allocations: 68.28 kB / 1.285 GB, free: 81.7 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.0002035/2.349, allocations: 135.3 kB / 1.286 GB, free: 81.57 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/2.349, allocations: 62.19 kB / 1.286 GB, free: 81.54 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001437/2.35, allocations: 0.5637 MB / 1.286 GB, free: 81.35 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/2.35, allocations: 2.75 kB / 1.286 GB, free: 81.35 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/2.35, allocations: 1.375 kB / 1.286 GB, free: 81.35 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/2.35, allocations: 0 / 1.286 GB, free: 81.35 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/2.352, allocations: 0.9659 MB / 1.287 GB, free: 80.84 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/2.352, allocations: 0 / 1.287 GB, free: 80.84 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/2.353, allocations: 191.2 kB / 1.287 GB, free: 80.83 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.451e-05/2.353, allocations: 25.52 kB / 1.287 GB, free: 80.82 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.633e-05/2.353, allocations: 15.67 kB / 1.287 GB, free: 80.82 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001529/2.355, allocations: 2.578 MB / 1.29 GB, free: 78.27 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/2.355, allocations: 3.938 kB / 1.29 GB, free: 78.27 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009067/2.356, allocations: 0.6733 MB / 1.29 GB, free: 77.91 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003367/2.356, allocations: 171.8 kB / 1.291 GB, free: 77.77 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001557/2.356, allocations: 6.094 kB / 1.291 GB, free: 77.76 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004681/2.357, allocations: 18.48 kB / 1.291 GB, free: 77.76 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.109e-05/2.357, allocations: 25.55 kB / 1.291 GB, free: 77.76 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.128e-05/2.357, allocations: 48.31 kB / 1.291 GB, free: 77.75 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.000473/2.357, allocations: 348.6 kB / 1.291 GB, free: 77.58 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001696/2.359, allocations: 349 kB / 1.291 GB, free: 77.51 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.002647/2.362, allocations: 1.194 MB / 1.293 GB, free: 77.26 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001079/2.363, allocations: 486.3 kB / 1.293 GB, free: 77.12 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/2.363, allocations: 3.438 kB / 1.293 GB, free: 77.12 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001097/2.364, allocations: 407.8 kB / 1.293 GB, free: 76.96 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/2.365, allocations: 231.8 kB / 1.294 GB, free: 76.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007272/2.373, allocations: 2.343 MB / 1.296 GB, free: 76.23 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001263/2.374, allocations: 1.069 MB / 1.297 GB, free: 75.5 MB / 474.7 MB Notification: Performance of SimCode: time 1.372e-06/2.374, allocations: 0 / 1.297 GB, free: 75.5 MB / 474.7 MB Notification: Performance of Templates: time 0.03696/2.411, allocations: 19.42 MB / 1.316 GB, free: 64.95 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1)