Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.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.DryAirNasa,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.DryAirNasa") translateModel(ModelicaTest.Media.TestAllProperties.DryAirNasa,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.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 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 183.1 kB / 8.519 MB, free: 1.859 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.19/1.19, allocations: 221.4 MB / 230.3 MB, free: 7.645 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.0008517/0.0008518, allocations: 89.47 kB / 281.2 MB, free: 5.445 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.1648/0.1648, allocations: 44.14 MB / 376.1 MB, free: 3.215 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 5.611e-06/5.651e-06, allocations: 0 / 444 MB, free: 15.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1127, allocations: 61.91 MB / 0.4941 GB, free: 1.617 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9885/1.101, allocations: 0.5013 GB / 0.9954 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/1.102, allocations: 79.55 kB / 0.9954 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.09988/1.201, allocations: 47.64 MB / 1.042 GB, free: 57.54 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.892e-05/1.201, allocations: 8 kB / 1.042 GB, free: 57.53 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.001452/1.203, allocations: 0.6502 MB / 1.043 GB, free: 56.83 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/1.203, allocations: 11.97 kB / 1.043 GB, free: 56.82 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007281/1.21, allocations: 0.7132 MB / 1.043 GB, free: 56.11 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003745/1.211, allocations: 246.8 kB / 1.044 GB, free: 55.82 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.243e-05/1.211, allocations: 115.3 kB / 1.044 GB, free: 55.69 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.229e-05/1.211, allocations: 12 kB / 1.044 GB, free: 55.68 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009667/1.212, allocations: 0.5435 MB / 1.044 GB, free: 55.13 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004154/1.212, allocations: 319.4 kB / 1.045 GB, free: 54.79 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/1.212, allocations: 3.938 kB / 1.045 GB, free: 54.79 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.346e-05/1.212, allocations: 0 / 1.045 GB, free: 54.79 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.205e-05/1.212, allocations: 11.98 kB / 1.045 GB, free: 54.77 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002241/1.215, allocations: 2.04 MB / 1.047 GB, free: 52.52 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/1.216, allocations: 118.5 kB / 1.047 GB, free: 52.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.791e-05/1.216, allocations: 32.92 kB / 1.047 GB, free: 52.36 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.96e-05/1.216, allocations: 97.17 kB / 1.047 GB, free: 52.25 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/1.216, allocations: 34.56 kB / 1.047 GB, free: 52.21 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 2.234e-06/1.216, allocations: 0 / 1.047 GB, free: 52.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.003088/1.219, allocations: 0.4908 MB / 1.047 GB, free: 51.69 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/1.219, allocations: 55.41 kB / 1.047 GB, free: 51.62 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/1.219, allocations: 189.6 kB / 1.047 GB, free: 51.43 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/1.219, allocations: 29.7 kB / 1.048 GB, free: 51.39 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.218e-05/1.219, allocations: 206.8 kB / 1.048 GB, free: 51.18 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/1.219, allocations: 47.44 kB / 1.048 GB, free: 51.14 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.388e-05/1.219, allocations: 0 / 1.048 GB, free: 51.14 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.514e-05/1.219, allocations: 322.8 kB / 1.048 GB, free: 50.81 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.368e-05/1.22, allocations: 60.86 kB / 1.048 GB, free: 50.75 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/1.22, allocations: 258 kB / 1.048 GB, free: 50.41 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000358/1.22, allocations: 126.1 kB / 1.049 GB, free: 50.29 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.22, allocations: 7.938 kB / 1.049 GB, free: 50.28 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006724/1.221, allocations: 361.6 kB / 1.049 GB, free: 49.92 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/1.221, allocations: 4 kB / 1.049 GB, free: 49.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/1.221, allocations: 11.98 kB / 1.049 GB, free: 49.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/1.221, allocations: 8 kB / 1.049 GB, free: 49.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005464/1.221, allocations: 167.8 kB / 1.049 GB, free: 49.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002763/1.222, allocations: 0.6096 MB / 1.05 GB, free: 49.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002885/1.222, allocations: 16.09 kB / 1.05 GB, free: 49.08 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.609e-05/1.222, allocations: 55.98 kB / 1.05 GB, free: 49.03 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 0.0001041/1.222, allocations: 124.7 kB / 1.05 GB, free: 48.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.832e-05/1.222, allocations: 23.7 kB / 1.05 GB, free: 48.88 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008923/1.223, allocations: 459.9 kB / 1.05 GB, free: 48.42 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/1.223, allocations: 0 / 1.05 GB, free: 48.42 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.223, allocations: 0 / 1.05 GB, free: 48.42 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/1.223, allocations: 3.938 kB / 1.05 GB, free: 48.41 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005178/1.224, allocations: 452.6 kB / 1.051 GB, free: 47.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/1.224, allocations: 0 / 1.051 GB, free: 47.92 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003044/1.224, allocations: 71.95 kB / 1.051 GB, free: 47.85 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/1.224, allocations: 0 / 1.051 GB, free: 47.85 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/1.224, allocations: 15.92 kB / 1.051 GB, free: 47.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002003/1.224, allocations: 0.5976 MB / 1.051 GB, free: 47.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.224, allocations: 4.188 kB / 1.051 GB, free: 47.21 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002115/1.224, allocations: 268.4 kB / 1.052 GB, free: 46.91 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.592e-05/1.225, allocations: 108.9 kB / 1.052 GB, free: 46.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.591e-05/1.225, allocations: 3.984 kB / 1.052 GB, free: 46.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/1.225, allocations: 8 kB / 1.052 GB, free: 46.78 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/1.225, allocations: 19.83 kB / 1.052 GB, free: 46.76 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.743e-05/1.225, allocations: 31.98 kB / 1.052 GB, free: 46.73 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.249e-05/1.225, allocations: 140.4 kB / 1.052 GB, free: 46.59 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008811/1.226, allocations: 207.8 kB / 1.052 GB, free: 46.39 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.001209/1.227, allocations: 0.7516 MB / 1.053 GB, free: 45.65 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004999/1.228, allocations: 224.4 kB / 1.053 GB, free: 45.43 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.228, allocations: 0 / 1.053 GB, free: 45.43 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002384/1.228, allocations: 87.89 kB / 1.053 GB, free: 45.34 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/1.228, allocations: 27.67 kB / 1.053 GB, free: 45.32 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005377/1.234, allocations: 1.697 MB / 1.055 GB, free: 43.59 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007085/1.234, allocations: 0.8763 MB / 1.056 GB, free: 42.68 MB / 0.5105 GB Notification: Performance of SimCode: time 8.71e-07/1.234, allocations: 4 kB / 1.056 GB, free: 42.68 MB / 0.5105 GB Notification: Performance of Templates: time 0.01509/1.249, allocations: 9.95 MB / 1.065 GB, free: 32.72 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1)