Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [: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.1+maint.om/package.mo): time 0.007067/0.007067, allocations: 176.3 kB / 7.445 MB, free: 2.316 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.718/1.718, allocations: 170.6 MB / 178.4 MB, free: 15.46 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00189/0.00189, allocations: 104.6 kB / 217.7 MB, free: 8.234 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.217/0.217, allocations: 37.97 MB / 294.8 MB, free: 9.629 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.558e-06/9.868e-06, allocations: 1.375 kB / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1253, allocations: 48.71 MB / 398.2 MB, free: 5.66 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.191/1.316, allocations: 417.4 MB / 0.7965 GB, free: 151.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004161/1.317, allocations: 90.3 kB / 0.7966 GB, free: 151.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.2654/1.582, allocations: 131.5 MB / 0.925 GB, free: 19.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.459e-05/1.582, allocations: 28.31 kB / 0.925 GB, free: 19.4 MB / 426.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.001968/1.584, allocations: 0.8961 MB / 0.9259 GB, free: 18.46 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/1.584, allocations: 8.031 kB / 0.9259 GB, free: 18.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003571/1.585, allocations: 91.05 kB / 0.926 GB, free: 18.36 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009467/1.586, allocations: 0.5599 MB / 0.9266 GB, free: 17.76 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.965e-05/1.586, allocations: 84.39 kB / 0.9266 GB, free: 17.67 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.427e-05/1.586, allocations: 28 kB / 0.9267 GB, free: 17.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008099/1.587, allocations: 0.5645 MB / 0.9272 GB, free: 17.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009032/1.588, allocations: 0.7319 MB / 0.9279 GB, free: 16.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/1.588, allocations: 3.938 kB / 0.9279 GB, free: 16.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.267e-05/1.588, allocations: 8 kB / 0.9279 GB, free: 16.26 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.317e-05/1.588, allocations: 36.98 kB / 0.928 GB, free: 16.22 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003665/1.592, allocations: 3.806 MB / 0.9317 GB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/1.592, allocations: 218.4 kB / 0.9319 GB, free: 11.94 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/1.592, allocations: 177.4 kB / 0.9321 GB, free: 11.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001407/1.593, allocations: 1.392 MB / 0.9334 GB, free: 10.21 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/1.593, allocations: 38.8 kB / 0.9335 GB, free: 10.17 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 2.154e-06/1.593, allocations: 0 / 0.9335 GB, free: 10.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.002684/1.596, allocations: 1.142 MB / 0.9346 GB, free: 8.953 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/1.596, allocations: 136.5 kB / 0.9347 GB, free: 8.789 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004887/1.597, allocations: 494.1 kB / 0.9352 GB, free: 8.301 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/1.597, allocations: 25.7 kB / 0.9352 GB, free: 8.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00015/1.597, allocations: 350.6 kB / 0.9355 GB, free: 7.918 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.394e-05/1.597, allocations: 122.3 kB / 0.9357 GB, free: 7.797 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.521e-05/1.597, allocations: 0 / 0.9357 GB, free: 7.797 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/1.597, allocations: 374.8 kB / 0.936 GB, free: 7.422 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002457/1.597, allocations: 185.5 kB / 0.9362 GB, free: 7.242 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004239/1.598, allocations: 0.5122 MB / 0.9367 GB, free: 6.566 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000578/1.598, allocations: 319.6 kB / 0.937 GB, free: 6.254 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/1.598, allocations: 4 kB / 0.937 GB, free: 6.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001601/1.6, allocations: 0.8338 MB / 0.9378 GB, free: 5.406 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/1.6, allocations: 4 kB / 0.9378 GB, free: 5.402 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/1.6, allocations: 16 kB / 0.9378 GB, free: 5.387 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009697/1.601, allocations: 224.6 kB / 0.9381 GB, free: 5.164 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004179/1.602, allocations: 135.8 kB / 0.9382 GB, free: 5.031 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001053/1.603, allocations: 0.8801 MB / 0.939 GB, free: 4.125 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/1.604, allocations: 47.95 kB / 0.9391 GB, free: 4.078 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-05/1.604, allocations: 39.98 kB / 0.9391 GB, free: 4.039 MB / 426.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real 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 (77): * Single equations (assignments): 76 * 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 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002783/1.604, allocations: 144.6 kB / 0.9393 GB, free: 3.891 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/1.604, allocations: 63.23 kB / 0.9393 GB, free: 3.828 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001233/1.605, allocations: 0.5707 MB / 0.9399 GB, free: 3.23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/1.605, allocations: 11.92 kB / 0.9399 GB, free: 3.219 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/1.605, allocations: 0 / 0.9399 GB, free: 3.219 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/1.605, allocations: 0 / 0.9399 GB, free: 3.219 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001833/1.607, allocations: 1.07 MB / 0.9409 GB, free: 2.082 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/1.607, allocations: 4 kB / 0.9409 GB, free: 2.078 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/1.608, allocations: 171.8 kB / 0.9411 GB, free: 1.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.923e-05/1.609, allocations: 20.84 kB / 0.9411 GB, free: 1.887 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.443e-05/1.609, allocations: 11.94 kB / 0.9411 GB, free: 1.875 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2005/1.809, allocations: 2.568 MB / 0.9436 GB, free: 128.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/1.809, allocations: 6.703 kB / 0.9436 GB, free: 128.3 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001349/1.811, allocations: 0.7487 MB / 0.9444 GB, free: 128.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004939/1.811, allocations: 188.7 kB / 0.9446 GB, free: 128 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001689/1.811, allocations: 7.312 kB / 0.9446 GB, free: 128 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005196/1.812, allocations: 19.77 kB / 0.9446 GB, free: 128 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.5e-05/1.812, allocations: 19.34 kB / 0.9446 GB, free: 128 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.056e-05/1.812, allocations: 19.69 kB / 0.9446 GB, free: 128 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0004946/1.812, allocations: 363.8 kB / 0.945 GB, free: 127.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001147/1.814, allocations: 217.2 kB / 0.9452 GB, free: 127.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (35): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0007895/1.814, allocations: 353.5 kB / 0.9455 GB, free: 127.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001101/1.815, allocations: 0.513 MB / 0.946 GB, free: 127.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/1.815, allocations: 0 / 0.946 GB, free: 127.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001083/1.817, allocations: 389.9 kB / 0.9464 GB, free: 127.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/1.818, allocations: 236.3 kB / 0.9466 GB, free: 127.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/1.82, allocations: 0.8891 MB / 0.9475 GB, free: 127.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005924/1.82, allocations: 1.009 MB / 0.9485 GB, free: 126.8 MB / 426.7 MB Notification: Performance of SimCode: time 3.4e-07/1.82, allocations: 3.188 kB / 0.9485 GB, free: 126.8 MB / 426.7 MB Notification: Performance of Templates: time 0.02153/1.842, allocations: 12.22 MB / 0.9604 GB, free: 126.5 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1)