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: translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 100 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.705/1.705, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.72/1.72, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.0006147/0.0006147, allocations: 12.91 kB / 0.6735 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2879, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.06327/0.3512, allocations: 64.42 MB / 0.85 GB, free: 11.41 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02442/0.3757, allocations: 16.08 MB / 0.8657 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004459/0.3802, allocations: 83.38 kB / 0.8658 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004714/0.385, allocations: 1.174 MB / 0.867 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01191/0.3969, allocations: 3.446 MB / 0.8703 GB, free: 6.582 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.007372/0.4043, allocations: 2.321 MB / 0.8726 GB, free: 4.309 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.008372/0.4127, allocations: 3.853 MB / 0.8763 GB, free: 460 kB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003502/0.4162, allocations: 1.461 MB / 0.8778 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004582/0.4208, allocations: 1.639 MB / 0.8794 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002772/0.4236, allocations: 1.077 MB / 0.8804 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0006607/0.4243, allocations: 75.94 kB / 0.8805 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004787/0.4291, allocations: 1.018 MB / 0.8815 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0006295/0.4298, allocations: 378.4 kB / 0.8819 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001239/0.431, allocations: 484.6 kB / 0.8823 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.004699/0.4357, allocations: 2.646 MB / 0.8849 GB, free: 7.637 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.4357, allocations: 0 / 0.8849 GB, free: 7.637 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4357, allocations: 0 / 0.8849 GB, free: 7.637 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.078e-05/0.4358, allocations: 0 / 0.8849 GB, free: 7.637 MB / 0.7012 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.004633/0.4405, allocations: 2.306 MB / 0.8872 GB, free: 5.266 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.4405, allocations: 8.031 kB / 0.8872 GB, free: 5.258 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006564/0.4412, allocations: 265.1 kB / 0.8874 GB, free: 4.996 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002947/0.4441, allocations: 1.751 MB / 0.8891 GB, free: 3.195 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.365e-05/0.4442, allocations: 106.7 kB / 0.8892 GB, free: 3.09 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001854/0.4444, allocations: 148 kB / 0.8894 GB, free: 2.945 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002491/0.4469, allocations: 1.52 MB / 0.8909 GB, free: 1.348 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.042e-05/0.447, allocations: 0 / 0.8909 GB, free: 1.348 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/0.4471, allocations: 67.94 kB / 0.8909 GB, free: 1.281 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-05/0.4472, allocations: 43.92 kB / 0.891 GB, free: 1.238 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002131/0.4493, allocations: 1.158 MB / 0.8921 GB, free: 76 kB / 0.7012 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.008329/0.4576, allocations: 7.637 MB / 0.8995 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000919/0.4586, allocations: 497.3 kB / 0.9 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008213/0.4594, allocations: 1.148 MB / 0.9011 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.4594, allocations: 39.12 kB / 0.9012 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=59): time 2.695e-06/0.4595, allocations: 0 / 0.9012 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=59): time 0.002139/0.4616, allocations: 1.02 MB / 0.9022 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.4617, allocations: 59.97 kB / 0.9022 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002181/0.4638, allocations: 1.825 MB / 0.904 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.818e-05/0.464, allocations: 49.7 kB / 0.9041 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000691/0.4647, allocations: 0.9159 MB / 0.905 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001974/0.4649, allocations: 221 kB / 0.9052 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-05/0.4649, allocations: 20 kB / 0.9052 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.465, allocations: 345.9 kB / 0.9055 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000663/0.4657, allocations: 350.4 kB / 0.9058 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009115/0.4666, allocations: 0.7055 MB / 0.9065 GB, free: 192 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007948/0.4674, allocations: 466.8 kB / 0.907 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.343e-06/0.4675, allocations: 4 kB / 0.907 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00215/0.4696, allocations: 1.242 MB / 0.9082 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.4696, allocations: 19.94 kB / 0.9082 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.4697, allocations: 8 kB / 0.9082 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/0.4697, allocations: 19.94 kB / 0.9082 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.4707, allocations: 319.6 kB / 0.9086 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.266e-05/0.4708, allocations: 23.92 kB / 0.9086 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/0.4723, allocations: 254.2 kB / 0.9088 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.364e-05/0.4725, allocations: 52 kB / 0.9089 GB, free: 13.79 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007506/0.4732, allocations: 437.9 kB / 0.9093 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002369/0.4735, allocations: 193.7 kB / 0.9095 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001694/0.4752, allocations: 0.9067 MB / 0.9104 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.4752, allocations: 4 kB / 0.9104 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.956e-06/0.4752, allocations: 3.984 kB / 0.9104 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001247/0.4764, allocations: 0.8308 MB / 0.9112 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003834/0.4803, allocations: 2.509 MB / 0.9136 GB, free: 8.762 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.4803, allocations: 8.031 kB / 0.9136 GB, free: 8.754 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007731/0.4811, allocations: 203.8 kB / 0.9138 GB, free: 8.555 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.111e-05/0.4811, allocations: 7.984 kB / 0.9138 GB, free: 8.547 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.024e-05/0.4812, allocations: 20 kB / 0.9139 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.749e-06/0.4812, allocations: 15.88 kB / 0.9139 GB, free: 8.512 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.4812, allocations: 4 kB / 0.9139 GB, free: 8.508 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002241/0.4834, allocations: 1.539 MB / 0.9154 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007193/0.4842, allocations: 422.2 kB / 0.9158 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002022/0.4844, allocations: 16 kB / 0.9158 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/0.4854, allocations: 125.1 kB / 0.9159 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.4856, allocations: 56.48 kB / 0.916 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.083e-05/0.4856, allocations: 31.97 kB / 0.916 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001605/0.4872, allocations: 1.262 MB / 0.9172 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4872, allocations: 4 kB / 0.9172 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001705/0.489, allocations: 0.6552 MB / 0.9179 GB, free: 4.27 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001002/0.49, allocations: 0.6011 MB / 0.9185 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001703/0.4917, allocations: 0.8508 MB / 0.9193 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.4917, allocations: 0 / 0.9193 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006741/0.4924, allocations: 380.4 kB / 0.9197 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005466/0.4979, allocations: 1.193 MB / 0.9208 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4585/0.9563, allocations: 3.668 MB / 0.9244 GB, free: 129.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001219/0.9576, allocations: 1.441 MB / 0.9258 GB, free: 129 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002081/0.9597, allocations: 384.5 kB / 0.9262 GB, free: 128.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003549/0.9601, allocations: 147.2 kB / 0.9263 GB, free: 128.9 MB / 0.7325 GB Notification: Performance of SimCode: time 1.403e-06/0.9601, allocations: 2.656 kB / 0.9263 GB, free: 128.9 MB / 0.7325 GB Notification: Performance of Templates: time 0.07846/1.039, allocations: 40.06 MB / 0.9654 GB, free: 113.6 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) Environment - environmentSimulation: