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.002083/0.002083, allocations: 104.1 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.002186/0.002186, 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.471/1.471, allocations: 227.4 MB / 246.8 MB, free: 10.5 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.2437/0.2437, allocations: 46.12 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.002477/0.002477, allocations: 82.36 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1321, allocations: 62.46 MB / 480.2 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.4262/0.5584, allocations: 153.3 MB / 0.6187 GB, free: 9.859 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008053/0.5665, allocations: 6.827 MB / 0.6253 GB, free: 3.039 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.5667, allocations: 0 / 0.6253 GB, free: 3.039 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003473/0.5671, allocations: 71.56 kB / 0.6254 GB, free: 2.969 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005916/0.573, allocations: 2.205 MB / 0.6275 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003624/0.5734, allocations: 144 kB / 0.6277 GB, free: 0.625 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007447/0.5741, allocations: 0.51 MB / 0.6282 GB, free: 116 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.938e-05/0.5742, allocations: 32.27 kB / 0.6282 GB, free: 84 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005148/0.5747, allocations: 258.9 kB / 0.6285 GB, free: 15.83 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008124/0.5756, allocations: 470.6 kB / 0.6289 GB, free: 15.37 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.827e-05/0.5756, allocations: 12 kB / 0.6289 GB, free: 15.36 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006238/0.5819, allocations: 2.775 MB / 0.6316 GB, free: 12.57 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001897/0.5821, allocations: 167.5 kB / 0.6318 GB, free: 12.41 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002881/0.5824, allocations: 215 kB / 0.632 GB, free: 12.2 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004208/0.5866, allocations: 1.918 MB / 0.6339 GB, free: 10.28 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.5866, allocations: 0 / 0.6339 GB, free: 10.28 MB / 478.1 MB Notification: Performance of FrontEnd: time 4.879e-06/0.5866, allocations: 4 kB / 0.6339 GB, free: 10.27 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.5867, allocations: 0 / 0.6339 GB, free: 10.27 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.002554/0.5892, allocations: 0.9721 MB / 0.6348 GB, free: 9.254 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.5893, allocations: 12.03 kB / 0.6348 GB, free: 9.242 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001209/0.5894, allocations: 90.64 kB / 0.6349 GB, free: 9.145 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01248/0.6019, allocations: 1.269 MB / 0.6362 GB, free: 7.875 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008279/0.6028, allocations: 383.5 kB / 0.6365 GB, free: 7.461 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000161/0.6029, allocations: 135.4 kB / 0.6367 GB, free: 7.301 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/0.6031, allocations: 31.98 kB / 0.6367 GB, free: 7.27 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002771/0.6059, allocations: 1.429 MB / 0.6381 GB, free: 5.809 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.6059, allocations: 0 / 0.6381 GB, free: 5.809 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001546/0.6061, allocations: 12 kB / 0.6381 GB, free: 5.797 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.706e-05/0.6062, allocations: 60.95 kB / 0.6381 GB, free: 5.738 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005538/0.6117, allocations: 2.627 MB / 0.6407 GB, free: 3.109 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.00547/0.6172, allocations: 3.841 MB / 0.6445 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.6174, allocations: 90.52 kB / 0.6445 GB, free: 14.69 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.065e-05/0.6175, allocations: 37 kB / 0.6446 GB, free: 14.65 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004702/0.6222, allocations: 3.269 MB / 0.6478 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.6223, allocations: 38.5 kB / 0.6478 GB, free: 10.85 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 2.305e-06/0.6223, allocations: 0 / 0.6478 GB, free: 10.85 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.001303/0.6236, allocations: 340 kB / 0.6481 GB, free: 10.51 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.6237, allocations: 59.33 kB / 0.6482 GB, free: 10.44 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004395/0.6241, allocations: 389.2 kB / 0.6486 GB, free: 10.06 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.6241, allocations: 33.7 kB / 0.6486 GB, free: 10.02 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002516/0.6244, allocations: 376.9 kB / 0.649 GB, free: 9.645 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.632e-05/0.6245, allocations: 51.44 kB / 0.649 GB, free: 9.594 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002071/0.6247, allocations: 166.4 kB / 0.6492 GB, free: 9.422 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.6248, allocations: 342.8 kB / 0.6495 GB, free: 9.078 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.6251, allocations: 117.9 kB / 0.6496 GB, free: 8.965 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005659/0.6256, allocations: 0.5781 MB / 0.6502 GB, free: 8.164 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008371/0.6265, allocations: 0.7509 MB / 0.6509 GB, free: 7.188 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.6265, allocations: 4 kB / 0.6509 GB, free: 7.184 MB / 494.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001119/0.6276, allocations: 0.6922 MB / 0.6516 GB, free: 6.484 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.6276, allocations: 12 kB / 0.6516 GB, free: 6.473 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.188e-05/0.6277, allocations: 16.91 kB / 0.6516 GB, free: 6.457 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.622e-05/0.6277, allocations: 20 kB / 0.6516 GB, free: 6.438 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005264/0.6283, allocations: 199.6 kB / 0.6518 GB, free: 6.242 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004634/0.6287, allocations: 0.6132 MB / 0.6524 GB, free: 5.605 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004433/0.6292, allocations: 98.97 kB / 0.6525 GB, free: 5.508 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.818e-05/0.6293, allocations: 64 kB / 0.6526 GB, free: 5.445 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.0002374/0.6295, allocations: 209.4 kB / 0.6528 GB, free: 5.23 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.6296, allocations: 39.66 kB / 0.6528 GB, free: 5.191 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003633/0.63, allocations: 167.3 kB / 0.653 GB, free: 5.008 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.63, allocations: 4 kB / 0.653 GB, free: 5.004 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.63, allocations: 0.875 kB / 0.653 GB, free: 5.004 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.6301, allocations: 4 kB / 0.653 GB, free: 5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006155/0.6307, allocations: 476 kB / 0.6534 GB, free: 4.473 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.6307, allocations: 0 / 0.6534 GB, free: 4.473 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.6308, allocations: 23.98 kB / 0.6535 GB, free: 4.449 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.6308, allocations: 0 / 0.6535 GB, free: 4.449 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.6308, allocations: 11.75 kB / 0.6535 GB, free: 4.441 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005121/0.6314, allocations: 0.5938 MB / 0.654 GB, free: 3.824 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.6314, allocations: 0 / 0.654 GB, free: 3.824 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.6316, allocations: 210 kB / 0.6542 GB, free: 3.598 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.6318, allocations: 124.6 kB / 0.6544 GB, free: 3.457 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.244e-05/0.6318, allocations: 4.031 kB / 0.6544 GB, free: 3.453 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/0.6321, allocations: 12 kB / 0.6544 GB, free: 3.441 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.133e-05/0.6321, allocations: 7.984 kB / 0.6544 GB, free: 3.434 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.6321, allocations: 4 kB / 0.6544 GB, free: 3.43 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002776/0.6324, allocations: 255.1 kB / 0.6546 GB, free: 3.18 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6324, allocations: 3.938 kB / 0.6546 GB, free: 3.176 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00121/0.6336, allocations: 347.8 kB / 0.655 GB, free: 2.836 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.002346/0.636, allocations: 1.301 MB / 0.6562 GB, free: 1.512 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006793/0.6367, allocations: 338.2 kB / 0.6566 GB, free: 1.184 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.6367, allocations: 0 / 0.6566 GB, free: 1.184 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.6368, allocations: 38.72 kB / 0.6566 GB, free: 1.148 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004727/0.6373, allocations: 53.69 kB / 0.6567 GB, free: 1.094 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01412/0.6514, allocations: 9.339 MB / 0.6658 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004395/0.6519, allocations: 0.7848 MB / 0.6665 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007888/0.6527, allocations: 256.9 kB / 0.6668 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002161/0.6529, allocations: 115.4 kB / 0.6669 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of SimCode: time 5.51e-07/0.6529, allocations: 0 / 0.6669 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04354/0.6965, allocations: 12.62 MB / 0.6792 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/12.94, allocations: 4.641 kB / 0.6792 GB, free: 9.57 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1)