Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009165/0.0009166, allocations: 90.72 kB / 17 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009163/0.0009166, allocations: 186.5 kB / 17.89 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 223.3 MB / 241.9 MB, free: 312 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2105/0.2105, allocations: 44.22 MB / 337.2 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004861/0.0004864, allocations: 8 kB / 409.7 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1264, allocations: 61.91 MB / 471.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.4258/0.5522, allocations: 136.4 MB / 0.5938 GB, free: 10.64 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006669/0.559, allocations: 6.325 MB / 0.6 GB, free: 4.324 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.5591, allocations: 11.94 kB / 0.6 GB, free: 4.312 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000267/0.5594, allocations: 47.7 kB / 0.6001 GB, free: 4.266 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003637/0.5631, allocations: 1.497 MB / 0.6015 GB, free: 2.762 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002915/0.5634, allocations: 132.4 kB / 0.6017 GB, free: 2.637 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007248/0.5641, allocations: 0.6269 MB / 0.6023 GB, free: 2.008 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.831e-05/0.5642, allocations: 20.31 kB / 0.6023 GB, free: 1.988 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003816/0.5646, allocations: 219.2 kB / 0.6025 GB, free: 1.773 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001247/0.5658, allocations: 0.5417 MB / 0.603 GB, free: 1.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.317e-05/0.5659, allocations: 8 kB / 0.603 GB, free: 1.223 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006518/0.5724, allocations: 2.398 MB / 0.6054 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002607/0.5727, allocations: 171.5 kB / 0.6055 GB, free: 14.65 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001932/0.5729, allocations: 105.5 kB / 0.6056 GB, free: 14.54 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002649/0.5756, allocations: 1.23 MB / 0.6068 GB, free: 13.31 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.5756, allocations: 3.938 kB / 0.6068 GB, free: 13.31 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.5756, allocations: 0 / 0.6068 GB, free: 13.31 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.5756, allocations: 4 kB / 0.6069 GB, free: 13.3 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.002843/0.5785, allocations: 0.8745 MB / 0.6077 GB, free: 12.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.5785, allocations: 12.03 kB / 0.6077 GB, free: 12.37 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001432/0.5787, allocations: 86.5 kB / 0.6078 GB, free: 12.28 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01554/0.5943, allocations: 1.283 MB / 0.6091 GB, free: 10.99 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/0.5958, allocations: 370.4 kB / 0.6094 GB, free: 10.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002486/0.5961, allocations: 139.5 kB / 0.6095 GB, free: 10.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002564/0.5964, allocations: 28 kB / 0.6096 GB, free: 10.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004108/0.6005, allocations: 1.429 MB / 0.611 GB, free: 8.934 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.6005, allocations: 0 / 0.611 GB, free: 8.934 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002259/0.6007, allocations: 12 kB / 0.611 GB, free: 8.922 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001021/0.6009, allocations: 56.97 kB / 0.611 GB, free: 8.867 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008033/0.6089, allocations: 2.615 MB / 0.6136 GB, free: 6.246 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.006603/0.6155, allocations: 3.861 MB / 0.6174 GB, free: 1.906 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/0.6158, allocations: 86.5 kB / 0.6174 GB, free: 1.812 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.758e-05/0.6159, allocations: 39.62 kB / 0.6175 GB, free: 1.773 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004943/0.6209, allocations: 3.218 MB / 0.6206 GB, free: 14.07 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/0.621, allocations: 34.56 kB / 0.6206 GB, free: 14.02 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 2.905e-06/0.621, allocations: 0 / 0.6206 GB, free: 14.02 MB / 462.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=12): time 0.0018/0.6228, allocations: 351 kB / 0.621 GB, free: 13.68 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.6229, allocations: 51.41 kB / 0.621 GB, free: 13.61 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005054/0.6234, allocations: 385.2 kB / 0.6214 GB, free: 13.23 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.6234, allocations: 29.7 kB / 0.6214 GB, free: 13.2 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002341/0.6237, allocations: 373.1 kB / 0.6218 GB, free: 12.83 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.252e-05/0.6237, allocations: 55.28 kB / 0.6218 GB, free: 12.77 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.6238, allocations: 20 kB / 0.6219 GB, free: 12.75 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.6239, allocations: 342.8 kB / 0.6222 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.6241, allocations: 121.9 kB / 0.6223 GB, free: 12.29 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000545/0.6246, allocations: 0.5703 MB / 0.6229 GB, free: 11.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004923/0.6251, allocations: 223.8 kB / 0.6231 GB, free: 11.28 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.108e-05/0.6252, allocations: 4 kB / 0.6231 GB, free: 11.27 MB / 462.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001618/0.6268, allocations: 0.6871 MB / 0.6237 GB, free: 10.58 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.233e-05/0.6268, allocations: 15.98 kB / 0.6238 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.803e-05/0.6269, allocations: 16 kB / 0.6238 GB, free: 10.55 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.532e-05/0.6269, allocations: 24 kB / 0.6238 GB, free: 10.53 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007431/0.6277, allocations: 187.7 kB / 0.624 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005225/0.6282, allocations: 0.6252 MB / 0.6246 GB, free: 9.695 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007636/0.629, allocations: 95.06 kB / 0.6247 GB, free: 9.602 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.6291, allocations: 67.98 kB / 0.6247 GB, free: 9.535 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * 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 (91): * Single equations (assignments): 90 * 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.0002929/0.6294, allocations: 205.9 kB / 0.6249 GB, free: 9.324 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/0.6296, allocations: 35.62 kB / 0.625 GB, free: 9.289 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004725/0.6301, allocations: 171.3 kB / 0.6251 GB, free: 9.105 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.6301, allocations: 4 kB / 0.6251 GB, free: 9.102 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.6301, allocations: 3.984 kB / 0.6251 GB, free: 9.098 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.6301, allocations: 3.953 kB / 0.6251 GB, free: 9.094 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000807/0.6309, allocations: 480 kB / 0.6256 GB, free: 8.562 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.6309, allocations: 0 / 0.6256 GB, free: 8.562 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.6311, allocations: 27.88 kB / 0.6256 GB, free: 8.535 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.6311, allocations: 3.984 kB / 0.6256 GB, free: 8.531 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.6311, allocations: 8.969 kB / 0.6256 GB, free: 8.523 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004137/0.6315, allocations: 0.5898 MB / 0.6262 GB, free: 7.91 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.6316, allocations: 0 / 0.6262 GB, free: 7.91 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003148/0.6319, allocations: 217 kB / 0.6264 GB, free: 7.676 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001768/0.6321, allocations: 128.6 kB / 0.6265 GB, free: 7.531 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.089e-05/0.6322, allocations: 7.984 kB / 0.6266 GB, free: 7.523 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003398/0.6325, allocations: 5 kB / 0.6266 GB, free: 7.52 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.6326, allocations: 19.92 kB / 0.6266 GB, free: 7.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.6326, allocations: 4 kB / 0.6266 GB, free: 7.496 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003615/0.633, allocations: 251.1 kB / 0.6268 GB, free: 7.254 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.633, allocations: 0 / 0.6268 GB, free: 7.254 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001674/0.6347, allocations: 331.9 kB / 0.6271 GB, free: 6.93 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 8 * 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.002689/0.6374, allocations: 1.12 MB / 0.6282 GB, free: 5.785 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009251/0.6383, allocations: 337.3 kB / 0.6286 GB, free: 5.461 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.6383, allocations: 0 / 0.6286 GB, free: 5.461 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001689/0.6385, allocations: 35.92 kB / 0.6286 GB, free: 5.426 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006686/0.6392, allocations: 45.53 kB / 0.6286 GB, free: 5.383 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01389/0.6531, allocations: 6.19 MB / 0.6347 GB, free: 14.91 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004882/0.6536, allocations: 0.7882 MB / 0.6354 GB, free: 14.09 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001163/0.6548, allocations: 244.6 kB / 0.6357 GB, free: 13.85 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002922/0.6551, allocations: 123.3 kB / 0.6358 GB, free: 13.73 MB / 478.1 MB Notification: Performance of SimCode: time 1.052e-06/0.6551, allocations: 4 kB / 0.6358 GB, free: 13.73 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03587/0.691, allocations: 11.84 MB / 0.6474 GB, free: 2.074 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000251/0.6913, allocations: 274.2 kB / 0.6476 GB, free: 1.715 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.35/3.041, allocations: 0 / 0.6476 GB, free: 1.715 MB / 478.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat does not exist to compare? outputFormat=mat