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: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.01006/0.01006, allocations: 174.9 kB / 15.12 MB, free: 5.934 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 2.143/2.143, allocations: 194.5 MB / 210.3 MB, free: 7.617 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002107/0.002106, allocations: 116.6 kB / 255.6 MB, free: 10.24 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2889/0.2889, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005266/0.0005267, allocations: 10.34 kB / 406.3 MB, free: 51.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1069, allocations: 54.87 MB / 461.1 MB, free: 3.188 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.691/1.798, allocations: 492.8 MB / 0.9316 GB, free: 129.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/1.798, allocations: 75.56 kB / 0.9317 GB, free: 129.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2192/2.018, allocations: 57.36 MB / 0.9877 GB, free: 103.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.713e-06/2.018, allocations: 4 kB / 0.9877 GB, free: 103.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.334e-05/2.018, allocations: 0 / 0.9877 GB, free: 103.8 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.001956/2.02, allocations: 0.7084 MB / 0.9884 GB, free: 103.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/2.02, allocations: 12.03 kB / 0.9884 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.561e-05/2.02, allocations: 61.72 kB / 0.9885 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01249/2.032, allocations: 0.5904 MB / 0.989 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000524/2.033, allocations: 249.2 kB / 0.9893 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001654/2.033, allocations: 123.2 kB / 0.9894 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/2.033, allocations: 19.44 kB / 0.9894 GB, free: 102 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001901/2.035, allocations: 0.5654 MB / 0.99 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/2.035, allocations: 7.891 kB / 0.99 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000118/2.035, allocations: 11.56 kB / 0.99 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.792e-05/2.035, allocations: 7.984 kB / 0.99 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00221/2.038, allocations: 0.61 MB / 0.9906 GB, free: 101.1 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.002635/2.04, allocations: 1.62 MB / 0.9922 GB, free: 99.46 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004827/2.041, allocations: 157.3 kB / 0.9923 GB, free: 99.34 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001279/2.042, allocations: 1.193 MB / 0.9935 GB, free: 97.98 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/2.042, allocations: 38.44 kB / 0.9935 GB, free: 97.94 MB / 490.7 MB Notification: Performance of pre-optimization done (n=20): time 3.337e-06/2.042, allocations: 7.984 kB / 0.9935 GB, free: 97.93 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.001468/2.044, allocations: 341.2 kB / 0.9939 GB, free: 97.66 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/2.044, allocations: 55.41 kB / 0.9939 GB, free: 97.59 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/2.044, allocations: 164.6 kB / 0.9941 GB, free: 97.43 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.625e-05/2.044, allocations: 33.58 kB / 0.9941 GB, free: 97.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.209e-05/2.044, allocations: 179.1 kB / 0.9943 GB, free: 97.23 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.538e-05/2.044, allocations: 78.23 kB / 0.9943 GB, free: 97.16 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/2.044, allocations: 3.812 kB / 0.9943 GB, free: 97.16 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.609e-05/2.044, allocations: 326.4 kB / 0.9947 GB, free: 96.84 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/2.044, allocations: 64.2 kB / 0.9947 GB, free: 96.79 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002775/2.045, allocations: 262.6 kB / 0.995 GB, free: 96.47 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002917/2.045, allocations: 98.92 kB / 0.9951 GB, free: 96.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/2.045, allocations: 0 / 0.9951 GB, free: 96.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008575/2.046, allocations: 368 kB / 0.9954 GB, free: 96.09 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/2.046, allocations: 8 kB / 0.9954 GB, free: 96.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/2.046, allocations: 12.05 kB / 0.9954 GB, free: 96.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/2.046, allocations: 12 kB / 0.9954 GB, free: 96.06 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006686/2.047, allocations: 131.7 kB / 0.9956 GB, free: 95.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002986/2.047, allocations: 0.5974 MB / 0.9962 GB, free: 95.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003539/2.047, allocations: 47.39 kB / 0.9962 GB, free: 95.28 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.868e-05/2.047, allocations: 35.19 kB / 0.9962 GB, free: 95.25 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.0001513/2.047, allocations: 157.2 kB / 0.9964 GB, free: 95.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.898e-05/2.048, allocations: 23.56 kB / 0.9964 GB, free: 95.08 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/2.049, allocations: 319.4 kB / 0.9967 GB, free: 94.81 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/2.049, allocations: 7.984 kB / 0.9967 GB, free: 94.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/2.049, allocations: 0 / 0.9967 GB, free: 94.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/2.049, allocations: 0 / 0.9967 GB, free: 94.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009468/2.05, allocations: 0.5396 MB / 0.9972 GB, free: 94.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/2.05, allocations: 7.938 kB / 0.9973 GB, free: 94.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003883/2.05, allocations: 55.95 kB / 0.9973 GB, free: 94.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/2.05, allocations: 4 kB / 0.9973 GB, free: 94.19 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.973e-05/2.05, allocations: 7.5 kB / 0.9973 GB, free: 94.19 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002838/2.051, allocations: 0.6054 MB / 0.9979 GB, free: 93.56 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/2.051, allocations: 4.031 kB / 0.9979 GB, free: 93.56 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005494/2.051, allocations: 344.2 kB / 0.9982 GB, free: 93.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/2.051, allocations: 120.6 kB / 0.9984 GB, free: 93.07 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.085e-05/2.051, allocations: 3.125 kB / 0.9984 GB, free: 93.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003994/2.052, allocations: 19.3 kB / 0.9984 GB, free: 93.05 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.147e-05/2.052, allocations: 23.92 kB / 0.9984 GB, free: 93.03 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.992e-05/2.052, allocations: 19.44 kB / 0.9984 GB, free: 93.01 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001388/2.052, allocations: 133.3 kB / 0.9985 GB, free: 92.89 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.91e-07/2.052, allocations: 0 / 0.9985 GB, free: 92.89 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001328/2.053, allocations: 259.3 kB / 0.9988 GB, free: 92.67 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.00244/2.056, allocations: 1.862 MB / 1.001 GB, free: 90.81 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0008402/2.057, allocations: 219 kB / 1.001 GB, free: 90.63 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/2.057, allocations: 0 / 1.001 GB, free: 90.63 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003107/2.057, allocations: 79.33 kB / 1.001 GB, free: 90.57 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000626/2.058, allocations: 59.91 kB / 1.001 GB, free: 90.52 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1152/2.173, allocations: 36.06 MB / 1.036 GB, free: 55.35 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/2.173, allocations: 0.7287 MB / 1.037 GB, free: 54.59 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009607/2.174, allocations: 102.1 kB / 1.037 GB, free: 54.49 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002654/2.174, allocations: 79.39 kB / 1.037 GB, free: 54.42 MB / 490.7 MB Notification: Performance of SimCode: time 1.122e-06/2.174, allocations: 0 / 1.037 GB, free: 54.42 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04899/2.223, allocations: 15.76 MB / 1.052 GB, free: 38.71 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002414/2.224, allocations: 232 kB / 1.053 GB, free: 38.48 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.367/5.591, allocations: 64 / 1.053 GB, free: 38.48 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.CO2_res.mat does not exist to compare? outputFormat=mat