Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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.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.2_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002823/0.002827, allocations: 360 kB / 15.95 MB, free: 6.203 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.232/4.232, allocations: 388.9 MB / 405.6 MB, free: 9.629 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.003611/0.003611, allocations: 226.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.5212/0.5212, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004958/0.000496, allocations: 19.98 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1119, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.228/2.34, allocations: 0.6424 GB / 1.322 GB, free: 134.1 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/2.34, allocations: 88.89 kB / 1.323 GB, free: 134.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3283/2.668, allocations: 109.2 MB / 1.429 GB, free: 41.21 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.535e-06/2.668, allocations: 0 / 1.429 GB, free: 41.21 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.49e-05/2.668, allocations: 4 kB / 1.429 GB, free: 41.21 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003953/2.672, allocations: 1.053 MB / 1.43 GB, free: 40.11 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/2.672, allocations: 8.031 kB / 1.43 GB, free: 40.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008284/2.673, allocations: 75.66 kB / 1.43 GB, free: 40.02 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004121/2.674, allocations: 258.7 kB / 1.431 GB, free: 39.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/2.674, allocations: 20.5 kB / 1.431 GB, free: 39.71 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.414e-05/2.674, allocations: 28 kB / 1.431 GB, free: 39.68 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/2.675, allocations: 477.5 kB / 1.431 GB, free: 39.19 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/2.675, allocations: 0 / 1.431 GB, free: 39.19 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.288e-05/2.675, allocations: 12 kB / 1.431 GB, free: 39.18 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/2.675, allocations: 11.95 kB / 1.431 GB, free: 39.16 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/2.677, allocations: 0.6812 MB / 1.432 GB, free: 38.48 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.01231/2.689, allocations: 4.126 MB / 1.436 GB, free: 34.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008367/2.69, allocations: 211.3 kB / 1.436 GB, free: 33.94 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002012/2.69, allocations: 77.33 kB / 1.436 GB, free: 33.86 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5175/3.208, allocations: 42.49 MB / 1.478 GB, free: 131.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007437/3.208, allocations: 234.3 kB / 1.478 GB, free: 131.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=20): time 3.476e-06/3.209, allocations: 0 / 1.478 GB, free: 131.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=22): time 0.003782/3.212, allocations: 0.7405 MB / 1.478 GB, free: 131.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.802e-05/3.212, allocations: 268.8 kB / 1.479 GB, free: 131.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/3.213, allocations: 198.9 kB / 1.479 GB, free: 131.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/3.213, allocations: 32.17 kB / 1.479 GB, free: 131.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/3.213, allocations: 218.4 kB / 1.479 GB, free: 131 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.793e-05/3.213, allocations: 80.67 kB / 1.479 GB, free: 131 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.25e-05/3.213, allocations: 9.375 kB / 1.479 GB, free: 131 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.576e-05/3.213, allocations: 329.6 kB / 1.48 GB, free: 130.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/3.213, allocations: 62.56 kB / 1.48 GB, free: 130.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003451/3.214, allocations: 344.7 kB / 1.48 GB, free: 130.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003078/3.214, allocations: 111.5 kB / 1.48 GB, free: 130.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-06/3.214, allocations: 6.969 kB / 1.48 GB, free: 130.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001205/3.215, allocations: 444.6 kB / 1.48 GB, free: 130.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.331e-05/3.215, allocations: 9.25 kB / 1.48 GB, free: 130.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.087e-05/3.215, allocations: 13.12 kB / 1.48 GB, free: 130.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003073/3.218, allocations: 303.6 kB / 1.481 GB, free: 130.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006021/3.219, allocations: 102.1 kB / 1.481 GB, free: 130.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006819/3.22, allocations: 1.215 MB / 1.482 GB, free: 129.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000468/3.22, allocations: 27.5 kB / 1.482 GB, free: 129.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.069e-05/3.22, allocations: 30.73 kB / 1.482 GB, free: 129.1 MB / 490.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.0002319/3.221, allocations: 159 kB / 1.482 GB, free: 128.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.002e-05/3.221, allocations: 22.25 kB / 1.482 GB, free: 128.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001757/3.222, allocations: 0.7988 MB / 1.483 GB, free: 128.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.831e-05/3.222, allocations: 6.609 kB / 1.483 GB, free: 128.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/3.222, allocations: 3.156 kB / 1.483 GB, free: 128.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/3.222, allocations: 7.406 kB / 1.483 GB, free: 128.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008932/3.223, allocations: 0.4975 MB / 1.484 GB, free: 128.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.427e-06/3.223, allocations: 3.906 kB / 1.484 GB, free: 128.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002351/3.224, allocations: 33.55 kB / 1.484 GB, free: 128.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001927/3.226, allocations: 242.1 kB / 1.484 GB, free: 128.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.768e-05/3.226, allocations: 5.812 kB / 1.484 GB, free: 128.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007392/3.226, allocations: 1.268 MB / 1.485 GB, free: 127.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/3.226, allocations: 1.25 kB / 1.485 GB, free: 127.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009156/3.227, allocations: 465 kB / 1.486 GB, free: 127.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003311/3.228, allocations: 217.1 kB / 1.486 GB, free: 127.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/3.228, allocations: 7.609 kB / 1.486 GB, free: 127.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003853/3.228, allocations: 12.03 kB / 1.486 GB, free: 127.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.899e-05/3.228, allocations: 22.91 kB / 1.486 GB, free: 127.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.544e-05/3.228, allocations: 16.36 kB / 1.486 GB, free: 127.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005271/3.229, allocations: 297.4 kB / 1.486 GB, free: 127 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.41e-07/3.229, allocations: 0 / 1.486 GB, free: 127 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002537/3.231, allocations: 414 kB / 1.486 GB, free: 127 MB / 490.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.003443/3.235, allocations: 0.708 MB / 1.487 GB, free: 126.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001081/3.236, allocations: 320.1 kB / 1.487 GB, free: 126.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/3.236, allocations: 3.031 kB / 1.487 GB, free: 126.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004024/3.237, allocations: 182.5 kB / 1.488 GB, free: 126.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009943/3.238, allocations: 77.89 kB / 1.488 GB, free: 126.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 4.972/8.209, allocations: 1.188 GB / 2.675 GB, free: 65.11 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/8.21, allocations: 0.8345 MB / 2.676 GB, free: 64.25 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005451/8.21, allocations: 125 kB / 2.676 GB, free: 64.14 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.604e-05/8.21, allocations: 35.42 kB / 2.676 GB, free: 64.12 MB / 490.7 MB Notification: Performance of SimCode: time 1.143e-06/8.21, allocations: 0 / 2.676 GB, free: 64.12 MB / 490.7 MB Notification: Performance of Templates: time 0.02933/8.24, allocations: 12.78 MB / 2.689 GB, free: 51.55 MB / 490.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