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: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01018/0.01018, allocations: 165.1 kB / 15.11 MB, free: 5.934 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 1.882/1.882, allocations: 170.8 MB / 186.6 MB, free: 1.129 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002025/0.002025, allocations: 122.4 kB / 226.2 MB, free: 10.09 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.4672/0.4672, allocations: 38.06 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004869/0.0004866, allocations: 8 kB / 363 MB, free: 5.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.112, allocations: 48.7 MB / 411.7 MB, free: 4.734 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.519/1.631, allocations: 486 MB / 0.8767 GB, free: 21.59 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/1.631, allocations: 74.83 kB / 0.8767 GB, free: 21.55 MB / 426.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.5603/2.191, allocations: 57.97 MB / 0.9333 GB, free: 121.4 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.354e-06/2.191, allocations: 0 / 0.9333 GB, free: 121.4 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.613e-05/2.191, allocations: 2.594 kB / 0.9333 GB, free: 121.4 MB / 426.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.002249/2.194, allocations: 0.7137 MB / 0.934 GB, free: 120.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/2.194, allocations: 8.594 kB / 0.934 GB, free: 120.9 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001217/2.194, allocations: 58.77 kB / 0.9341 GB, free: 120.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01252/2.206, allocations: 0.5942 MB / 0.9347 GB, free: 120.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005942/2.207, allocations: 253.3 kB / 0.9349 GB, free: 120.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001698/2.207, allocations: 124.6 kB / 0.935 GB, free: 120.6 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001572/2.207, allocations: 28.89 kB / 0.9351 GB, free: 120.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00195/2.209, allocations: 0.5642 MB / 0.9356 GB, free: 120.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/2.209, allocations: 5.438 kB / 0.9356 GB, free: 120.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/2.21, allocations: 12.16 kB / 0.9356 GB, free: 120.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.746e-05/2.21, allocations: 5.656 kB / 0.9356 GB, free: 120.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002396/2.212, allocations: 0.6059 MB / 0.9362 GB, free: 120.2 MB / 426.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.002913/2.215, allocations: 1.633 MB / 0.9378 GB, free: 118.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005523/2.216, allocations: 164.2 kB / 0.938 GB, free: 118.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001505/2.217, allocations: 1.206 MB / 0.9392 GB, free: 117.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/2.217, allocations: 36.78 kB / 0.9392 GB, free: 117.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 3.206e-06/2.217, allocations: 0 / 0.9392 GB, free: 117.5 MB / 426.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.001606/2.219, allocations: 346.3 kB / 0.9395 GB, free: 117.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/2.219, allocations: 53.91 kB / 0.9396 GB, free: 117.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/2.219, allocations: 159.3 kB / 0.9397 GB, free: 117.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.315e-05/2.219, allocations: 31.05 kB / 0.9398 GB, free: 117.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.131e-05/2.219, allocations: 177.1 kB / 0.9399 GB, free: 117 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.836e-05/2.219, allocations: 67.95 kB / 0.94 GB, free: 116.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/2.219, allocations: 14.78 kB / 0.94 GB, free: 116.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.036e-05/2.219, allocations: 321.7 kB / 0.9403 GB, free: 116.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002173/2.22, allocations: 69.3 kB / 0.9404 GB, free: 116.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003031/2.22, allocations: 259.3 kB / 0.9406 GB, free: 116.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003084/2.22, allocations: 100.2 kB / 0.9407 GB, free: 116.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/2.22, allocations: 2.406 kB / 0.9407 GB, free: 116.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009497/2.221, allocations: 365.7 kB / 0.9411 GB, free: 116.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/2.221, allocations: 11.17 kB / 0.9411 GB, free: 116.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/2.221, allocations: 7.25 kB / 0.9411 GB, free: 116.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.732e-05/2.221, allocations: 10.19 kB / 0.9411 GB, free: 116.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000711/2.222, allocations: 124.7 kB / 0.9412 GB, free: 116.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003917/2.223, allocations: 0.607 MB / 0.9418 GB, free: 115.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004251/2.223, allocations: 42.44 kB / 0.9418 GB, free: 115.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.088e-05/2.223, allocations: 41.81 kB / 0.9419 GB, free: 115.5 MB / 426.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.0002042/2.223, allocations: 147.1 kB / 0.942 GB, free: 115.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.794e-05/2.223, allocations: 18.19 kB / 0.942 GB, free: 115.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001284/2.225, allocations: 332 kB / 0.9424 GB, free: 115.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/2.225, allocations: 1.25 kB / 0.9424 GB, free: 115.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/2.225, allocations: 5.094 kB / 0.9424 GB, free: 115.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/2.225, allocations: 3.516 kB / 0.9424 GB, free: 115.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/2.226, allocations: 0.5297 MB / 0.9429 GB, free: 114.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/2.226, allocations: 1.219 kB / 0.9429 GB, free: 114.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004125/2.226, allocations: 64.11 kB / 0.943 GB, free: 114.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.776e-06/2.226, allocations: 2.562 kB / 0.943 GB, free: 114.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.366e-05/2.226, allocations: 13.7 kB / 0.943 GB, free: 114.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003279/2.227, allocations: 0.5963 MB / 0.9435 GB, free: 114.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/2.227, allocations: 6.344 kB / 0.9436 GB, free: 114.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005904/2.227, allocations: 342.5 kB / 0.9439 GB, free: 113.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00017/2.227, allocations: 121.5 kB / 0.944 GB, free: 113.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-05/2.228, allocations: 1.812 kB / 0.944 GB, free: 113.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004022/2.228, allocations: 15.16 kB / 0.944 GB, free: 113.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.977e-05/2.228, allocations: 28.62 kB / 0.944 GB, free: 113.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.903e-05/2.228, allocations: 24.31 kB / 0.9441 GB, free: 113.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000161/2.228, allocations: 128.4 kB / 0.9442 GB, free: 113.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.01e-07/2.228, allocations: 0 / 0.9442 GB, free: 113.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00156/2.23, allocations: 255.3 kB / 0.9444 GB, free: 113.5 MB / 426.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.002932/2.233, allocations: 1.872 MB / 0.9463 GB, free: 112.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008751/2.234, allocations: 224.6 kB / 0.9465 GB, free: 112.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/2.234, allocations: 0 / 0.9465 GB, free: 112.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000306/2.234, allocations: 77.47 kB / 0.9465 GB, free: 112.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000697/2.235, allocations: 60.88 kB / 0.9466 GB, free: 112.1 MB / 426.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 simCode: created linear, non-linear and system jacobian parts: time 0.1361/2.371, allocations: 36.66 MB / 0.9824 GB, free: 86.46 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002048/2.371, allocations: 0.7287 MB / 0.9831 GB, free: 85.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009928/2.372, allocations: 106.1 kB / 0.9832 GB, free: 85.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002738/2.372, allocations: 71.41 kB / 0.9833 GB, free: 85.53 MB / 426.7 MB Notification: Performance of SimCode: time 9.92e-07/2.372, allocations: 0 / 0.9833 GB, free: 85.53 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05965/2.432, allocations: 15.78 MB / 0.9987 GB, free: 69.82 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000163/2.432, allocations: 232 kB / 0.9989 GB, free: 69.59 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.249/5.681, allocations: 0 / 0.9989 GB, free: 69.59 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.CO2_res.mat does not exist to compare? outputFormat=mat