Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2.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.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2") [: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.004796/0.004796, allocations: 182.1 kB / 7.458 MB, free: 2.484 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.54/1.54, 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.001893/0.001893, allocations: 121.7 kB / 247.1 MB, free: 6.387 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.2251/0.2251, allocations: 39.94 MB / 331.9 MB, free: 4.879 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.853e-06/6.873e-06, allocations: 4 kB / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1308, allocations: 54.87 MB / 447.6 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.174/1.305, allocations: 455.7 MB / 0.8821 GB, free: 150.5 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/1.305, allocations: 67.97 kB / 0.8822 GB, free: 150.4 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.05896/1.364, allocations: 29.21 MB / 0.9107 GB, free: 121.1 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.463e-05/1.364, allocations: 4 kB / 0.9107 GB, free: 121.1 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004148/1.365, allocations: 378.6 kB / 0.9111 GB, free: 120.6 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/1.365, allocations: 12.03 kB / 0.9111 GB, free: 120.6 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001761/1.366, allocations: 219.5 kB / 0.9113 GB, free: 120.4 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002701/1.367, allocations: 218.8 kB / 0.9115 GB, free: 120.2 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/1.367, allocations: 4 kB / 0.9115 GB, free: 120.2 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.427e-05/1.367, allocations: 4 kB / 0.9115 GB, free: 120.2 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003294/1.367, allocations: 148 kB / 0.9117 GB, free: 120 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002122/1.367, allocations: 128.1 kB / 0.9118 GB, free: 119.9 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/1.367, allocations: 3.938 kB / 0.9118 GB, free: 119.9 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/1.367, allocations: 4 kB / 0.9118 GB, free: 119.9 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/1.367, allocations: 0 / 0.9118 GB, free: 119.9 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/1.368, allocations: 0.5653 MB / 0.9123 GB, free: 119.3 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/1.369, allocations: 114.6 kB / 0.9125 GB, free: 119.1 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.383e-05/1.369, allocations: 64.84 kB / 0.9125 GB, free: 119.1 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.601e-05/1.369, allocations: 3.938 kB / 0.9125 GB, free: 119.1 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/1.369, allocations: 35.09 kB / 0.9126 GB, free: 119 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 1.683e-06/1.369, allocations: 0 / 0.9126 GB, free: 119 MB / 474.7 MB Notification: Performance of matching and sorting (n=19): time 0.003786/1.373, allocations: 0.8699 MB / 0.9134 GB, free: 118.1 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/1.373, allocations: 59.41 kB / 0.9135 GB, free: 118 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.434e-05/1.373, allocations: 105 kB / 0.9136 GB, free: 117.9 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/1.373, allocations: 25.7 kB / 0.9136 GB, free: 117.9 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.057e-05/1.373, allocations: 95.89 kB / 0.9137 GB, free: 117.8 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.654e-05/1.373, allocations: 63.09 kB / 0.9137 GB, free: 117.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.751e-05/1.373, allocations: 0 / 0.9137 GB, free: 117.7 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.696e-05/1.373, allocations: 323 kB / 0.914 GB, free: 117.4 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.687e-05/1.373, allocations: 60 kB / 0.9141 GB, free: 117.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/1.373, allocations: 97.77 kB / 0.9142 GB, free: 117.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/1.373, allocations: 72.81 kB / 0.9143 GB, free: 117.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/1.373, allocations: 0 / 0.9143 GB, free: 117.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003713/1.374, allocations: 236.6 kB / 0.9145 GB, free: 116.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/1.374, allocations: 8 kB / 0.9145 GB, free: 116.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/1.374, allocations: 0 / 0.9145 GB, free: 116.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001608/1.374, allocations: 40.83 kB / 0.9145 GB, free: 116.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003244/1.374, allocations: 51.97 kB / 0.9146 GB, free: 116.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003839/1.375, allocations: 0.5797 MB / 0.9152 GB, free: 116.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/1.375, allocations: 0 / 0.9152 GB, free: 116.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-05/1.375, allocations: 31.98 kB / 0.9152 GB, free: 116.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001068/1.375, allocations: 108.9 kB / 0.9153 GB, free: 116.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.748e-05/1.375, allocations: 19.75 kB / 0.9153 GB, free: 116 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008224/1.376, allocations: 352.1 kB / 0.9156 GB, free: 115.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/1.376, allocations: 0 / 0.9156 GB, free: 115.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/1.376, allocations: 0 / 0.9156 GB, free: 115.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/1.376, allocations: 0 / 0.9156 GB, free: 115.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007195/1.377, allocations: 0.5569 MB / 0.9162 GB, free: 115.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/1.377, allocations: 0 / 0.9162 GB, free: 115.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003453/1.377, allocations: 67.89 kB / 0.9162 GB, free: 115 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.102e-05/1.377, allocations: 16.84 kB / 0.9163 GB, free: 115 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/1.377, allocations: 20.08 kB / 0.9163 GB, free: 115 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006997/1.378, allocations: 1.209 MB / 0.9175 GB, free: 113.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.378, allocations: 4.031 kB / 0.9175 GB, free: 113.6 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004755/1.378, allocations: 436.1 kB / 0.9179 GB, free: 113.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.058e-05/1.378, allocations: 85.02 kB / 0.918 GB, free: 113.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.914e-05/1.378, allocations: 7.938 kB / 0.918 GB, free: 113.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/1.379, allocations: 3.984 kB / 0.918 GB, free: 113.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/1.379, allocations: 19.98 kB / 0.918 GB, free: 113 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.722e-05/1.379, allocations: 27.98 kB / 0.918 GB, free: 113 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.3e-05/1.379, allocations: 99.41 kB / 0.9181 GB, free: 112.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005112/1.379, allocations: 108 kB / 0.9182 GB, free: 112.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009003/1.38, allocations: 0.6234 MB / 0.9188 GB, free: 112.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003967/1.381, allocations: 179.9 kB / 0.919 GB, free: 112 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.381, allocations: 0 / 0.919 GB, free: 112 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002391/1.381, allocations: 201.6 kB / 0.9192 GB, free: 111.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/1.381, allocations: 41.97 kB / 0.9192 GB, free: 111.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006462/1.382, allocations: 317.1 kB / 0.9195 GB, free: 111.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004594/1.382, allocations: 0.7862 MB / 0.9203 GB, free: 110.6 MB / 474.7 MB Notification: Performance of SimCode: time 2.21e-07/1.382, allocations: 0 / 0.9203 GB, free: 110.6 MB / 474.7 MB Notification: Performance of Templates: time 0.01292/1.395, allocations: 8.412 MB / 0.9285 GB, free: 102.2 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1)