Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.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.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.1_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002637/0.00264, allocations: 349.4 kB / 15.94 MB, free: 6.215 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.478/3.478, allocations: 341.5 MB / 358.2 MB, free: 28.75 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003589/0.003589, allocations: 224.4 kB / 397.9 MB, free: 6.156 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.486/0.486, allocations: 76.1 MB / 0.5014 GB, free: 0.832 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000471/0.0004712, allocations: 12 kB / 0.5592 GB, free: 60.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09008/0.09057, allocations: 48.71 MB / 0.6067 GB, free: 11.56 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.859/2.95, allocations: 0.8481 GB / 1.455 GB, free: 35.31 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005016/2.95, allocations: 69.41 kB / 1.455 GB, free: 35.28 MB / 442.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:204:5-205:38:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:256:5-257:40:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:258:5-258:76:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:262:5-263:39:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:256:5-257:40:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:258:5-258:76:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Media/IdealGases/Common/Functions.mo:262:5-263:39:writable] Error: PartialMedium is partial, name lookup is not allowed in partial classes. Notification: Performance of FrontEnd - DAE generated: time 0.7965/3.747, allocations: 110.1 MB / 1.562 GB, free: 112.2 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.224e-06/3.747, allocations: 0 / 1.562 GB, free: 112.2 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.659e-05/3.747, allocations: 4 kB / 1.562 GB, free: 112.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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.003724/3.751, allocations: 0.9396 MB / 1.563 GB, free: 111.2 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/3.751, allocations: 8.031 kB / 1.563 GB, free: 111.2 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02096/3.772, allocations: 1.217 MB / 1.565 GB, free: 110 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0015/3.773, allocations: 378.4 kB / 1.565 GB, free: 109.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002628/3.773, allocations: 139.8 kB / 1.565 GB, free: 109.4 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004524/3.774, allocations: 35.94 kB / 1.565 GB, free: 109.3 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006359/3.78, allocations: 1.423 MB / 1.566 GB, free: 107.9 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.802e-05/3.78, allocations: 7.938 kB / 1.566 GB, free: 107.9 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003509/3.781, allocations: 16 kB / 1.566 GB, free: 107.9 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000118/3.781, allocations: 48.97 kB / 1.566 GB, free: 107.8 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007559/3.788, allocations: 2.131 MB / 1.569 GB, free: 105.7 MB / 442.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.004467/3.793, allocations: 2.781 MB / 1.571 GB, free: 102.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002847/3.793, allocations: 106.5 kB / 1.571 GB, free: 102.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/3.793, allocations: 52.98 kB / 1.571 GB, free: 102.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004506/3.798, allocations: 3.057 MB / 1.574 GB, free: 98.96 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/3.798, allocations: 34.56 kB / 1.574 GB, free: 98.92 MB / 442.7 MB Notification: Performance of pre-optimization done (n=18): time 2.425e-06/3.798, allocations: 0 / 1.574 GB, free: 98.92 MB / 442.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.001973/3.8, allocations: 396.1 kB / 1.575 GB, free: 98.53 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/3.8, allocations: 59.36 kB / 1.575 GB, free: 98.46 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004303/3.8, allocations: 344.1 kB / 1.575 GB, free: 98.11 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.934e-05/3.801, allocations: 29.7 kB / 1.575 GB, free: 98.08 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001874/3.801, allocations: 337.6 kB / 1.576 GB, free: 97.74 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.608e-05/3.801, allocations: 71.09 kB / 1.576 GB, free: 97.67 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/3.801, allocations: 12 kB / 1.576 GB, free: 97.66 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.068e-05/3.801, allocations: 338.8 kB / 1.576 GB, free: 97.32 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002554/3.801, allocations: 109.9 kB / 1.576 GB, free: 97.21 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004599/3.802, allocations: 0.5345 MB / 1.577 GB, free: 96.47 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000441/3.802, allocations: 211.8 kB / 1.577 GB, free: 96.26 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/3.802, allocations: 7.984 kB / 1.577 GB, free: 96.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001517/3.804, allocations: 0.6304 MB / 1.577 GB, free: 95.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.122e-05/3.804, allocations: 12.25 kB / 1.577 GB, free: 95.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/3.804, allocations: 16 kB / 1.577 GB, free: 95.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.801e-05/3.804, allocations: 27.94 kB / 1.577 GB, free: 95.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008652/3.805, allocations: 171.7 kB / 1.578 GB, free: 95.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003613/3.805, allocations: 0.6209 MB / 1.578 GB, free: 94.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006729/3.806, allocations: 99.14 kB / 1.578 GB, free: 94.65 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.212e-05/3.806, allocations: 52 kB / 1.578 GB, free: 94.6 MB / 442.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.0002923/3.806, allocations: 202.8 kB / 1.579 GB, free: 94.39 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/3.806, allocations: 27.72 kB / 1.579 GB, free: 94.37 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007346/3.807, allocations: 250.1 kB / 1.579 GB, free: 94.11 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/3.807, allocations: 4 kB / 1.579 GB, free: 94.1 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/3.807, allocations: 0 / 1.579 GB, free: 94.1 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/3.807, allocations: 0 / 1.579 GB, free: 94.1 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/3.808, allocations: 0.5694 MB / 1.579 GB, free: 93.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.269e-06/3.808, allocations: 4 kB / 1.579 GB, free: 93.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002581/3.808, allocations: 39.92 kB / 1.579 GB, free: 93.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.884e-06/3.809, allocations: 4 kB / 1.579 GB, free: 93.41 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/3.809, allocations: 8 kB / 1.579 GB, free: 93.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002562/3.809, allocations: 0.5979 MB / 1.58 GB, free: 92.78 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/3.809, allocations: 0 / 1.58 GB, free: 92.78 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000374/3.809, allocations: 276.2 kB / 1.58 GB, free: 92.48 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001684/3.809, allocations: 116.8 kB / 1.58 GB, free: 92.34 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.803e-05/3.809, allocations: 7.984 kB / 1.58 GB, free: 92.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004309/3.81, allocations: 15.98 kB / 1.58 GB, free: 92.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/3.81, allocations: 11.94 kB / 1.58 GB, free: 92.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.999e-05/3.81, allocations: 20 kB / 1.58 GB, free: 92.29 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002848/3.81, allocations: 215 kB / 1.581 GB, free: 92.08 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.21e-07/3.81, allocations: 0 / 1.581 GB, free: 92.08 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002281/3.813, allocations: 443.4 kB / 1.581 GB, free: 91.65 MB / 442.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.003626/3.816, allocations: 1.054 MB / 1.582 GB, free: 90.61 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009889/3.817, allocations: 317.5 kB / 1.582 GB, free: 90.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/3.817, allocations: 1.938 kB / 1.582 GB, free: 90.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002051/3.818, allocations: 59.84 kB / 1.582 GB, free: 90.24 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/3.819, allocations: 64.69 kB / 1.583 GB, free: 90.18 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1585/3.977, allocations: 46.62 MB / 1.628 GB, free: 42.75 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/3.978, allocations: 0.8078 MB / 1.629 GB, free: 41.92 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0009733/3.979, allocations: 151 kB / 1.629 GB, free: 41.77 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/3.979, allocations: 35.44 kB / 1.629 GB, free: 41.73 MB / 442.7 MB Notification: Performance of SimCode: time 1.212e-06/3.979, allocations: 0 / 1.629 GB, free: 41.73 MB / 442.7 MB Notification: Performance of Templates: time 0.03835/4.017, allocations: 17.83 MB / 1.646 GB, free: 23.89 MB / 442.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