Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.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.FlueGasSixComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001056/0.001056, allocations: 94.53 kB / 16.98 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001097/0.001097, allocations: 205.4 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.441/1.441, allocations: 227.3 MB / 245.9 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2475/0.2475, allocations: 45.91 MB / 344 MB, free: 12.3 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002743/0.0002745, allocations: 12 kB / 418.1 MB, free: 20.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1336, allocations: 63.46 MB / 481.5 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.4373/0.5709, allocations: 126.4 MB / 0.5937 GB, free: 6.82 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007994/0.579, allocations: 6.223 MB / 0.5997 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002517/0.5793, allocations: 3.938 kB / 0.5998 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003625/0.5797, allocations: 55.75 kB / 0.5998 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005067/0.5847, allocations: 1.511 MB / 0.6013 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003781/0.5851, allocations: 138.3 kB / 0.6014 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006484/0.5858, allocations: 331.8 kB / 0.6017 GB, free: 14.56 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.779e-05/0.5859, allocations: 16.31 kB / 0.6017 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005772/0.5865, allocations: 295 kB / 0.602 GB, free: 14.26 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007219/0.5872, allocations: 371.4 kB / 0.6024 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.832e-05/0.5872, allocations: 8 kB / 0.6024 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006637/0.5939, allocations: 2.356 MB / 0.6047 GB, free: 11.53 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002435/0.5942, allocations: 151.6 kB / 0.6048 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001916/0.5944, allocations: 105.5 kB / 0.6049 GB, free: 11.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002661/0.597, allocations: 1.157 MB / 0.6061 GB, free: 10.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.5971, allocations: 4 kB / 0.6061 GB, free: 10.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5971, allocations: 0 / 0.6061 GB, free: 10.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.5971, allocations: 0 / 0.6061 GB, free: 10.12 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.00259/0.5997, allocations: 0.9018 MB / 0.6069 GB, free: 9.172 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.5998, allocations: 11.97 kB / 0.607 GB, free: 9.16 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001889/0.5999, allocations: 90.5 kB / 0.607 GB, free: 9.062 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003708/0.6037, allocations: 0.5261 MB / 0.6076 GB, free: 8.535 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005908/0.6043, allocations: 326.5 kB / 0.6079 GB, free: 8.176 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001439/0.6044, allocations: 127.5 kB / 0.608 GB, free: 8.023 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.6045, allocations: 28 kB / 0.608 GB, free: 7.996 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/0.6062, allocations: 1.101 MB / 0.6091 GB, free: 6.859 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.6062, allocations: 3.984 kB / 0.6091 GB, free: 6.855 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/0.6063, allocations: 19.98 kB / 0.6091 GB, free: 6.836 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.868e-05/0.6064, allocations: 60.84 kB / 0.6092 GB, free: 6.781 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003224/0.6096, allocations: 2.268 MB / 0.6114 GB, free: 4.512 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.003916/0.6136, allocations: 2.621 MB / 0.6139 GB, free: 1.699 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.6138, allocations: 98.52 kB / 0.614 GB, free: 1.594 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001973/0.6158, allocations: 1.234 MB / 0.6152 GB, free: 188 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.6158, allocations: 38.56 kB / 0.6153 GB, free: 140 kB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.6158, allocations: 0 / 0.6153 GB, free: 140 kB / 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=16): time 0.001131/0.617, allocations: 301.2 kB / 0.6156 GB, free: 15.84 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.617, allocations: 59.41 kB / 0.6156 GB, free: 15.77 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003653/0.6174, allocations: 375.9 kB / 0.616 GB, free: 15.39 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.6174, allocations: 29.7 kB / 0.616 GB, free: 15.36 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.6176, allocations: 361.2 kB / 0.6164 GB, free: 15 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.462e-05/0.6177, allocations: 67.19 kB / 0.6164 GB, free: 14.93 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-05/0.6177, allocations: 12 kB / 0.6164 GB, free: 14.92 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002037/0.6179, allocations: 342.8 kB / 0.6168 GB, free: 14.57 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001921/0.6181, allocations: 125.9 kB / 0.6169 GB, free: 14.45 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005193/0.6187, allocations: 0.5647 MB / 0.6174 GB, free: 13.66 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003622/0.619, allocations: 229.7 kB / 0.6177 GB, free: 13.44 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/0.619, allocations: 8 kB / 0.6177 GB, free: 13.43 MB / 462.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001321/0.6204, allocations: 0.7354 MB / 0.6184 GB, free: 12.69 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.6204, allocations: 14.19 kB / 0.6184 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.946e-05/0.6204, allocations: 16 kB / 0.6184 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.268e-05/0.6205, allocations: 24 kB / 0.6184 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005602/0.621, allocations: 187.6 kB / 0.6186 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005532/0.6216, allocations: 0.6254 MB / 0.6192 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005289/0.6221, allocations: 91.06 kB / 0.6193 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-05/0.6222, allocations: 56.78 kB / 0.6194 GB, free: 11.66 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (92): * Single equations (assignments): 91 * 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.0002922/0.6225, allocations: 205.4 kB / 0.6196 GB, free: 11.45 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000343/0.6229, allocations: 91.62 kB / 0.6196 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004102/0.6233, allocations: 194.4 kB / 0.6198 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.6233, allocations: 8 kB / 0.6198 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.6233, allocations: 0 / 0.6198 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.6233, allocations: 0 / 0.6198 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007847/0.6241, allocations: 0.5501 MB / 0.6204 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.6241, allocations: 0 / 0.6204 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.6243, allocations: 27.98 kB / 0.6204 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/0.6243, allocations: 4 kB / 0.6204 GB, free: 10.49 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.6243, allocations: 4 kB / 0.6204 GB, free: 10.49 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004034/0.6247, allocations: 0.5937 MB / 0.621 GB, free: 9.871 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.6247, allocations: 4.078 kB / 0.621 GB, free: 9.867 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003377/0.6251, allocations: 334.6 kB / 0.6213 GB, free: 9.469 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002406/0.6253, allocations: 128.6 kB / 0.6214 GB, free: 9.324 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.898e-05/0.6254, allocations: 4 kB / 0.6214 GB, free: 9.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002421/0.6256, allocations: 11.98 kB / 0.6215 GB, free: 9.309 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.042e-05/0.6257, allocations: 15.98 kB / 0.6215 GB, free: 9.293 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/0.6257, allocations: 13.19 kB / 0.6215 GB, free: 9.281 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002991/0.626, allocations: 235.2 kB / 0.6217 GB, free: 9.051 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.626, allocations: 3.938 kB / 0.6217 GB, free: 9.047 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001298/0.6273, allocations: 343.7 kB / 0.622 GB, free: 8.711 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (13): * Single equations (assignments): 12 * 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.002141/0.6295, allocations: 1.637 MB / 0.6236 GB, free: 7.008 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007264/0.6302, allocations: 338.7 kB / 0.624 GB, free: 6.68 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.6302, allocations: 4 kB / 0.624 GB, free: 6.676 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.6304, allocations: 51.84 kB / 0.624 GB, free: 6.625 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.6308, allocations: 50.58 kB / 0.6241 GB, free: 6.578 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008999/0.6398, allocations: 12.89 MB / 0.6366 GB, free: 9.309 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006266/0.6405, allocations: 0.7966 MB / 0.6374 GB, free: 8.484 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008484/0.6413, allocations: 244.5 kB / 0.6377 GB, free: 8.242 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002389/0.6416, allocations: 115.4 kB / 0.6378 GB, free: 8.129 MB / 478.1 MB Notification: Performance of SimCode: time 2.224e-06/0.6416, allocations: 3.938 kB / 0.6378 GB, free: 8.125 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02903/0.6706, allocations: 12.15 MB / 0.6496 GB, free: 12.15 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002309/0.6709, allocations: 260.4 kB / 0.6499 GB, free: 11.79 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.2/2.871, allocations: 3.938 kB / 0.6499 GB, free: 11.78 MB / 494.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat does not exist to compare? outputFormat=mat