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.001302/0.001302, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001443/0.001443, allocations: 201.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 227.4 MB / 247 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.2308/0.2308, allocations: 46.11 MB / 344.3 MB, free: 11.48 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.002268/0.002269, allocations: 79.88 kB / 480.9 MB, free: 4.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3747, allocations: 62.44 MB / 0.5306 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.1953/0.57, allocations: 153.3 MB / 0.6803 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01335/0.5834, allocations: 6.837 MB / 0.687 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001785/0.5836, allocations: 0 / 0.687 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005152/0.5842, allocations: 83.48 kB / 0.6871 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.009454/0.5937, allocations: 2.204 MB / 0.6892 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006745/0.5944, allocations: 146.4 kB / 0.6894 GB, free: 14.7 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001134/0.5955, allocations: 0.5139 MB / 0.6899 GB, free: 14.18 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.547e-05/0.5956, allocations: 16.31 kB / 0.6899 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006432/0.5963, allocations: 259.9 kB / 0.6901 GB, free: 13.91 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001234/0.5975, allocations: 474.7 kB / 0.6906 GB, free: 13.45 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.197e-05/0.5976, allocations: 12 kB / 0.6906 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008745/0.6064, allocations: 2.645 MB / 0.6932 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002736/0.6067, allocations: 163.5 kB / 0.6933 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003829/0.6071, allocations: 211.1 kB / 0.6935 GB, free: 10.42 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00539/0.6125, allocations: 1.862 MB / 0.6954 GB, free: 8.551 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.6125, allocations: 0 / 0.6954 GB, free: 8.551 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6126, allocations: 4 kB / 0.6954 GB, free: 8.547 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.816e-06/0.6126, allocations: 0 / 0.6954 GB, free: 8.547 MB / 0.545 GB 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.003116/0.6157, allocations: 0.9812 MB / 0.6963 GB, free: 7.516 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.158e-05/0.6158, allocations: 15.97 kB / 0.6963 GB, free: 7.5 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001474/0.6159, allocations: 86.64 kB / 0.6964 GB, free: 7.406 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004448/0.6204, allocations: 0.5001 MB / 0.6969 GB, free: 6.906 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006206/0.621, allocations: 375.4 kB / 0.6973 GB, free: 6.5 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001597/0.6212, allocations: 127.5 kB / 0.6974 GB, free: 6.352 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.551e-05/0.6213, allocations: 28 kB / 0.6974 GB, free: 6.324 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/0.623, allocations: 1.117 MB / 0.6985 GB, free: 5.176 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.623, allocations: 3.938 kB / 0.6985 GB, free: 5.172 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.49e-05/0.6231, allocations: 15.98 kB / 0.6985 GB, free: 5.156 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-05/0.6232, allocations: 56.97 kB / 0.6986 GB, free: 5.102 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003304/0.6265, allocations: 2.26 MB / 0.7008 GB, free: 2.84 MB / 0.545 GB 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.003913/0.6304, allocations: 2.637 MB / 0.7034 GB, free: 8 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/0.6307, allocations: 110.5 kB / 0.7035 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.794e-05/0.6308, allocations: 57.05 kB / 0.7035 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004241/0.635, allocations: 3.281 MB / 0.7067 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.6351, allocations: 34.56 kB / 0.7067 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.703e-06/0.6351, allocations: 0 / 0.7067 GB, free: 12.02 MB / 0.5606 GB 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.001073/0.6362, allocations: 303.1 kB / 0.707 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.6363, allocations: 55.41 kB / 0.7071 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004037/0.6367, allocations: 384.1 kB / 0.7075 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.6367, allocations: 29.64 kB / 0.7075 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002418/0.6369, allocations: 374.8 kB / 0.7078 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.5e-05/0.637, allocations: 71.47 kB / 0.7079 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/0.6372, allocations: 166.5 kB / 0.7081 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.6374, allocations: 342.8 kB / 0.7084 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.6376, allocations: 133.8 kB / 0.7085 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005441/0.6381, allocations: 0.5647 MB / 0.7091 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008203/0.639, allocations: 0.7454 MB / 0.7098 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/0.639, allocations: 8 kB / 0.7098 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001289/0.6403, allocations: 0.7356 MB / 0.7105 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.6403, allocations: 15.98 kB / 0.7105 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.001e-05/0.6403, allocations: 16 kB / 0.7106 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.088e-05/0.6404, allocations: 24 kB / 0.7106 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004771/0.6409, allocations: 179.7 kB / 0.7108 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004105/0.6413, allocations: 0.6216 MB / 0.7114 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000409/0.6417, allocations: 99.25 kB / 0.7115 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.807e-05/0.6418, allocations: 56 kB / 0.7115 GB, free: 6.613 MB / 0.5606 GB 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 (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.0002173/0.642, allocations: 213.3 kB / 0.7117 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003217/0.6423, allocations: 91.77 kB / 0.7118 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003698/0.6427, allocations: 203.4 kB / 0.712 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.6427, allocations: 0 / 0.712 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.6427, allocations: 0 / 0.712 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.6427, allocations: 0 / 0.712 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006754/0.6434, allocations: 0.5423 MB / 0.7125 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.217e-06/0.6434, allocations: 4 kB / 0.7125 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.6436, allocations: 31.92 kB / 0.7126 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.6436, allocations: 0 / 0.7126 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.6436, allocations: 4 kB / 0.7126 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003361/0.6439, allocations: 0.594 MB / 0.7131 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.644, allocations: 3.938 kB / 0.7131 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.6442, allocations: 264.6 kB / 0.7134 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.6443, allocations: 112.8 kB / 0.7135 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.479e-05/0.6444, allocations: 7.938 kB / 0.7135 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.6446, allocations: 15.98 kB / 0.7135 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.438e-05/0.6447, allocations: 15.94 kB / 0.7135 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.6447, allocations: 11.98 kB / 0.7136 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002428/0.6449, allocations: 239.2 kB / 0.7138 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.804e-06/0.645, allocations: 3.938 kB / 0.7138 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001109/0.6461, allocations: 355.2 kB / 0.7141 GB, free: 3.758 MB / 0.5606 GB 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 (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.002024/0.6481, allocations: 1.331 MB / 0.7154 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006091/0.6487, allocations: 349.8 kB / 0.7158 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6487, allocations: 0 / 0.7158 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.6489, allocations: 48.11 kB / 0.7158 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004958/0.6494, allocations: 57.61 kB / 0.7159 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2589/0.9083, allocations: 10.22 MB / 0.7258 GB, free: 178.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.9085, allocations: 0.7791 MB / 0.7266 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005652/0.9091, allocations: 242.2 kB / 0.7268 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.9093, allocations: 114.9 kB / 0.7269 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of SimCode: time 7.01e-07/0.9093, allocations: 0 / 0.7269 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03769/0.947, allocations: 13.03 MB / 0.7397 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/13.18, allocations: 6.047 kB / 0.7397 GB, free: 168.8 MB / 0.5606 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)