Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 109.4 kB / 15.69 MB, free: 124 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 188.4 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 205.1 MB / 222.5 MB, free: 4.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.687/1.687, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 70.11 kB / 0.6718 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2843, allocations: 114.6 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07858/0.3629, allocations: 77.15 MB / 0.859 GB, free: 15.83 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03029/0.3933, allocations: 18.72 MB / 0.8773 GB, free: 13.06 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00529/0.3986, allocations: 103.4 kB / 0.8774 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.004827/0.4036, allocations: 1.25 MB / 0.8786 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01344/0.4171, allocations: 3.602 MB / 0.8821 GB, free: 8.086 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.007032/0.4242, allocations: 2.107 MB / 0.8841 GB, free: 5.996 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01212/0.4363, allocations: 6.659 MB / 0.8906 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004134/0.4405, allocations: 2.078 MB / 0.8927 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007161/0.4477, allocations: 2.327 MB / 0.895 GB, free: 10.87 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004257/0.452, allocations: 1.772 MB / 0.8967 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0009361/0.453, allocations: 200 kB / 0.8969 GB, free: 8.895 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005573/0.4586, allocations: 1.618 MB / 0.8985 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001051/0.4596, allocations: 0.5333 MB / 0.899 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002514/0.4622, allocations: 1.244 MB / 0.9002 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007494/0.4697, allocations: 3.739 MB / 0.9038 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4697, allocations: 4 kB / 0.9038 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4697, allocations: 0 / 0.9038 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.309e-05/0.4698, allocations: 0 / 0.9038 GB, free: 1.734 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.5255/0.9954, allocations: 2.693 MB / 0.9065 GB, free: 121.5 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 8.828e-05/0.9955, allocations: 10.06 kB / 0.9065 GB, free: 121.5 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003651/0.9959, allocations: 201.8 kB / 0.9067 GB, free: 121.4 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001072/0.997, allocations: 271.4 kB / 0.9069 GB, free: 121.3 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005424/1.002, allocations: 1.981 MB / 0.9089 GB, free: 120.6 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/1.003, allocations: 113.8 kB / 0.909 GB, free: 120.6 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003302/1.003, allocations: 140.7 kB / 0.9091 GB, free: 120.5 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003402/1.006, allocations: 1.521 MB / 0.9106 GB, free: 119.8 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.697e-05/1.006, allocations: 13.5 kB / 0.9106 GB, free: 119.8 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001781/1.007, allocations: 58.09 kB / 0.9107 GB, free: 119.8 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.183e-05/1.007, allocations: 36.16 kB / 0.9107 GB, free: 119.8 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003297/1.01, allocations: 1.123 MB / 0.9118 GB, free: 119.4 MB / 0.7169 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.01641/1.026, allocations: 7.59 MB / 0.9192 GB, free: 113.7 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/1.028, allocations: 475.8 kB / 0.9197 GB, free: 113.5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009741/1.029, allocations: 336.6 kB / 0.92 GB, free: 113.4 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009147/1.03, allocations: 1.15 MB / 0.9211 GB, free: 112.1 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/1.03, allocations: 40.91 kB / 0.9211 GB, free: 112.1 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=59): time 4.839e-06/1.03, allocations: 3.938 kB / 0.9211 GB, free: 112.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=59): time 0.003354/1.033, allocations: 0.9605 MB / 0.9221 GB, free: 111.7 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/1.033, allocations: 61.56 kB / 0.9221 GB, free: 111.6 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002814/1.036, allocations: 1.773 MB / 0.9239 GB, free: 110.9 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001487/1.036, allocations: 41.23 kB / 0.9239 GB, free: 110.9 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007542/1.037, allocations: 0.9178 MB / 0.9248 GB, free: 110.2 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002449/1.037, allocations: 221.3 kB / 0.925 GB, free: 110 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003168/1.038, allocations: 231.7 kB / 0.9252 GB, free: 109.9 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000111/1.038, allocations: 348.6 kB / 0.9256 GB, free: 109.6 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007589/1.039, allocations: 328.2 kB / 0.9259 GB, free: 109.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/1.04, allocations: 0.6912 MB / 0.9266 GB, free: 108.9 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001614/1.041, allocations: 1.011 MB / 0.9276 GB, free: 108.3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-05/1.041, allocations: 3.656 kB / 0.9276 GB, free: 108.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.003046/1.044, allocations: 1.215 MB / 0.9287 GB, free: 107.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.962e-05/1.044, allocations: 10.61 kB / 0.9288 GB, free: 107.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.234e-05/1.044, allocations: 10.56 kB / 0.9288 GB, free: 107.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.702e-05/1.045, allocations: 15.25 kB / 0.9288 GB, free: 107.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/1.046, allocations: 292.4 kB / 0.9291 GB, free: 107.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.248e-05/1.046, allocations: 26.36 kB / 0.9291 GB, free: 107.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001698/1.047, allocations: 162.2 kB / 0.9292 GB, free: 107.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/1.048, allocations: 54.62 kB / 0.9293 GB, free: 107.6 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (135): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001016/1.049, allocations: 438.6 kB / 0.9297 GB, free: 107.3 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005858/1.049, allocations: 191.1 kB / 0.9299 GB, free: 107.2 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002324/1.052, allocations: 0.8632 MB / 0.9307 GB, free: 106.9 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.791e-05/1.052, allocations: 13.19 kB / 0.9307 GB, free: 106.9 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/1.052, allocations: 0.9688 kB / 0.9307 GB, free: 106.9 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002095/1.054, allocations: 0.7948 MB / 0.9315 GB, free: 106.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006565/1.06, allocations: 2.444 MB / 0.9339 GB, free: 105.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/1.06, allocations: 7.938 kB / 0.9339 GB, free: 105.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000811/1.061, allocations: 178.2 kB / 0.9341 GB, free: 105.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-05/1.061, allocations: 7.281 kB / 0.9341 GB, free: 105.3 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.626e-05/1.061, allocations: 14.84 kB / 0.9341 GB, free: 105.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.387e-06/1.061, allocations: 4.688 kB / 0.9341 GB, free: 105.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.281e-06/1.061, allocations: 6.891 kB / 0.9341 GB, free: 105.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003158/1.064, allocations: 1.341 MB / 0.9354 GB, free: 104.7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/1.066, allocations: 358.9 kB / 0.9358 GB, free: 104.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000293/1.066, allocations: 14 kB / 0.9358 GB, free: 104.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/1.067, allocations: 71.83 kB / 0.9359 GB, free: 104.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/1.067, allocations: 55.03 kB / 0.9359 GB, free: 104.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.808e-05/1.067, allocations: 37.25 kB / 0.9359 GB, free: 104.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002134/1.069, allocations: 1.231 MB / 0.9371 GB, free: 103.7 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.81e-07/1.069, allocations: 0 / 0.9371 GB, free: 103.7 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002754/1.072, allocations: 0.6572 MB / 0.9378 GB, free: 103.6 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.dynBal.U) * 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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00424/1.076, allocations: 2.376 MB / 0.9401 GB, free: 102.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001985/1.078, allocations: 0.8263 MB / 0.9409 GB, free: 101.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/1.078, allocations: 1.125 kB / 0.9409 GB, free: 101.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007364/1.079, allocations: 353.6 kB / 0.9412 GB, free: 101.7 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00581/1.085, allocations: 1.209 MB / 0.9424 GB, free: 101.1 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01869/1.104, allocations: 12.48 MB / 0.9546 GB, free: 93.66 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006704/1.104, allocations: 1.409 MB / 0.956 GB, free: 92.62 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001568/1.106, allocations: 371 kB / 0.9563 GB, free: 92.48 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007558/1.107, allocations: 0.7663 MB / 0.9571 GB, free: 91.75 MB / 0.7169 GB Notification: Performance of SimCode: time 1.022e-06/1.107, allocations: 0 / 0.9571 GB, free: 91.75 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08681/1.193, allocations: 57.22 MB / 1.013 GB, free: 35.24 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/13.52, allocations: 15.98 kB / 1.013 GB, free: 35.23 MB / 0.7169 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)