Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,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_3.2.1_ModelicaTest.Media.TestAllProperties.SimpleAir") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002841/0.002845, allocations: 347.2 kB / 15.93 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.568/3.568, allocations: 341.5 MB / 358.2 MB, free: 12.55 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003565/0.003564, allocations: 218.1 kB / 397.8 MB, free: 4.906 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4763/0.4763, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004703/0.0004707, allocations: 12 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09339/0.09389, allocations: 48.7 MB / 0.6067 GB, free: 4.656 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.431/1.525, allocations: 366.3 MB / 0.9644 GB, free: 129.6 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/1.525, allocations: 83.19 kB / 0.9645 GB, free: 129.6 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08069/1.606, allocations: 21.12 MB / 0.9852 GB, free: 119.2 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.695e-06/1.606, allocations: 0 / 0.9852 GB, free: 119.2 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.556e-05/1.606, allocations: 4 kB / 0.9852 GB, free: 119.2 MB / 442.7 MB 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.001364/1.607, allocations: 0.5722 MB / 0.9857 GB, free: 118.6 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/1.607, allocations: 16.03 kB / 0.9857 GB, free: 118.6 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002192/1.607, allocations: 23.72 kB / 0.9858 GB, free: 118.6 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000328/1.608, allocations: 225.6 kB / 0.986 GB, free: 118.3 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001698/1.608, allocations: 129.5 kB / 0.9861 GB, free: 118.2 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.306e-05/1.608, allocations: 19.69 kB / 0.9861 GB, free: 118.1 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007356/1.609, allocations: 329.5 kB / 0.9864 GB, free: 117.9 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/1.609, allocations: 0 / 0.9864 GB, free: 117.9 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.423e-05/1.609, allocations: 11.44 kB / 0.9864 GB, free: 117.9 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.072e-05/1.609, allocations: 8 kB / 0.9864 GB, free: 117.9 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/1.61, allocations: 0.7443 MB / 0.9872 GB, free: 117.2 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001594/1.611, allocations: 1.095 MB / 0.9882 GB, free: 116.2 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005452/1.612, allocations: 174 kB / 0.9884 GB, free: 116.1 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001812/1.612, allocations: 80.86 kB / 0.9885 GB, free: 116 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002786/1.615, allocations: 2.703 MB / 0.9911 GB, free: 112.9 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/1.615, allocations: 33.19 kB / 0.9912 GB, free: 112.8 MB / 442.7 MB Notification: Performance of pre-optimization done (n=13): time 3.426e-06/1.615, allocations: 0 / 0.9912 GB, free: 112.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008596/1.616, allocations: 220.8 kB / 0.9914 GB, free: 112.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/1.616, allocations: 59.41 kB / 0.9914 GB, free: 112.6 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/1.616, allocations: 218.7 kB / 0.9916 GB, free: 112.4 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/1.616, allocations: 33.2 kB / 0.9917 GB, free: 112.4 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/1.616, allocations: 209.2 kB / 0.9919 GB, free: 112.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.171e-05/1.616, allocations: 50.34 kB / 0.9919 GB, free: 112.1 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.796e-05/1.616, allocations: 10.81 kB / 0.9919 GB, free: 112.1 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.178e-05/1.617, allocations: 329.2 kB / 0.9922 GB, free: 111.8 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/1.617, allocations: 48.84 kB / 0.9923 GB, free: 111.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000245/1.617, allocations: 322.9 kB / 0.9926 GB, free: 111.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002206/1.617, allocations: 108.4 kB / 0.9927 GB, free: 111.2 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/1.617, allocations: 4 kB / 0.9927 GB, free: 111.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007359/1.618, allocations: 371.5 kB / 0.993 GB, free: 110.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/1.618, allocations: 12 kB / 0.9931 GB, free: 110.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/1.618, allocations: 9.078 kB / 0.9931 GB, free: 110.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.334e-05/1.618, allocations: 18.5 kB / 0.9931 GB, free: 110.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006396/1.619, allocations: 107.4 kB / 0.9932 GB, free: 110.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.36e-05/1.619, allocations: 27.88 kB / 0.9932 GB, free: 110.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004012/1.619, allocations: 26.91 kB / 0.9932 GB, free: 110.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.168e-05/1.619, allocations: 27.69 kB / 0.9933 GB, free: 110.7 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001986/1.619, allocations: 153.7 kB / 0.9934 GB, free: 110.6 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.131e-05/1.62, allocations: 19.81 kB / 0.9934 GB, free: 110.6 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004992/1.62, allocations: 153.8 kB / 0.9936 GB, free: 110.4 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.13e-05/1.62, allocations: 11.31 kB / 0.9936 GB, free: 110.4 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/1.62, allocations: 0 / 0.9936 GB, free: 110.4 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/1.62, allocations: 7.953 kB / 0.9936 GB, free: 110.4 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007674/1.621, allocations: 430.5 kB / 0.994 GB, free: 110 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/1.621, allocations: 0 / 0.994 GB, free: 110 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002924/1.621, allocations: 27.98 kB / 0.994 GB, free: 109.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-06/1.621, allocations: 0 / 0.994 GB, free: 109.9 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/1.621, allocations: 11.39 kB / 0.994 GB, free: 109.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/1.621, allocations: 4.062 kB / 0.994 GB, free: 109.9 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.621, allocations: 3.938 kB / 0.9941 GB, free: 109.9 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003054/1.622, allocations: 219 kB / 0.9943 GB, free: 109.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/1.622, allocations: 108.4 kB / 0.9944 GB, free: 109.6 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.231e-05/1.622, allocations: 0 / 0.9944 GB, free: 109.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003522/1.622, allocations: 27.06 kB / 0.9944 GB, free: 109.6 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-05/1.622, allocations: 7.984 kB / 0.9944 GB, free: 109.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.139e-05/1.622, allocations: 10.42 kB / 0.9944 GB, free: 109.6 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000153/1.622, allocations: 145 kB / 0.9945 GB, free: 109.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.622, allocations: 0 / 0.9945 GB, free: 109.4 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007218/1.623, allocations: 99.55 kB / 0.9946 GB, free: 109.3 MB / 442.7 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003332/1.624, allocations: 179.1 kB / 0.9948 GB, free: 109.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004952/1.624, allocations: 177.3 kB / 0.995 GB, free: 109 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.624, allocations: 1.812 kB / 0.995 GB, free: 109 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.75e-05/1.624, allocations: 35.61 kB / 0.995 GB, free: 109 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006514/1.625, allocations: 48.28 kB / 0.9951 GB, free: 109 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01735/1.642, allocations: 5.396 MB / 1 GB, free: 104.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/1.642, allocations: 0.7326 MB / 1.001 GB, free: 103.8 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004923/1.643, allocations: 58.81 kB / 1.001 GB, free: 103.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.012e-05/1.643, allocations: 30.92 kB / 1.001 GB, free: 103.8 MB / 442.7 MB Notification: Performance of SimCode: time 1.022e-06/1.643, allocations: 0 / 1.001 GB, free: 103.8 MB / 442.7 MB Notification: Performance of Templates: time 0.01025/1.653, allocations: 3.388 MB / 1.004 GB, free: 100.4 MB / 442.7 MB