Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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.IncompleteMedia.ReferenceAir_dT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002692/0.002696, allocations: 347.8 kB / 15.94 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.838/3.838, 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.003615/0.003614, allocations: 230.1 kB / 397.9 MB, free: 4.891 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.489/0.489, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006495/0.0006498, allocations: 16 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1035, allocations: 48.7 MB / 0.6067 GB, free: 4.648 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.213/2.316, allocations: 0.636 GB / 1.243 GB, free: 28.89 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003071/2.317, allocations: 83.45 kB / 1.243 GB, free: 28.84 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6151/2.932, allocations: 109.1 MB / 1.349 GB, free: 110.4 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.974e-06/2.932, allocations: 0 / 1.349 GB, free: 110.4 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.473e-05/2.932, allocations: 4 kB / 1.349 GB, free: 110.4 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.004125/2.936, allocations: 1.055 MB / 1.35 GB, free: 109.3 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/2.936, allocations: 8.031 kB / 1.35 GB, free: 109.3 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008433/2.937, allocations: 75.66 kB / 1.351 GB, free: 109.2 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003563/2.937, allocations: 254.6 kB / 1.351 GB, free: 108.9 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.819e-05/2.937, allocations: 20.56 kB / 1.351 GB, free: 108.9 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.407e-05/2.937, allocations: 29.78 kB / 1.351 GB, free: 108.9 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/2.939, allocations: 477.5 kB / 1.351 GB, free: 108.4 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/2.939, allocations: 3.188 kB / 1.351 GB, free: 108.4 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.288e-05/2.939, allocations: 12 kB / 1.351 GB, free: 108.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/2.939, allocations: 12 kB / 1.351 GB, free: 108.3 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/2.94, allocations: 0.6773 MB / 1.352 GB, free: 107.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.01239/2.953, allocations: 4.125 MB / 1.356 GB, free: 103.3 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008656/2.953, allocations: 211.3 kB / 1.356 GB, free: 103.1 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/2.954, allocations: 85.31 kB / 1.356 GB, free: 103 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1371/3.091, allocations: 42.49 MB / 1.398 GB, free: 56.69 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000751/3.092, allocations: 238.9 kB / 1.398 GB, free: 56.42 MB / 442.7 MB Notification: Performance of pre-optimization done (n=20): time 3.537e-06/3.092, allocations: 0 / 1.398 GB, free: 56.42 MB / 442.7 MB Notification: Performance of matching and sorting (n=22): time 0.004237/3.096, allocations: 0.7392 MB / 1.399 GB, free: 55.67 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/3.096, allocations: 271.1 kB / 1.399 GB, free: 55.35 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003848/3.096, allocations: 196.5 kB / 1.399 GB, free: 55.14 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.394e-05/3.097, allocations: 29.7 kB / 1.399 GB, free: 55.11 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/3.097, allocations: 207.2 kB / 1.399 GB, free: 54.9 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/3.097, allocations: 83.05 kB / 1.399 GB, free: 54.82 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.072e-05/3.097, allocations: 12 kB / 1.399 GB, free: 54.81 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/3.097, allocations: 330.8 kB / 1.4 GB, free: 54.48 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002571/3.097, allocations: 65.08 kB / 1.4 GB, free: 54.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005201/3.098, allocations: 343.3 kB / 1.4 GB, free: 53.95 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004147/3.098, allocations: 115.8 kB / 1.4 GB, free: 53.83 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.436e-05/3.098, allocations: 4 kB / 1.4 GB, free: 53.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002093/3.101, allocations: 441.5 kB / 1.401 GB, free: 53.39 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.22e-05/3.101, allocations: 12 kB / 1.401 GB, free: 53.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.774e-05/3.101, allocations: 10.44 kB / 1.401 GB, free: 53.37 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005153/3.106, allocations: 299.1 kB / 1.401 GB, free: 53.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/3.107, allocations: 103.8 kB / 1.401 GB, free: 52.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009366/3.108, allocations: 1.223 MB / 1.402 GB, free: 51.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007184/3.109, allocations: 19.91 kB / 1.402 GB, free: 51.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.273e-05/3.109, allocations: 35.98 kB / 1.402 GB, free: 51.65 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002929/3.109, allocations: 155.7 kB / 1.403 GB, free: 51.49 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.982e-05/3.109, allocations: 27.77 kB / 1.403 GB, free: 51.46 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001385/3.111, allocations: 0.7915 MB / 1.403 GB, free: 50.66 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/3.111, allocations: 8 kB / 1.403 GB, free: 50.65 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/3.111, allocations: 5.125 kB / 1.403 GB, free: 50.65 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.026e-06/3.111, allocations: 7.938 kB / 1.403 GB, free: 50.64 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005874/3.111, allocations: 0.5037 MB / 1.404 GB, free: 50.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/3.111, allocations: 0 / 1.404 GB, free: 50.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002101/3.111, allocations: 31.92 kB / 1.404 GB, free: 50.06 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001738/3.113, allocations: 246.4 kB / 1.404 GB, free: 49.82 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/3.113, allocations: 4 kB / 1.404 GB, free: 49.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005893/3.114, allocations: 1.272 MB / 1.405 GB, free: 48.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/3.114, allocations: 7.938 kB / 1.405 GB, free: 48.49 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006335/3.115, allocations: 453.2 kB / 1.406 GB, free: 48 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001929/3.115, allocations: 216.1 kB / 1.406 GB, free: 47.77 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.068e-05/3.115, allocations: 12 kB / 1.406 GB, free: 47.76 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003386/3.115, allocations: 15.98 kB / 1.406 GB, free: 47.75 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/3.115, allocations: 19.94 kB / 1.406 GB, free: 47.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-05/3.115, allocations: 8 kB / 1.406 GB, free: 47.72 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003924/3.116, allocations: 294.9 kB / 1.406 GB, free: 47.43 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.91e-07/3.116, allocations: 0 / 1.406 GB, free: 47.43 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001973/3.118, allocations: 419.5 kB / 1.407 GB, free: 47.02 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002346/3.12, allocations: 0.7062 MB / 1.407 GB, free: 46.31 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007395/3.121, allocations: 319.2 kB / 1.408 GB, free: 45.99 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/3.121, allocations: 4.562 kB / 1.408 GB, free: 45.99 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003111/3.121, allocations: 185.5 kB / 1.408 GB, free: 45.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008544/3.122, allocations: 82.94 kB / 1.408 GB, free: 45.72 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 5.109/8.231, allocations: 1.188 GB / 2.596 GB, free: 106.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/8.231, allocations: 0.8312 MB / 2.596 GB, free: 105.4 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005491/8.232, allocations: 119.9 kB / 2.597 GB, free: 105.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.847e-05/8.232, allocations: 28.91 kB / 2.597 GB, free: 105.3 MB / 442.7 MB Notification: Performance of SimCode: time 1.223e-06/8.232, allocations: 4 kB / 2.597 GB, free: 105.3 MB / 442.7 MB Notification: Performance of Templates: time 0.03451/8.267, allocations: 12.78 MB / 2.609 GB, free: 104.2 MB / 442.7 MB "" Variables in the reference:time,eps_h_is,eps,eta,lambda,Pr,p,T,d,h,u,s,g,f,cp,cp2,cv,cv2,h_is,a,beta,beta2,kappa,kappa2,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,eps,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.d,state.h,state.p,time,u