Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.CO2.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.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.1_ModelicaTest.Media.TestAllProperties.CO2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002682/0.002682, allocations: 348.5 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.665/3.665, allocations: 341.5 MB / 358.2 MB, free: 12.62 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.003582/0.003581, allocations: 225.5 kB / 397.9 MB, free: 4.977 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.4746/0.4746, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004926/0.0004928, allocations: 16 kB / 0.5592 GB, free: 53.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08743/0.08795, allocations: 48.69 MB / 0.6067 GB, free: 4.672 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.562/1.65, allocations: 486 MB / 1.081 GB, free: 21.39 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/1.65, allocations: 81.59 kB / 1.081 GB, free: 21.35 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.5623/2.212, allocations: 57.91 MB / 1.138 GB, free: 145.4 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.044e-06/2.212, allocations: 0 / 1.138 GB, free: 145.4 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.622e-05/2.212, allocations: 8.516 kB / 1.138 GB, free: 145.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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.00218/2.215, allocations: 0.6997 MB / 1.139 GB, free: 144.8 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/2.215, allocations: 9.875 kB / 1.139 GB, free: 144.8 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01234/2.227, allocations: 0.5903 MB / 1.139 GB, free: 144.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005862/2.228, allocations: 255.9 kB / 1.139 GB, free: 144.3 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002039/2.228, allocations: 130.6 kB / 1.14 GB, free: 144.1 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/2.228, allocations: 24.22 kB / 1.14 GB, free: 144.1 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001867/2.23, allocations: 0.5724 MB / 1.14 GB, free: 143.7 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/2.23, allocations: 0 / 1.14 GB, free: 143.7 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/2.23, allocations: 6.781 kB / 1.14 GB, free: 143.7 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.379e-05/2.23, allocations: 7.438 kB / 1.14 GB, free: 143.7 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002289/2.232, allocations: 0.6065 MB / 1.141 GB, free: 143.4 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.002711/2.235, allocations: 1.64 MB / 1.142 GB, free: 141.9 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004975/2.236, allocations: 161.6 kB / 1.143 GB, free: 141.8 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002281/2.236, allocations: 72.91 kB / 1.143 GB, free: 141.8 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00246/2.238, allocations: 2.083 MB / 1.145 GB, free: 139.6 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/2.238, allocations: 39.19 kB / 1.145 GB, free: 139.6 MB / 442.7 MB Notification: Performance of pre-optimization done (n=20): time 2.475e-06/2.238, allocations: 0 / 1.145 GB, free: 139.6 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=20): time 0.00144/2.24, allocations: 336.4 kB / 1.145 GB, free: 139.4 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/2.24, allocations: 58.69 kB / 1.145 GB, free: 139.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/2.24, allocations: 178.1 kB / 1.145 GB, free: 139.2 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.716e-05/2.24, allocations: 29.52 kB / 1.145 GB, free: 139.2 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.799e-05/2.24, allocations: 183.5 kB / 1.145 GB, free: 139 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.46e-05/2.24, allocations: 70.98 kB / 1.146 GB, free: 139 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.967e-05/2.24, allocations: 6.125 kB / 1.146 GB, free: 139 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.16e-05/2.24, allocations: 329.7 kB / 1.146 GB, free: 138.6 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/2.241, allocations: 57.53 kB / 1.146 GB, free: 138.6 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002975/2.241, allocations: 267 kB / 1.146 GB, free: 138.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002806/2.241, allocations: 103.4 kB / 1.146 GB, free: 138.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/2.241, allocations: 0 / 1.146 GB, free: 138.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008598/2.242, allocations: 369.4 kB / 1.147 GB, free: 138.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/2.242, allocations: 6.219 kB / 1.147 GB, free: 138.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/2.242, allocations: 8.062 kB / 1.147 GB, free: 138.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.63e-05/2.242, allocations: 9.875 kB / 1.147 GB, free: 138.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006902/2.243, allocations: 129.9 kB / 1.147 GB, free: 138 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003346/2.243, allocations: 0.5984 MB / 1.147 GB, free: 137.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004162/2.244, allocations: 46.44 kB / 1.147 GB, free: 137.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.079e-05/2.244, allocations: 47.89 kB / 1.147 GB, free: 137.4 MB / 442.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.0001886/2.244, allocations: 143.1 kB / 1.148 GB, free: 137.3 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.256e-05/2.244, allocations: 21.86 kB / 1.148 GB, free: 137.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001195/2.245, allocations: 326.5 kB / 1.148 GB, free: 137 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/2.245, allocations: 3.984 kB / 1.148 GB, free: 137 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/2.245, allocations: 3.344 kB / 1.148 GB, free: 137 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/2.245, allocations: 4 kB / 1.148 GB, free: 137 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009466/2.246, allocations: 0.5415 MB / 1.148 GB, free: 136.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/2.246, allocations: 0 / 1.148 GB, free: 136.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003823/2.247, allocations: 56.03 kB / 1.148 GB, free: 136.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/2.247, allocations: 3.375 kB / 1.148 GB, free: 136.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.961e-05/2.247, allocations: 18.02 kB / 1.149 GB, free: 136.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002861/2.247, allocations: 0.597 MB / 1.149 GB, free: 135.9 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/2.247, allocations: 2 kB / 1.149 GB, free: 135.9 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004693/2.248, allocations: 287 kB / 1.149 GB, free: 135.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/2.248, allocations: 120.2 kB / 1.149 GB, free: 135.6 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.287e-05/2.248, allocations: 9.047 kB / 1.149 GB, free: 135.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003942/2.248, allocations: 14.48 kB / 1.15 GB, free: 135.6 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/2.248, allocations: 21.38 kB / 1.15 GB, free: 135.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.268e-05/2.248, allocations: 23.92 kB / 1.15 GB, free: 135.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001296/2.249, allocations: 128.3 kB / 1.15 GB, free: 135.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.31e-07/2.249, allocations: 0 / 1.15 GB, free: 135.4 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00141/2.25, allocations: 258.4 kB / 1.15 GB, free: 135.4 MB / 442.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.001763/2.252, allocations: 0.7476 MB / 1.151 GB, free: 135 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008071/2.253, allocations: 229.5 kB / 1.151 GB, free: 134.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/2.253, allocations: 0 / 1.151 GB, free: 134.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003152/2.253, allocations: 88.02 kB / 1.151 GB, free: 134.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007937/2.254, allocations: 64.27 kB / 1.151 GB, free: 134.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0639/2.318, allocations: 20.32 MB / 1.171 GB, free: 117.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000196/2.318, allocations: 0.7248 MB / 1.172 GB, free: 116.4 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0009884/2.319, allocations: 106.1 kB / 1.172 GB, free: 116.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002244/2.319, allocations: 47.41 kB / 1.172 GB, free: 116.3 MB / 442.7 MB Notification: Performance of SimCode: time 1.152e-06/2.319, allocations: 0 / 1.172 GB, free: 116.3 MB / 442.7 MB Notification: Performance of Templates: time 0.02813/2.347, allocations: 12.28 MB / 1.184 GB, free: 104 MB / 442.7 MB