Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.CO2.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.CO2,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.2_ModelicaTest.Media.TestAllProperties.CO2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004524/0.004523, allocations: 362.5 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.179/4.179, allocations: 388.9 MB / 405.6 MB, free: 10.32 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.003669/0.003668, allocations: 220.5 kB / 451 MB, free: 145.1 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.5831/0.5831, allocations: 80.02 MB / 0.5627 GB, free: 19.86 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007602/0.0007607, allocations: 8 kB / 0.6265 GB, free: 96.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.106, allocations: 54.86 MB / 0.6801 GB, free: 41.69 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.806/1.912, allocations: 492.8 MB / 1.161 GB, free: 117.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/1.912, allocations: 81.77 kB / 1.161 GB, free: 117.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2191/2.131, allocations: 57.28 MB / 1.217 GB, free: 67.97 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.836e-06/2.131, allocations: 0 / 1.217 GB, free: 67.97 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.406e-05/2.131, allocations: 7.984 kB / 1.217 GB, free: 67.96 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001993/2.133, allocations: 0.6982 MB / 1.218 GB, free: 67.21 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/2.134, allocations: 8.031 kB / 1.218 GB, free: 67.21 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01266/2.146, allocations: 0.5971 MB / 1.219 GB, free: 66.61 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005826/2.147, allocations: 258.8 kB / 1.219 GB, free: 66.32 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001745/2.147, allocations: 131.4 kB / 1.219 GB, free: 66.16 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/2.147, allocations: 19.94 kB / 1.219 GB, free: 66.14 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001899/2.149, allocations: 0.5633 MB / 1.22 GB, free: 65.55 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/2.149, allocations: 7.953 kB / 1.22 GB, free: 65.54 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/2.149, allocations: 12 kB / 1.22 GB, free: 65.53 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.575e-05/2.149, allocations: 8 kB / 1.22 GB, free: 65.52 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002287/2.152, allocations: 0.6065 MB / 1.22 GB, free: 64.91 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.002686/2.154, allocations: 1.63 MB / 1.222 GB, free: 63.15 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004999/2.155, allocations: 152.9 kB / 1.222 GB, free: 63 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000227/2.155, allocations: 84.81 kB / 1.222 GB, free: 62.91 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002452/2.158, allocations: 2.071 MB / 1.224 GB, free: 60.48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/2.158, allocations: 42.56 kB / 1.224 GB, free: 60.43 MB / 490.7 MB Notification: Performance of pre-optimization done (n=20): time 2.886e-06/2.158, allocations: 0 / 1.224 GB, free: 60.43 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=20): time 0.001451/2.159, allocations: 338.9 kB / 1.224 GB, free: 60.09 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/2.159, allocations: 63.36 kB / 1.224 GB, free: 60.02 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/2.159, allocations: 188.2 kB / 1.225 GB, free: 59.82 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.187e-05/2.159, allocations: 29.7 kB / 1.225 GB, free: 59.79 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.667e-05/2.16, allocations: 179.2 kB / 1.225 GB, free: 59.61 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.446e-05/2.16, allocations: 74.98 kB / 1.225 GB, free: 59.53 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.6e-05/2.16, allocations: 8 kB / 1.225 GB, free: 59.52 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.257e-05/2.16, allocations: 326.8 kB / 1.225 GB, free: 59.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/2.16, allocations: 64.7 kB / 1.225 GB, free: 59.13 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002988/2.16, allocations: 263 kB / 1.226 GB, free: 58.78 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002798/2.161, allocations: 101.3 kB / 1.226 GB, free: 58.68 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/2.161, allocations: 0 / 1.226 GB, free: 58.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008482/2.161, allocations: 365.5 kB / 1.226 GB, free: 58.32 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/2.161, allocations: 12.03 kB / 1.226 GB, free: 58.31 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/2.161, allocations: 11.98 kB / 1.226 GB, free: 58.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.976e-05/2.162, allocations: 15.94 kB / 1.226 GB, free: 58.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006786/2.162, allocations: 119.8 kB / 1.226 GB, free: 58.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003441/2.163, allocations: 0.6055 MB / 1.227 GB, free: 57.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003923/2.163, allocations: 35.59 kB / 1.227 GB, free: 57.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-05/2.163, allocations: 48.08 kB / 1.227 GB, free: 57.45 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (46): * Single equations (assignments): 45 * 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.0001919/2.163, allocations: 149.6 kB / 1.227 GB, free: 57.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.177e-05/2.163, allocations: 23.77 kB / 1.227 GB, free: 57.27 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001195/2.165, allocations: 318.6 kB / 1.227 GB, free: 56.94 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/2.165, allocations: 0 / 1.227 GB, free: 56.94 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/2.165, allocations: 0 / 1.227 GB, free: 56.94 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/2.165, allocations: 8 kB / 1.227 GB, free: 56.93 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009577/2.166, allocations: 0.5426 MB / 1.228 GB, free: 56.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/2.166, allocations: 4 kB / 1.228 GB, free: 56.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003897/2.166, allocations: 59.95 kB / 1.228 GB, free: 56.26 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/2.166, allocations: 4 kB / 1.228 GB, free: 56.25 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/2.166, allocations: 4.156 kB / 1.228 GB, free: 56.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002874/2.166, allocations: 0.6015 MB / 1.228 GB, free: 55.62 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/2.166, allocations: 7.984 kB / 1.229 GB, free: 55.62 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004879/2.167, allocations: 287.6 kB / 1.229 GB, free: 55.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001557/2.167, allocations: 116.8 kB / 1.229 GB, free: 55.17 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.132e-05/2.167, allocations: 4 kB / 1.229 GB, free: 55.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004429/2.168, allocations: 11.98 kB / 1.229 GB, free: 55.16 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/2.168, allocations: 23.88 kB / 1.229 GB, free: 55.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.202e-05/2.168, allocations: 27.98 kB / 1.229 GB, free: 55.11 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001385/2.168, allocations: 136.4 kB / 1.229 GB, free: 54.97 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.71e-07/2.168, allocations: 0 / 1.229 GB, free: 54.97 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001258/2.169, allocations: 255.7 kB / 1.229 GB, free: 54.72 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 15 * 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.001779/2.171, allocations: 0.7519 MB / 1.23 GB, free: 53.98 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0008775/2.172, allocations: 224.4 kB / 1.23 GB, free: 53.77 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/2.172, allocations: 0 / 1.23 GB, free: 53.77 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000322/2.172, allocations: 95.81 kB / 1.23 GB, free: 53.67 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008029/2.173, allocations: 57.45 kB / 1.23 GB, free: 53.62 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0627/2.236, allocations: 20.31 MB / 1.25 GB, free: 33.15 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/2.236, allocations: 0.7326 MB / 1.251 GB, free: 32.39 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001013/2.237, allocations: 106.1 kB / 1.251 GB, free: 32.29 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002267/2.237, allocations: 39.42 kB / 1.251 GB, free: 32.25 MB / 490.7 MB Notification: Performance of SimCode: time 2.846e-06/2.237, allocations: 0 / 1.251 GB, free: 32.25 MB / 490.7 MB Notification: Performance of Templates: time 0.02705/2.264, allocations: 12.29 MB / 1.263 GB, free: 19.98 MB / 490.7 MB