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.0009332/0.0009337, allocations: 98.5 kB / 17 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009757/0.0009759, allocations: 194.5 kB / 17.9 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 227.3 MB / 246 MB, free: 10.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2817/0.2817, allocations: 45.92 MB / 344.1 MB, free: 11.97 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004117/0.0004117, allocations: 8 kB / 418.2 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.169, allocations: 63.47 MB / 481.6 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.4325/0.6016, allocations: 136.5 MB / 0.6036 GB, free: 13.83 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00824/0.6098, allocations: 6.33 MB / 0.6098 GB, free: 7.512 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002522/0.6101, allocations: 0 / 0.6098 GB, free: 7.512 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003868/0.6105, allocations: 55.64 kB / 0.6099 GB, free: 7.457 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006071/0.6166, allocations: 1.504 MB / 0.6113 GB, free: 5.949 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004138/0.6171, allocations: 131.4 kB / 0.6115 GB, free: 5.824 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00102/0.6181, allocations: 0.6269 MB / 0.6121 GB, free: 5.191 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.795e-05/0.6182, allocations: 16.31 kB / 0.6121 GB, free: 5.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005476/0.6187, allocations: 223.2 kB / 0.6123 GB, free: 4.961 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001265/0.62, allocations: 0.5573 MB / 0.6129 GB, free: 4.402 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.748e-05/0.6201, allocations: 8 kB / 0.6129 GB, free: 4.395 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005557/0.6257, allocations: 2.412 MB / 0.6152 GB, free: 1.984 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002322/0.6259, allocations: 171.5 kB / 0.6154 GB, free: 1.816 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001883/0.6261, allocations: 97.58 kB / 0.6155 GB, free: 1.715 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002508/0.6286, allocations: 1.234 MB / 0.6167 GB, free: 492 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.6286, allocations: 0 / 0.6167 GB, free: 492 kB / 446.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.6287, allocations: 0 / 0.6167 GB, free: 492 kB / 446.1 MB Notification: Performance of Transformations before backend: time 1.528e-05/0.6287, allocations: 0 / 0.6167 GB, free: 492 kB / 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.00309/0.6318, allocations: 0.8941 MB / 0.6176 GB, free: 15.54 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.687e-05/0.6318, allocations: 8.031 kB / 0.6176 GB, free: 15.53 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002029/0.6321, allocations: 90.45 kB / 0.6176 GB, free: 15.43 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009944/0.642, allocations: 1.283 MB / 0.6189 GB, free: 14.14 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007674/0.6428, allocations: 366.4 kB / 0.6192 GB, free: 13.75 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000141/0.643, allocations: 135.5 kB / 0.6194 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002116/0.6432, allocations: 31.94 kB / 0.6194 GB, free: 13.55 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002582/0.6458, allocations: 1.429 MB / 0.6208 GB, free: 12.09 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.6458, allocations: 3.938 kB / 0.6208 GB, free: 12.09 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001468/0.646, allocations: 16 kB / 0.6208 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.205e-05/0.646, allocations: 56.95 kB / 0.6209 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005242/0.6513, allocations: 2.619 MB / 0.6234 GB, free: 9.395 MB / 462.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.005047/0.6563, allocations: 3.857 MB / 0.6272 GB, free: 5.059 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.6566, allocations: 80.31 kB / 0.6273 GB, free: 4.973 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.458e-05/0.6567, allocations: 36.95 kB / 0.6273 GB, free: 4.934 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004104/0.6608, allocations: 3.253 MB / 0.6305 GB, free: 1.191 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.6608, allocations: 42.48 kB / 0.6305 GB, free: 1.141 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 1.683e-06/0.6608, allocations: 0 / 0.6305 GB, free: 1.141 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.001182/0.662, allocations: 337 kB / 0.6308 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.6621, allocations: 59.36 kB / 0.6309 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003948/0.6625, allocations: 385.2 kB / 0.6313 GB, free: 360 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.6625, allocations: 29.7 kB / 0.6313 GB, free: 324 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002485/0.6628, allocations: 369.1 kB / 0.6317 GB, free: 15.95 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.776e-05/0.6628, allocations: 59.28 kB / 0.6317 GB, free: 15.89 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.6629, allocations: 23.94 kB / 0.6317 GB, free: 15.86 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.663, allocations: 342.8 kB / 0.6321 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/0.6632, allocations: 121.9 kB / 0.6322 GB, free: 15.4 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004852/0.6637, allocations: 0.5664 MB / 0.6327 GB, free: 14.61 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003538/0.6641, allocations: 231.7 kB / 0.633 GB, free: 14.39 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/0.6641, allocations: 8 kB / 0.633 GB, free: 14.38 MB / 478.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001235/0.6653, allocations: 0.687 MB / 0.6336 GB, free: 13.69 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.6654, allocations: 12 kB / 0.6336 GB, free: 13.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.309e-05/0.6654, allocations: 16 kB / 0.6337 GB, free: 13.66 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.439e-05/0.6654, allocations: 24 kB / 0.6337 GB, free: 13.64 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005152/0.666, allocations: 187.7 kB / 0.6339 GB, free: 13.45 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004246/0.6664, allocations: 0.6252 MB / 0.6345 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004879/0.6669, allocations: 91.06 kB / 0.6346 GB, free: 12.71 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.005e-05/0.667, allocations: 67.98 kB / 0.6346 GB, free: 12.65 MB / 478.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.0002472/0.6673, allocations: 205.4 kB / 0.6348 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.6674, allocations: 35.58 kB / 0.6348 GB, free: 12.4 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003735/0.6677, allocations: 178.4 kB / 0.635 GB, free: 12.21 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.6678, allocations: 3.984 kB / 0.635 GB, free: 12.21 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.6678, allocations: 4 kB / 0.635 GB, free: 12.21 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.6678, allocations: 0 / 0.635 GB, free: 12.21 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006398/0.6684, allocations: 483.9 kB / 0.6355 GB, free: 11.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.6684, allocations: 0 / 0.6355 GB, free: 11.68 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.6686, allocations: 24.08 kB / 0.6355 GB, free: 11.65 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.6686, allocations: 7.938 kB / 0.6355 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.6686, allocations: 0 / 0.6355 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002997/0.6689, allocations: 0.586 MB / 0.6361 GB, free: 11.04 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.6689, allocations: 0 / 0.6361 GB, free: 11.04 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.6692, allocations: 225 kB / 0.6363 GB, free: 10.79 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.6693, allocations: 124.6 kB / 0.6364 GB, free: 10.65 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.55e-05/0.6694, allocations: 0 / 0.6364 GB, free: 10.65 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.6696, allocations: 8 kB / 0.6364 GB, free: 10.64 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.92e-05/0.6696, allocations: 7.984 kB / 0.6364 GB, free: 10.64 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.6697, allocations: 12 kB / 0.6365 GB, free: 10.62 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002446/0.6699, allocations: 247.1 kB / 0.6367 GB, free: 10.38 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6699, allocations: 0 / 0.6367 GB, free: 10.38 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001101/0.671, allocations: 339.9 kB / 0.637 GB, free: 10.05 MB / 478.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.002207/0.6732, allocations: 1.119 MB / 0.6381 GB, free: 8.906 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006352/0.6739, allocations: 331.3 kB / 0.6384 GB, free: 8.586 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.6739, allocations: 4 kB / 0.6384 GB, free: 8.582 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.674, allocations: 39.98 kB / 0.6385 GB, free: 8.543 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004045/0.6744, allocations: 44.48 kB / 0.6385 GB, free: 8.504 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01235/0.6868, allocations: 7.555 MB / 0.6459 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000515/0.6873, allocations: 0.7966 MB / 0.6467 GB, free: 15.84 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008636/0.6882, allocations: 249.1 kB / 0.6469 GB, free: 15.59 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002439/0.6885, allocations: 119.4 kB / 0.647 GB, free: 15.48 MB / 494.1 MB Notification: Performance of SimCode: time 1.112e-06/0.6885, allocations: 0 / 0.647 GB, free: 15.48 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03101/0.7195, allocations: 11.9 MB / 0.6586 GB, free: 3.742 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002387/0.7198, allocations: 264.7 kB / 0.6589 GB, free: 3.383 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.283/3.003, allocations: 0 / 0.6589 GB, free: 3.383 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