Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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.001368/0.001368, allocations: 104 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001292/0.001292, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 227.4 MB / 246.8 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2364/0.2364, allocations: 46.13 MB / 344.2 MB, free: 11.53 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002632/0.002632, allocations: 74.34 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1264, allocations: 62.45 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.4124/0.5389, allocations: 153.3 MB / 0.6187 GB, free: 9.809 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008928/0.5479, allocations: 6.829 MB / 0.6253 GB, free: 2.988 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002509/0.5481, allocations: 0 / 0.6253 GB, free: 2.988 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005024/0.5487, allocations: 83.48 kB / 0.6254 GB, free: 2.906 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006205/0.555, allocations: 2.197 MB / 0.6275 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003631/0.5553, allocations: 148.4 kB / 0.6277 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008158/0.5562, allocations: 0.51 MB / 0.6282 GB, free: 56 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.878e-05/0.5562, allocations: 24.3 kB / 0.6282 GB, free: 32 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006327/0.5569, allocations: 262.9 kB / 0.6285 GB, free: 15.77 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009988/0.5579, allocations: 470.7 kB / 0.6289 GB, free: 15.31 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.816e-05/0.558, allocations: 12 kB / 0.6289 GB, free: 15.3 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005757/0.5637, allocations: 2.781 MB / 0.6316 GB, free: 12.52 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002201/0.564, allocations: 155.6 kB / 0.6318 GB, free: 12.36 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003363/0.5643, allocations: 219 kB / 0.632 GB, free: 12.15 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004154/0.5685, allocations: 1.922 MB / 0.6339 GB, free: 10.22 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.5685, allocations: 0 / 0.6339 GB, free: 10.22 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5685, allocations: 4 kB / 0.6339 GB, free: 10.22 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.5686, allocations: 4 kB / 0.6339 GB, free: 10.21 MB / 478.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.002948/0.5715, allocations: 0.9642 MB / 0.6348 GB, free: 9.203 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.5716, allocations: 16.03 kB / 0.6348 GB, free: 9.188 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001226/0.5717, allocations: 82.7 kB / 0.6349 GB, free: 9.098 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0129/0.5846, allocations: 1.273 MB / 0.6362 GB, free: 7.824 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008812/0.5855, allocations: 379.5 kB / 0.6365 GB, free: 7.414 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001622/0.5857, allocations: 135.4 kB / 0.6366 GB, free: 7.254 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002179/0.5859, allocations: 31.98 kB / 0.6367 GB, free: 7.223 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002915/0.5889, allocations: 1.433 MB / 0.6381 GB, free: 5.758 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.5889, allocations: 0 / 0.6381 GB, free: 5.758 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001666/0.5891, allocations: 12 kB / 0.6381 GB, free: 5.746 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.658e-05/0.5892, allocations: 64.91 kB / 0.6382 GB, free: 5.684 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005782/0.595, allocations: 2.619 MB / 0.6407 GB, free: 3.062 MB / 478.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.00572/0.6007, allocations: 3.844 MB / 0.6445 GB, free: 14.74 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.601, allocations: 90.56 kB / 0.6445 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.972e-05/0.6011, allocations: 37 kB / 0.6446 GB, free: 14.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004948/0.606, allocations: 3.265 MB / 0.6478 GB, free: 10.85 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.6061, allocations: 38.56 kB / 0.6478 GB, free: 10.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 4.248e-06/0.6061, allocations: 3.938 kB / 0.6478 GB, free: 10.8 MB / 494.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.001386/0.6075, allocations: 337 kB / 0.6481 GB, free: 10.46 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.6075, allocations: 59.34 kB / 0.6482 GB, free: 10.39 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004752/0.608, allocations: 393.2 kB / 0.6486 GB, free: 10 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.63e-05/0.6081, allocations: 29.7 kB / 0.6486 GB, free: 9.969 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000323/0.6084, allocations: 376.9 kB / 0.649 GB, free: 9.594 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.44e-05/0.6085, allocations: 51.39 kB / 0.649 GB, free: 9.543 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002478/0.6087, allocations: 170.4 kB / 0.6492 GB, free: 9.367 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001995/0.6089, allocations: 338.8 kB / 0.6495 GB, free: 9.027 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002398/0.6092, allocations: 121.9 kB / 0.6496 GB, free: 8.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006426/0.6098, allocations: 0.5742 MB / 0.6502 GB, free: 8.113 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009522/0.6108, allocations: 0.7484 MB / 0.6509 GB, free: 7.137 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-05/0.6108, allocations: 4 kB / 0.6509 GB, free: 7.133 MB / 494.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001385/0.6122, allocations: 0.6992 MB / 0.6516 GB, free: 6.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/0.6122, allocations: 12 kB / 0.6516 GB, free: 6.418 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.787e-05/0.6123, allocations: 21 kB / 0.6516 GB, free: 6.398 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.625e-05/0.6123, allocations: 20 kB / 0.6516 GB, free: 6.379 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005672/0.6129, allocations: 191.6 kB / 0.6518 GB, free: 6.191 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004968/0.6134, allocations: 0.6133 MB / 0.6524 GB, free: 5.555 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005207/0.6139, allocations: 94.97 kB / 0.6525 GB, free: 5.461 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.6141, allocations: 67.98 kB / 0.6526 GB, free: 5.395 MB / 494.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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002895/0.6144, allocations: 209.5 kB / 0.6528 GB, free: 5.18 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.6145, allocations: 35.56 kB / 0.6528 GB, free: 5.145 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003752/0.6149, allocations: 171.3 kB / 0.653 GB, free: 4.957 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.6149, allocations: 15.92 kB / 0.653 GB, free: 4.945 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.6149, allocations: 0 / 0.653 GB, free: 4.945 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.6149, allocations: 0 / 0.653 GB, free: 4.945 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007315/0.6157, allocations: 477.6 kB / 0.6534 GB, free: 4.418 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.6157, allocations: 0 / 0.6534 GB, free: 4.418 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.6158, allocations: 27.92 kB / 0.6535 GB, free: 4.391 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.6158, allocations: 0 / 0.6535 GB, free: 4.391 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.6158, allocations: 8 kB / 0.6535 GB, free: 4.383 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004008/0.6162, allocations: 0.586 MB / 0.654 GB, free: 3.773 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.6162, allocations: 3.984 kB / 0.654 GB, free: 3.77 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000317/0.6166, allocations: 216.8 kB / 0.6543 GB, free: 3.535 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001945/0.6168, allocations: 120.8 kB / 0.6544 GB, free: 3.398 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.409e-05/0.6169, allocations: 3.938 kB / 0.6544 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002538/0.6171, allocations: 11.98 kB / 0.6544 GB, free: 3.383 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.816e-05/0.6172, allocations: 4 kB / 0.6544 GB, free: 3.379 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/0.6172, allocations: 7.984 kB / 0.6544 GB, free: 3.371 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003226/0.6175, allocations: 255.1 kB / 0.6546 GB, free: 3.121 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.657e-06/0.6175, allocations: 0 / 0.6546 GB, free: 3.121 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001504/0.619, allocations: 351.8 kB / 0.655 GB, free: 2.777 MB / 494.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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002831/0.6219, allocations: 1.292 MB / 0.6562 GB, free: 1.461 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007359/0.6226, allocations: 335.7 kB / 0.6566 GB, free: 1.137 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.6226, allocations: 0 / 0.6566 GB, free: 1.137 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.6228, allocations: 35.92 kB / 0.6566 GB, free: 1.102 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004803/0.6233, allocations: 53.81 kB / 0.6566 GB, free: 1.047 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01572/0.639, allocations: 9.346 MB / 0.6658 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004331/0.6395, allocations: 0.7811 MB / 0.6665 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008194/0.6403, allocations: 267.7 kB / 0.6668 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000234/0.6405, allocations: 119.3 kB / 0.6669 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of SimCode: time 1.212e-06/0.6405, allocations: 0 / 0.6669 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0434/0.684, allocations: 12.61 MB / 0.6792 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.67, allocations: 1.828 kB / 0.6792 GB, free: 9.52 MB / 0.5137 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1)