Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.DryAirNasa,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1_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.1+maint.om/package.mo): time 0.007527/0.007527, allocations: 172.5 kB / 7.446 MB, free: 2.508 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.516/1.516, allocations: 170.6 MB / 178.4 MB, free: 15.43 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.001747/0.001747, allocations: 119.7 kB / 217.7 MB, free: 8.191 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.1888/0.1888, allocations: 37.98 MB / 294.8 MB, free: 9.469 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.313e-06/7.354e-06, allocations: 0 / 349.5 MB, free: 37.1 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1233, allocations: 48.71 MB / 398.2 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.619/1.743, allocations: 0.6079 GB / 0.9968 GB, free: 112.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003536/1.743, allocations: 87.94 kB / 0.9969 GB, free: 112.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.834/2.577, allocations: 225.1 MB / 1.217 GB, free: 50.36 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000129/2.577, allocations: 27.77 kB / 1.217 GB, free: 50.34 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.005121/2.582, allocations: 1.143 MB / 1.218 GB, free: 49.15 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.277e-05/2.582, allocations: 8.031 kB / 1.218 GB, free: 49.14 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001316/2.584, allocations: 134.9 kB / 1.218 GB, free: 49.01 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001808/2.586, allocations: 0.5607 MB / 1.219 GB, free: 48.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/2.586, allocations: 84.39 kB / 1.219 GB, free: 48.33 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001871/2.586, allocations: 28 kB / 1.219 GB, free: 48.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001169/2.587, allocations: 0.5333 MB / 1.219 GB, free: 47.77 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/2.589, allocations: 0.7306 MB / 1.22 GB, free: 46.96 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.828e-05/2.589, allocations: 7.938 kB / 1.22 GB, free: 46.95 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/2.589, allocations: 4 kB / 1.22 GB, free: 46.95 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.539e-05/2.589, allocations: 40.97 kB / 1.22 GB, free: 46.91 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005666/2.594, allocations: 4.023 MB / 1.224 GB, free: 42.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004247/2.595, allocations: 206.4 kB / 1.224 GB, free: 42.49 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/2.595, allocations: 125.3 kB / 1.224 GB, free: 42.36 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.625e-05/2.595, allocations: 16.89 kB / 1.224 GB, free: 42.35 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/2.595, allocations: 42.78 kB / 1.224 GB, free: 42.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 3.827e-06/2.595, allocations: 0 / 1.224 GB, free: 42.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.005837/2.601, allocations: 1.426 MB / 1.226 GB, free: 40.79 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.192e-05/2.601, allocations: 136.5 kB / 1.226 GB, free: 40.63 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006652/2.602, allocations: 474.1 kB / 1.226 GB, free: 40.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.257e-05/2.602, allocations: 25.7 kB / 1.226 GB, free: 40.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000159/2.602, allocations: 342.7 kB / 1.227 GB, free: 39.79 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.45e-05/2.602, allocations: 118.3 kB / 1.227 GB, free: 39.67 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/2.602, allocations: 0 / 1.227 GB, free: 39.67 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/2.602, allocations: 370.8 kB / 1.227 GB, free: 39.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002537/2.603, allocations: 189.4 kB / 1.227 GB, free: 39.11 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004226/2.603, allocations: 0.5083 MB / 1.228 GB, free: 38.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000602/2.604, allocations: 351.8 kB / 1.228 GB, free: 38.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/2.604, allocations: 8 kB / 1.228 GB, free: 38.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001323/2.605, allocations: 0.8377 MB / 1.229 GB, free: 37.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/2.605, allocations: 4 kB / 1.229 GB, free: 37.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/2.605, allocations: 12 kB / 1.229 GB, free: 37.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/2.606, allocations: 260.7 kB / 1.229 GB, free: 36.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003983/2.607, allocations: 131.8 kB / 1.229 GB, free: 36.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001063/2.608, allocations: 0.9466 MB / 1.23 GB, free: 35.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006586/2.608, allocations: 39.94 kB / 1.23 GB, free: 35.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/2.608, allocations: 67.98 kB / 1.23 GB, free: 35.77 MB / 426.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.0001718/2.609, allocations: 133 kB / 1.23 GB, free: 35.63 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/2.609, allocations: 59.25 kB / 1.23 GB, free: 35.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001225/2.61, allocations: 0.559 MB / 1.231 GB, free: 35 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/2.61, allocations: 4 kB / 1.231 GB, free: 35 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/2.61, allocations: 0 / 1.231 GB, free: 35 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/2.61, allocations: 0 / 1.231 GB, free: 35 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/2.611, allocations: 0.9762 MB / 1.232 GB, free: 33.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/2.611, allocations: 4 kB / 1.232 GB, free: 33.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/2.612, allocations: 187.8 kB / 1.232 GB, free: 33.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-05/2.613, allocations: 16.84 kB / 1.232 GB, free: 33.78 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.021e-05/2.613, allocations: 15.98 kB / 1.232 GB, free: 33.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001521/2.614, allocations: 2.576 MB / 1.235 GB, free: 30.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/2.614, allocations: 0 / 1.235 GB, free: 30.95 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008389/2.615, allocations: 0.6818 MB / 1.235 GB, free: 30.25 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002282/2.615, allocations: 176.3 kB / 1.235 GB, free: 30.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/2.615, allocations: 0 / 1.235 GB, free: 30.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004106/2.616, allocations: 27.89 kB / 1.236 GB, free: 30.03 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.928e-05/2.616, allocations: 31.91 kB / 1.236 GB, free: 30 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.362e-05/2.616, allocations: 39.97 kB / 1.236 GB, free: 29.96 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0003459/2.616, allocations: 342.9 kB / 1.236 GB, free: 29.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00154/2.618, allocations: 347.8 kB / 1.236 GB, free: 29.29 MB / 426.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.001969/2.62, allocations: 1.206 MB / 1.237 GB, free: 28.21 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009577/2.621, allocations: 492.8 kB / 1.238 GB, free: 27.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/2.621, allocations: 4.141 kB / 1.238 GB, free: 27.72 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001092/2.622, allocations: 401.4 kB / 1.238 GB, free: 27.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/2.623, allocations: 229.8 kB / 1.239 GB, free: 27.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006867/2.63, allocations: 2.339 MB / 1.241 GB, free: 24.77 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009065/2.631, allocations: 1.077 MB / 1.242 GB, free: 23.66 MB / 426.7 MB Notification: Performance of SimCode: time 9.62e-07/2.631, allocations: 0 / 1.242 GB, free: 23.66 MB / 426.7 MB Notification: Performance of Templates: time 0.03108/2.662, allocations: 19.4 MB / 1.261 GB, free: 4.34 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1)