Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.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.Nitrogen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") [: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.002322/0.002322, allocations: 181 kB / 7.457 MB, free: 2.34 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.434/1.434, allocations: 194.2 MB / 202.1 MB, free: 8.723 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.001701/0.001701, allocations: 120 kB / 247.1 MB, free: 6.371 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.1933/0.1933, allocations: 39.94 MB / 331.9 MB, free: 4.898 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.642e-06/6.662e-06, allocations: 0 / 392.8 MB, free: 75.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1059, allocations: 54.86 MB / 447.7 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.182/1.288, allocations: 0.5027 GB / 0.9399 GB, free: 91.59 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/1.288, allocations: 91.94 kB / 0.94 GB, free: 91.5 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.6689/1.957, allocations: 215.5 MB / 1.15 GB, free: 59.35 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.403e-05/1.957, allocations: 28.38 kB / 1.15 GB, free: 59.32 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.002651/1.96, allocations: 1.096 MB / 1.151 GB, free: 58.19 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/1.96, allocations: 16.03 kB / 1.152 GB, free: 58.17 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008316/1.961, allocations: 127.1 kB / 1.152 GB, free: 58.05 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009519/1.962, allocations: 0.5442 MB / 1.152 GB, free: 57.47 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.405e-05/1.962, allocations: 92.3 kB / 1.152 GB, free: 57.37 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.389e-05/1.962, allocations: 28 kB / 1.152 GB, free: 57.34 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007796/1.963, allocations: 0.5333 MB / 1.153 GB, free: 56.81 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008976/1.964, allocations: 0.7421 MB / 1.154 GB, free: 55.99 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/1.964, allocations: 7.938 kB / 1.154 GB, free: 55.98 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.579e-05/1.964, allocations: 3.938 kB / 1.154 GB, free: 55.98 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-05/1.964, allocations: 44.98 kB / 1.154 GB, free: 55.94 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003914/1.968, allocations: 3.992 MB / 1.157 GB, free: 51.75 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003588/1.968, allocations: 210.3 kB / 1.158 GB, free: 51.54 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/1.968, allocations: 129.3 kB / 1.158 GB, free: 51.41 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.422e-05/1.968, allocations: 28.86 kB / 1.158 GB, free: 51.38 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/1.968, allocations: 38.8 kB / 1.158 GB, free: 51.33 MB / 474.7 MB Notification: Performance of pre-optimization done (n=27): time 2.254e-06/1.968, allocations: 0 / 1.158 GB, free: 51.33 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.004973/1.973, allocations: 1.426 MB / 1.159 GB, free: 49.82 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/1.973, allocations: 132.5 kB / 1.159 GB, free: 49.66 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004953/1.974, allocations: 478.1 kB / 1.16 GB, free: 49.19 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.681e-05/1.974, allocations: 25.7 kB / 1.16 GB, free: 49.16 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/1.974, allocations: 342.7 kB / 1.16 GB, free: 48.82 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.573e-05/1.974, allocations: 122.3 kB / 1.16 GB, free: 48.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/1.974, allocations: 4 kB / 1.16 GB, free: 48.69 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.622e-05/1.974, allocations: 366.8 kB / 1.161 GB, free: 48.32 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002414/1.975, allocations: 185.5 kB / 1.161 GB, free: 48.14 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003635/1.975, allocations: 0.5083 MB / 1.161 GB, free: 47.48 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005534/1.976, allocations: 343.4 kB / 1.162 GB, free: 47.14 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.976, allocations: 0 / 1.162 GB, free: 47.14 MB / 474.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001237/1.977, allocations: 0.8369 MB / 1.162 GB, free: 46.29 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/1.977, allocations: 8 kB / 1.162 GB, free: 46.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/1.977, allocations: 8 kB / 1.162 GB, free: 46.28 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001099/1.978, allocations: 272.7 kB / 1.163 GB, free: 46.01 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003812/1.978, allocations: 139.8 kB / 1.163 GB, free: 45.88 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00093/1.979, allocations: 0.9347 MB / 1.164 GB, free: 44.91 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005915/1.98, allocations: 44.03 kB / 1.164 GB, free: 44.87 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.861e-05/1.98, allocations: 68 kB / 1.164 GB, free: 44.8 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.0001547/1.98, allocations: 128.7 kB / 1.164 GB, free: 44.67 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.711e-05/1.98, allocations: 67.23 kB / 1.164 GB, free: 44.61 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/1.981, allocations: 0.5422 MB / 1.165 GB, free: 44.05 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/1.981, allocations: 4 kB / 1.165 GB, free: 44.05 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/1.981, allocations: 4 kB / 1.165 GB, free: 44.05 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/1.981, allocations: 3.984 kB / 1.165 GB, free: 44.04 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/1.983, allocations: 0.9745 MB / 1.166 GB, free: 43.03 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/1.983, allocations: 0 / 1.166 GB, free: 43.03 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009444/1.984, allocations: 191.8 kB / 1.166 GB, free: 42.84 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.74e-05/1.984, allocations: 28.75 kB / 1.166 GB, free: 42.81 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.274e-05/1.984, allocations: 8 kB / 1.166 GB, free: 42.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001359/1.985, allocations: 2.584 MB / 1.168 GB, free: 39.99 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.985, allocations: 0 / 1.168 GB, free: 39.99 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007863/1.986, allocations: 0.6777 MB / 1.169 GB, free: 39.28 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001887/1.986, allocations: 172.3 kB / 1.169 GB, free: 39.09 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/1.986, allocations: 7.984 kB / 1.169 GB, free: 39.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004084/1.987, allocations: 20.05 kB / 1.169 GB, free: 39.07 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.267e-05/1.987, allocations: 23.88 kB / 1.169 GB, free: 39.04 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.222e-05/1.987, allocations: 39.98 kB / 1.169 GB, free: 39 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0003336/1.987, allocations: 354.9 kB / 1.17 GB, free: 38.66 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001386/1.989, allocations: 343.3 kB / 1.17 GB, free: 38.33 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.001729/1.99, allocations: 1.175 MB / 1.171 GB, free: 37.28 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0008293/1.991, allocations: 483.4 kB / 1.172 GB, free: 36.81 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/1.991, allocations: 3.938 kB / 1.172 GB, free: 36.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001007/1.992, allocations: 399.5 kB / 1.172 GB, free: 36.41 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/1.993, allocations: 225.8 kB / 1.172 GB, free: 36.19 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006288/2, allocations: 2.345 MB / 1.174 GB, free: 33.85 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007517/2.001, allocations: 1.066 MB / 1.175 GB, free: 32.75 MB / 474.7 MB Notification: Performance of SimCode: time 1.243e-06/2.001, allocations: 0 / 1.175 GB, free: 32.75 MB / 474.7 MB Notification: Performance of Templates: time 0.02705/2.028, allocations: 19.33 MB / 1.194 GB, free: 13.51 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1)