Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.791/1.791, allocations: 288.4 MB / 303.7 MB, free: 8.078 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009429/0.0009429, allocations: 176.5 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.372/1.372, allocations: 205.4 MB / 0.631 GB, free: 9.91 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007245/0.0007245, allocations: 102.4 kB / 0.7444 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004398/0.0004398, allocations: 12.62 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2289, allocations: 115.3 MB / 0.9801 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.06284/0.2918, allocations: 71.15 MB / 1.05 GB, free: 4.004 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.0285/0.3203, allocations: 17.56 MB / 1.067 GB, free: 2.414 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003731/0.3241, allocations: 91.38 kB / 1.067 GB, free: 2.324 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003803/0.3279, allocations: 0.8655 MB / 1.068 GB, free: 1.453 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.4954/0.8233, allocations: 3.038 MB / 1.071 GB, free: 13.87 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005337/0.8287, allocations: 1.538 MB / 1.072 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01318/0.8419, allocations: 7.613 MB / 1.08 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003993/0.8459, allocations: 1.671 MB / 1.081 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005839/0.8518, allocations: 1.878 MB / 1.083 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004772/0.8566, allocations: 1.596 MB / 1.085 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005847/0.8572, allocations: 74.38 kB / 1.085 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005249/0.8625, allocations: 1.347 MB / 1.086 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0007282/0.8632, allocations: 392.4 kB / 1.086 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002901/0.8661, allocations: 1.068 MB / 1.087 GB, free: 29.54 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004371/0.8705, allocations: 2.804 MB / 1.09 GB, free: 29.36 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/0.8705, allocations: 1.938 kB / 1.09 GB, free: 29.36 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.023e-06/0.8705, allocations: 0 / 1.09 GB, free: 29.36 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.762e-05/0.8706, allocations: 0 / 1.09 GB, free: 29.36 MB / 0.698 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.004435/0.875, allocations: 2.283 MB / 1.092 GB, free: 28.14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.8751, allocations: 10.33 kB / 1.092 GB, free: 28.14 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006414/0.8757, allocations: 266.6 kB / 1.093 GB, free: 28.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003542/0.8793, allocations: 1.947 MB / 1.095 GB, free: 27.54 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.342e-05/0.8794, allocations: 111.5 kB / 1.095 GB, free: 27.53 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001924/0.8796, allocations: 143.7 kB / 1.095 GB, free: 27.53 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00289/0.8825, allocations: 1.526 MB / 1.096 GB, free: 27.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.304e-05/0.8826, allocations: 1.875 kB / 1.096 GB, free: 27.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.8827, allocations: 66.83 kB / 1.096 GB, free: 27.29 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.673e-05/0.8827, allocations: 42.23 kB / 1.096 GB, free: 27.29 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002387/0.8851, allocations: 1.159 MB / 1.098 GB, free: 27.25 MB / 0.698 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.009192/0.8943, allocations: 7.58 MB / 1.105 GB, free: 22.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009215/0.8953, allocations: 494.2 kB / 1.105 GB, free: 22.88 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000582/0.8959, allocations: 354.5 kB / 1.106 GB, free: 22.86 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008447/0.8967, allocations: 1.157 MB / 1.107 GB, free: 21.54 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.8968, allocations: 50.77 kB / 1.107 GB, free: 21.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=59): time 3.616e-06/0.8968, allocations: 0 / 1.107 GB, free: 21.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=59): time 0.002215/0.899, allocations: 1.02 MB / 1.108 GB, free: 21.34 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/0.8991, allocations: 58.97 kB / 1.108 GB, free: 21.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002/0.9011, allocations: 1.721 MB / 1.11 GB, free: 21.04 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001039/0.9012, allocations: 43.11 kB / 1.11 GB, free: 21.01 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005973/0.9018, allocations: 0.9251 MB / 1.111 GB, free: 20.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001877/0.902, allocations: 221.7 kB / 1.111 GB, free: 20.55 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.902, allocations: 19.97 kB / 1.111 GB, free: 20.55 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.9022, allocations: 350.2 kB / 1.111 GB, free: 20.25 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006156/0.9028, allocations: 346 kB / 1.111 GB, free: 20.24 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008375/0.9037, allocations: 0.7017 MB / 1.112 GB, free: 19.82 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/0.9051, allocations: 1.057 MB / 1.113 GB, free: 19.39 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.9051, allocations: 0 / 1.113 GB, free: 19.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002066/0.9072, allocations: 1.255 MB / 1.114 GB, free: 19.18 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.9072, allocations: 9.438 kB / 1.114 GB, free: 19.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.9072, allocations: 10.09 kB / 1.114 GB, free: 19.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.869e-05/0.9073, allocations: 16.06 kB / 1.114 GB, free: 19.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009958/0.9083, allocations: 314.8 kB / 1.115 GB, free: 19.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.689e-05/0.9083, allocations: 22.89 kB / 1.115 GB, free: 19.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001783/0.9101, allocations: 244.6 kB / 1.115 GB, free: 19.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.809e-05/0.9102, allocations: 54.47 kB / 1.115 GB, free: 19.07 MB / 0.698 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.0008792/0.9111, allocations: 439.3 kB / 1.115 GB, free: 18.94 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002311/0.9113, allocations: 197.2 kB / 1.116 GB, free: 18.83 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001899/0.9132, allocations: 0.9052 MB / 1.117 GB, free: 18.73 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.273e-05/0.9132, allocations: 9.969 kB / 1.117 GB, free: 18.73 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.9133, allocations: 0 / 1.117 GB, free: 18.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001447/0.9147, allocations: 0.8348 MB / 1.117 GB, free: 18.46 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005226/0.9199, allocations: 2.469 MB / 1.12 GB, free: 17.99 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.92, allocations: 1.25 kB / 1.12 GB, free: 17.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009258/0.9209, allocations: 206.8 kB / 1.12 GB, free: 17.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.662e-05/0.9209, allocations: 5.156 kB / 1.12 GB, free: 17.98 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.513e-05/0.921, allocations: 24.02 kB / 1.12 GB, free: 17.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.357e-05/0.921, allocations: 8.406 kB / 1.12 GB, free: 17.98 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.921, allocations: 3.219 kB / 1.12 GB, free: 17.98 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003015/0.9241, allocations: 1.393 MB / 1.121 GB, free: 17.63 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001283/0.9253, allocations: 406.6 kB / 1.122 GB, free: 17.42 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002291/0.9256, allocations: 15.78 kB / 1.122 GB, free: 17.42 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/0.9267, allocations: 132.2 kB / 1.122 GB, free: 17.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.9268, allocations: 44.58 kB / 1.122 GB, free: 17.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.481e-05/0.9269, allocations: 40.88 kB / 1.122 GB, free: 17.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00197/0.9289, allocations: 1.186 MB / 1.123 GB, free: 17.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.522e-06/0.9289, allocations: 0 / 1.123 GB, free: 17.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002318/0.9312, allocations: 0.6403 MB / 1.124 GB, free: 17.16 MB / 0.698 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.001291/0.9325, allocations: 0.5869 MB / 1.124 GB, free: 16.97 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001979/0.9345, allocations: 0.8551 MB / 1.125 GB, free: 16.91 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.9345, allocations: 1.031 kB / 1.125 GB, free: 16.91 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007547/0.9353, allocations: 373.8 kB / 1.126 GB, free: 16.89 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006694/0.942, allocations: 1.201 MB / 1.127 GB, free: 16.51 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005528/0.9475, allocations: 3.668 MB / 1.13 GB, free: 14.33 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001088/0.9487, allocations: 1.408 MB / 1.132 GB, free: 13.33 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002063/0.9507, allocations: 386.7 kB / 1.132 GB, free: 13.15 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003713/0.9511, allocations: 154 kB / 1.132 GB, free: 13.12 MB / 0.698 GB Notification: Performance of SimCode: time 1.743e-06/0.9511, allocations: 0 / 1.132 GB, free: 13.12 MB / 0.698 GB Notification: Performance of Templates: time 0.06898/1.02, allocations: 39.92 MB / 1.171 GB, free: 14.66 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)