Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001012/0.001012, allocations: 97.64 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001136/0.001136, allocations: 202.9 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2411/0.2411, allocations: 45.91 MB / 344 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003054/0.0003055, allocations: 8 kB / 418.1 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1433, allocations: 63.46 MB / 481.5 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4283/0.5717, allocations: 126.2 MB / 0.5935 GB, free: 7.109 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006038/0.5778, allocations: 4.961 MB / 0.5983 GB, free: 2.145 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001812/0.578, allocations: 7.938 kB / 0.5983 GB, free: 2.137 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002657/0.5783, allocations: 39.78 kB / 0.5984 GB, free: 2.098 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003267/0.5816, allocations: 1.083 MB / 0.5994 GB, free: 1.012 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.5819, allocations: 133.6 kB / 0.5996 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005047/0.5824, allocations: 267.4 kB / 0.5998 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.575e-05/0.5825, allocations: 9.688 kB / 0.5998 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000308/0.5828, allocations: 179.4 kB / 0.6 GB, free: 456 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003414/0.5832, allocations: 147.6 kB / 0.6001 GB, free: 308 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.869e-05/0.5832, allocations: 8 kB / 0.6001 GB, free: 300 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003173/0.5864, allocations: 1.069 MB / 0.6012 GB, free: 15.22 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.75e-05/0.5865, allocations: 47.81 kB / 0.6012 GB, free: 15.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.075e-05/0.5866, allocations: 57.64 kB / 0.6013 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001217/0.5878, allocations: 0.5837 MB / 0.6019 GB, free: 14.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.5878, allocations: 0 / 0.6019 GB, free: 14.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.5878, allocations: 0 / 0.6019 GB, free: 14.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.5878, allocations: 0 / 0.6019 GB, free: 14.54 MB / 446.1 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.001306/0.5891, allocations: 0.6209 MB / 0.6025 GB, free: 13.87 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.5892, allocations: 12.03 kB / 0.6025 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.119e-05/0.5893, allocations: 62.53 kB / 0.6025 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007825/0.5971, allocations: 0.6087 MB / 0.6031 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005754/0.5977, allocations: 255.5 kB / 0.6034 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/0.5979, allocations: 119.4 kB / 0.6035 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-05/0.598, allocations: 20 kB / 0.6035 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.5992, allocations: 0.5634 MB / 0.6041 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.5993, allocations: 0 / 0.6041 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.663e-05/0.5994, allocations: 15.94 kB / 0.6041 GB, free: 12.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.317e-05/0.5994, allocations: 4 kB / 0.6041 GB, free: 12.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001438/0.6009, allocations: 0.6338 MB / 0.6047 GB, free: 11.47 MB / 446.1 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.002412/0.6033, allocations: 1.718 MB / 0.6064 GB, free: 9.602 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003534/0.6036, allocations: 150.5 kB / 0.6065 GB, free: 9.445 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001686/0.6053, allocations: 1.265 MB / 0.6078 GB, free: 7.949 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/0.6054, allocations: 38.56 kB / 0.6078 GB, free: 7.902 MB / 446.1 MB Notification: Performance of pre-optimization done (n=19): time 2.394e-06/0.6054, allocations: 3.938 kB / 0.6078 GB, free: 7.898 MB / 446.1 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=19): time 0.001079/0.6065, allocations: 325.4 kB / 0.6081 GB, free: 7.574 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.6065, allocations: 51.41 kB / 0.6082 GB, free: 7.512 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.6068, allocations: 195 kB / 0.6083 GB, free: 7.312 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.6068, allocations: 25.7 kB / 0.6084 GB, free: 7.281 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.6069, allocations: 179.3 kB / 0.6085 GB, free: 7.102 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.926e-05/0.607, allocations: 71.08 kB / 0.6086 GB, free: 7.031 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.271e-05/0.607, allocations: 12 kB / 0.6086 GB, free: 7.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.6072, allocations: 330.8 kB / 0.6089 GB, free: 6.688 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.6074, allocations: 60.7 kB / 0.609 GB, free: 6.629 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003168/0.6077, allocations: 252.1 kB / 0.6092 GB, free: 6.289 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/0.6079, allocations: 111.8 kB / 0.6093 GB, free: 6.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.608, allocations: 4 kB / 0.6093 GB, free: 6.176 MB / 446.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006712/0.6086, allocations: 365.7 kB / 0.6097 GB, free: 5.812 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.6087, allocations: 8 kB / 0.6097 GB, free: 5.805 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.6087, allocations: 4 kB / 0.6097 GB, free: 5.801 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.011e-05/0.6087, allocations: 16.69 kB / 0.6097 GB, free: 5.785 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004913/0.6092, allocations: 123.8 kB / 0.6098 GB, free: 5.664 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005504/0.6098, allocations: 0.6133 MB / 0.6104 GB, free: 5.027 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002637/0.6101, allocations: 44.91 kB / 0.6105 GB, free: 4.984 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.679e-05/0.6101, allocations: 43.98 kB / 0.6105 GB, free: 4.941 MB / 446.1 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.0002094/0.6104, allocations: 143.7 kB / 0.6107 GB, free: 4.793 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.096e-05/0.6104, allocations: 23.91 kB / 0.6107 GB, free: 4.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/0.6115, allocations: 462.9 kB / 0.6111 GB, free: 4.309 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.6116, allocations: 8 kB / 0.6111 GB, free: 4.301 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.6116, allocations: 0 / 0.6111 GB, free: 4.301 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.6116, allocations: 3.984 kB / 0.6111 GB, free: 4.297 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.6127, allocations: 0.6314 MB / 0.6117 GB, free: 3.566 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.6127, allocations: 4 kB / 0.6118 GB, free: 3.562 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/0.6129, allocations: 55.91 kB / 0.6118 GB, free: 3.508 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.6129, allocations: 4 kB / 0.6118 GB, free: 3.504 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/0.6129, allocations: 15.98 kB / 0.6118 GB, free: 3.488 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004773/0.6134, allocations: 0.5899 MB / 0.6124 GB, free: 2.875 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/0.6134, allocations: 4.172 kB / 0.6124 GB, free: 2.871 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006227/0.6141, allocations: 395.8 kB / 0.6128 GB, free: 2.395 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002707/0.6144, allocations: 116.8 kB / 0.6129 GB, free: 2.262 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.808e-05/0.6144, allocations: 4 kB / 0.6129 GB, free: 2.258 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002392/0.6147, allocations: 15.98 kB / 0.6129 GB, free: 2.242 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.182e-05/0.6147, allocations: 11.98 kB / 0.6129 GB, free: 2.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.742e-05/0.6148, allocations: 23.98 kB / 0.6129 GB, free: 2.207 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001326/0.6149, allocations: 135.5 kB / 0.6131 GB, free: 2.074 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6149, allocations: 4 kB / 0.6131 GB, free: 2.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007933/0.6157, allocations: 168 kB / 0.6132 GB, free: 1.906 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (15): * Single equations (assignments): 14 * 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.001531/0.6172, allocations: 1.66 MB / 0.6149 GB, free: 172 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005589/0.6178, allocations: 216 kB / 0.6151 GB, free: 15.96 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/0.6178, allocations: 4 kB / 0.6151 GB, free: 15.96 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.618, allocations: 84.2 kB / 0.6152 GB, free: 15.88 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004327/0.6185, allocations: 54.28 kB / 0.6152 GB, free: 15.82 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004542/0.623, allocations: 5.838 MB / 0.6209 GB, free: 9.781 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.6234, allocations: 0.7367 MB / 0.6216 GB, free: 9.02 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008391/0.6243, allocations: 379.1 kB / 0.622 GB, free: 8.652 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000219/0.6245, allocations: 91.38 kB / 0.6221 GB, free: 8.562 MB / 462.1 MB Notification: Performance of SimCode: time 1.252e-06/0.6245, allocations: 0 / 0.6221 GB, free: 8.562 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02332/0.6478, allocations: 7.181 MB / 0.6291 GB, free: 1.531 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003218/0.6482, allocations: 251 kB / 0.6293 GB, free: 1.281 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.006/2.654, allocations: 0 / 0.6293 GB, free: 1.281 MB / 462.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat does not exist to compare? outputFormat=mat