Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.|dddX.2.|dddX.3.|dddX.4.|dddX.5.|dddX.6.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004044/0.00405, allocations: 360.5 kB / 15.95 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.201/4.201, allocations: 388.9 MB / 405.6 MB, free: 9.633 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003659/0.003659, allocations: 231.7 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5605/0.5605, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004762/0.0004765, allocations: 8 kB / 0.6265 GB, free: 96.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1067, allocations: 54.87 MB / 0.6801 GB, free: 41.7 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.843/2.949, allocations: 0.8625 GB / 1.543 GB, free: 108.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/2.95, allocations: 87.3 kB / 1.543 GB, free: 108.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4229/3.373, allocations: 110.5 MB / 1.651 GB, free: 3.797 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.435e-06/3.373, allocations: 0 / 1.651 GB, free: 3.797 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.038e-05/3.373, allocations: 8 kB / 1.651 GB, free: 3.789 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.003536/3.376, allocations: 0.9319 MB / 1.652 GB, free: 2.809 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/3.376, allocations: 8.031 kB / 1.652 GB, free: 2.801 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01611/3.392, allocations: 1.217 MB / 1.653 GB, free: 1.582 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/3.394, allocations: 378.4 kB / 1.653 GB, free: 1.172 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001763/3.394, allocations: 135.8 kB / 1.653 GB, free: 1.016 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002584/3.394, allocations: 31.98 kB / 1.653 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.385/3.779, allocations: 1.421 MB / 1.655 GB, free: 136.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.441e-05/3.779, allocations: 1.219 kB / 1.655 GB, free: 136.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003744/3.78, allocations: 17 kB / 1.655 GB, free: 136.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001469/3.78, allocations: 53.22 kB / 1.655 GB, free: 136.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01118/3.791, allocations: 2.139 MB / 1.657 GB, free: 136.9 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006497/3.798, allocations: 3.006 MB / 1.66 GB, free: 134.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003153/3.798, allocations: 111.6 kB / 1.66 GB, free: 134.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/3.798, allocations: 48.19 kB / 1.66 GB, free: 134.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005225/3.803, allocations: 3.279 MB / 1.663 GB, free: 132.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.056e-05/3.803, allocations: 35.94 kB / 1.663 GB, free: 132.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 2.925e-06/3.803, allocations: 2.531 kB / 1.663 GB, free: 132.1 MB / 490.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=18): time 0.002058/3.805, allocations: 403.1 kB / 1.663 GB, free: 132.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/3.805, allocations: 54.84 kB / 1.664 GB, free: 132 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005595/3.806, allocations: 338.5 kB / 1.664 GB, free: 131.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.779e-05/3.806, allocations: 31.92 kB / 1.664 GB, free: 131.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002151/3.806, allocations: 344 kB / 1.664 GB, free: 131.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.136e-05/3.806, allocations: 73.81 kB / 1.664 GB, free: 131.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/3.806, allocations: 11.19 kB / 1.664 GB, free: 131.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.926e-05/3.807, allocations: 342.4 kB / 1.665 GB, free: 131.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002889/3.807, allocations: 112.3 kB / 1.665 GB, free: 131.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005632/3.807, allocations: 0.5422 MB / 1.665 GB, free: 130.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004998/3.808, allocations: 219.1 kB / 1.665 GB, free: 130.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.365e-05/3.808, allocations: 5.688 kB / 1.665 GB, free: 130.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001609/3.81, allocations: 0.6406 MB / 1.666 GB, free: 130.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.661e-05/3.81, allocations: 15.25 kB / 1.666 GB, free: 130.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.507e-05/3.81, allocations: 14.47 kB / 1.666 GB, free: 130.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.055e-05/3.81, allocations: 24.02 kB / 1.666 GB, free: 130.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009781/3.811, allocations: 176.8 kB / 1.666 GB, free: 130.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004042/3.811, allocations: 0.617 MB / 1.667 GB, free: 130.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008289/3.812, allocations: 97.97 kB / 1.667 GB, free: 130.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/3.812, allocations: 61.77 kB / 1.667 GB, free: 130.1 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * 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 (86): * Single equations (assignments): 85 * 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.0003323/3.812, allocations: 206.8 kB / 1.667 GB, free: 130 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/3.813, allocations: 33.56 kB / 1.667 GB, free: 130 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008257/3.813, allocations: 237.5 kB / 1.668 GB, free: 129.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/3.814, allocations: 2.625 kB / 1.668 GB, free: 129.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/3.814, allocations: 3.469 kB / 1.668 GB, free: 129.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.393e-06/3.814, allocations: 5.078 kB / 1.668 GB, free: 129.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/3.815, allocations: 0.8051 MB / 1.668 GB, free: 129.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/3.815, allocations: 2.047 kB / 1.668 GB, free: 129.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003059/3.815, allocations: 38.97 kB / 1.668 GB, free: 129.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.034e-05/3.816, allocations: 6.094 kB / 1.668 GB, free: 129.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.539e-05/3.816, allocations: 5.562 kB / 1.668 GB, free: 129.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003101/3.816, allocations: 0.5944 MB / 1.669 GB, free: 128.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/3.816, allocations: 3.703 kB / 1.669 GB, free: 128.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000497/3.816, allocations: 269.5 kB / 1.669 GB, free: 128.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002308/3.817, allocations: 129 kB / 1.669 GB, free: 128.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.807e-05/3.817, allocations: 10.31 kB / 1.669 GB, free: 128.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004479/3.817, allocations: 14.88 kB / 1.669 GB, free: 128.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/3.817, allocations: 17.66 kB / 1.669 GB, free: 128.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.852e-05/3.817, allocations: 16.84 kB / 1.669 GB, free: 128.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003783/3.818, allocations: 217 kB / 1.67 GB, free: 128.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.51e-07/3.818, allocations: 0 / 1.67 GB, free: 128.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002655/3.82, allocations: 464 kB / 1.67 GB, free: 128.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (15): * Single equations (assignments): 14 * 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.004004/3.824, allocations: 1.035 MB / 1.671 GB, free: 128.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001267/3.826, allocations: 330.1 kB / 1.671 GB, free: 128.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/3.826, allocations: 1.156 kB / 1.671 GB, free: 128.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002492/3.826, allocations: 58.5 kB / 1.671 GB, free: 128.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009176/3.827, allocations: 61.84 kB / 1.671 GB, free: 128.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1463/3.973, allocations: 45.98 MB / 1.716 GB, free: 121.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/3.974, allocations: 0.799 MB / 1.717 GB, free: 120.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001114/3.975, allocations: 163.5 kB / 1.717 GB, free: 120.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002008/3.975, allocations: 46.19 kB / 1.717 GB, free: 120.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.012e-06/3.975, allocations: 0 / 1.717 GB, free: 120.8 MB / 490.7 MB Notification: Performance of Templates: time 0.03873/4.014, allocations: 18 MB / 1.735 GB, free: 111.1 MB / 490.7 MB "" Variables in the reference:time,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],dddX[2],dddX[3],dddX[4],dddX[5],dddX[6],MM,h2,d2,err_T,err_d,err_u,s_is,err_h_is Variables in the result:MM,Pr,T,a,beta,beta2,cp,cp2,cv,cv2,d,d2,ddTp,dddX[1],dddX[2],dddX[3],dddX[4],dddX[5],dddX[6],ddpT,eps_h_is,err_T,err_d,err_h_is,err_u,eta,f,g,h,h2,h_is,kappa,kappa2,lambda,medium.preferredMediumStates,medium.standardOrderComponents,p,s,s_is,state.T,state.p,time,u