Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.CO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2") translateModel(ModelicaTest.Media.TestAllProperties.CO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2") [: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 4.0.0+maint.om/package.mo): time 0.0009662/0.0009662, allocations: 174.8 kB / 8.518 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.254/1.254, allocations: 221.4 MB / 230.3 MB, free: 7.789 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009163/0.0009162, allocations: 96.59 kB / 281.2 MB, free: 5.535 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1784/0.1784, allocations: 44.14 MB / 376.1 MB, free: 3.262 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.342e-06/6.372e-06, allocations: 224 / 444 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1217, allocations: 61.91 MB / 0.4941 GB, free: 1.648 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.069/1.191, allocations: 0.4894 GB / 0.9835 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/1.191, allocations: 75.95 kB / 0.9836 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.09916/1.29, allocations: 47.46 MB / 1.03 GB, free: 72.46 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.55e-05/1.29, allocations: 0 / 1.03 GB, free: 72.46 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001402/1.292, allocations: 0.6579 MB / 1.031 GB, free: 71.75 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/1.292, allocations: 11.97 kB / 1.031 GB, free: 71.74 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00738/1.299, allocations: 0.7094 MB / 1.031 GB, free: 71.03 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004237/1.299, allocations: 246.8 kB / 1.032 GB, free: 70.75 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/1.3, allocations: 123.3 kB / 1.032 GB, free: 70.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/1.3, allocations: 16 kB / 1.032 GB, free: 70.59 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001001/1.301, allocations: 0.5474 MB / 1.032 GB, free: 70.04 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000429/1.301, allocations: 311.5 kB / 1.033 GB, free: 69.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/1.301, allocations: 7.906 kB / 1.033 GB, free: 69.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.775e-05/1.301, allocations: 0 / 1.033 GB, free: 69.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/1.301, allocations: 8 kB / 1.033 GB, free: 69.69 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002597/1.304, allocations: 2.692 MB / 1.035 GB, free: 66.66 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/1.305, allocations: 114.5 kB / 1.035 GB, free: 66.54 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.674e-05/1.305, allocations: 44.94 kB / 1.035 GB, free: 66.49 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.411e-05/1.305, allocations: 85.11 kB / 1.035 GB, free: 66.39 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.598e-05/1.305, allocations: 38.73 kB / 1.035 GB, free: 66.34 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 2.064e-06/1.305, allocations: 0 / 1.035 GB, free: 66.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.002955/1.308, allocations: 482.5 kB / 1.036 GB, free: 65.84 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/1.308, allocations: 59.41 kB / 1.036 GB, free: 65.77 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/1.308, allocations: 189.6 kB / 1.036 GB, free: 65.57 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/1.308, allocations: 25.7 kB / 1.036 GB, free: 65.54 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.801e-05/1.308, allocations: 214.8 kB / 1.036 GB, free: 65.33 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/1.308, allocations: 39.48 kB / 1.036 GB, free: 65.29 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.235e-05/1.308, allocations: 4.281 kB / 1.036 GB, free: 65.29 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.019e-05/1.308, allocations: 330.7 kB / 1.037 GB, free: 64.95 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.747e-05/1.309, allocations: 56.86 kB / 1.037 GB, free: 64.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/1.309, allocations: 261.9 kB / 1.037 GB, free: 64.54 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/1.31, allocations: 303.5 kB / 1.037 GB, free: 64.25 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/1.31, allocations: 4 kB / 1.037 GB, free: 64.24 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001349/1.311, allocations: 0.5231 MB / 1.038 GB, free: 63.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/1.311, allocations: 8 kB / 1.038 GB, free: 63.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/1.311, allocations: 8.125 kB / 1.038 GB, free: 63.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/1.311, allocations: 12 kB / 1.038 GB, free: 63.69 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005428/1.312, allocations: 167.8 kB / 1.038 GB, free: 63.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002626/1.312, allocations: 0.6132 MB / 1.039 GB, free: 62.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002815/1.312, allocations: 7.984 kB / 1.039 GB, free: 62.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.153e-05/1.312, allocations: 56.09 kB / 1.039 GB, free: 62.82 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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: 0 * 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: Performance of prepare postOptimizeDAE: time 9.872e-05/1.313, allocations: 127.5 kB / 1.039 GB, free: 62.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.844e-05/1.313, allocations: 19.72 kB / 1.039 GB, free: 62.68 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009226/1.314, allocations: 460.4 kB / 1.039 GB, free: 62.21 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/1.314, allocations: 4 kB / 1.039 GB, free: 62.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.314, allocations: 0 / 1.039 GB, free: 62.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/1.314, allocations: 0 / 1.039 GB, free: 62.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005286/1.314, allocations: 452.6 kB / 1.04 GB, free: 61.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/1.314, allocations: 0 / 1.04 GB, free: 61.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002903/1.314, allocations: 79.83 kB / 1.04 GB, free: 61.63 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/1.314, allocations: 8.062 kB / 1.04 GB, free: 61.62 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/1.314, allocations: 8 kB / 1.04 GB, free: 61.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001939/1.315, allocations: 0.5937 MB / 1.04 GB, free: 61 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.315, allocations: 0 / 1.04 GB, free: 61 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002235/1.315, allocations: 274.6 kB / 1.041 GB, free: 60.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.5e-05/1.315, allocations: 112.8 kB / 1.041 GB, free: 60.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.565e-05/1.315, allocations: 0 / 1.041 GB, free: 60.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/1.315, allocations: 11.98 kB / 1.041 GB, free: 60.56 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.568e-05/1.315, allocations: 23.89 kB / 1.041 GB, free: 60.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.371e-05/1.315, allocations: 23.98 kB / 1.041 GB, free: 60.51 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.622e-05/1.315, allocations: 140.4 kB / 1.041 GB, free: 60.38 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008675/1.316, allocations: 223.8 kB / 1.041 GB, free: 60.16 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * 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: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.001161/1.317, allocations: 0.7702 MB / 1.042 GB, free: 59.39 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004824/1.318, allocations: 219.6 kB / 1.042 GB, free: 59.18 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.318, allocations: 0 / 1.042 GB, free: 59.18 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002295/1.318, allocations: 93.77 kB / 1.042 GB, free: 59.09 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/1.319, allocations: 28.11 kB / 1.042 GB, free: 59.06 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06676/1.385, allocations: 22.12 MB / 1.064 GB, free: 36.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006926/1.386, allocations: 0.8763 MB / 1.065 GB, free: 35.89 MB / 0.5105 GB Notification: Performance of SimCode: time 8.32e-07/1.386, allocations: 0 / 1.065 GB, free: 35.89 MB / 0.5105 GB Notification: Performance of Templates: time 0.01522/1.401, allocations: 10.28 MB / 1.075 GB, free: 25.62 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1)