Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.00101/0.00101, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006132/0.006132, allocations: 169.1 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.813/2.813, allocations: 473.4 MB / 0.7469 GB, free: 6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005785/0.0005785, allocations: 12.66 kB / 0.9158 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3849, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07354/0.4585, allocations: 75.32 MB / 1.148 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02662/0.4852, allocations: 18.76 MB / 1.166 GB, free: 9.148 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004028/0.4893, allocations: 99.31 kB / 1.166 GB, free: 9.051 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003547/0.4928, allocations: 1.033 MB / 1.167 GB, free: 8.012 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.011/0.5039, allocations: 3.371 MB / 1.17 GB, free: 4.629 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.006384/0.5103, allocations: 1.908 MB / 1.172 GB, free: 2.738 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01237/0.5227, allocations: 8.889 MB / 1.181 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003053/0.5258, allocations: 1.675 MB / 1.183 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004427/0.5302, allocations: 1.89 MB / 1.184 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002846/0.5331, allocations: 1.695 MB / 1.186 GB, free: 4.504 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002795/0.5334, allocations: 72 kB / 1.186 GB, free: 4.434 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004189/0.5376, allocations: 1.446 MB / 1.188 GB, free: 2.984 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005995/0.5382, allocations: 417.9 kB / 1.188 GB, free: 2.574 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001562/0.5398, allocations: 1.121 MB / 1.189 GB, free: 1.441 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00525/0.545, allocations: 3.57 MB / 1.193 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.545, allocations: 0 / 1.193 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.703e-06/0.545, allocations: 0 / 1.193 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.836e-05/0.5451, allocations: 0 / 1.193 GB, free: 13.86 MB / 0.9512 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.003922/0.549, allocations: 2.285 MB / 1.195 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.5491, allocations: 8.031 kB / 1.195 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006216/0.5497, allocations: 262 kB / 1.195 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002908/0.5526, allocations: 1.988 MB / 1.197 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.45e-05/0.5527, allocations: 102.7 kB / 1.197 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001938/0.5529, allocations: 144 kB / 1.197 GB, free: 8.965 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002691/0.5556, allocations: 1.544 MB / 1.199 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.939e-05/0.5557, allocations: 7.844 kB / 1.199 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000126/0.5558, allocations: 63.98 kB / 1.199 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.917e-05/0.5559, allocations: 36 kB / 1.199 GB, free: 7.238 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00232/0.5582, allocations: 1.165 MB / 1.2 GB, free: 6.066 MB / 0.9512 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.009664/0.5679, allocations: 7.595 MB / 1.207 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.569, allocations: 0.4966 MB / 1.208 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000794/0.5698, allocations: 354.3 kB / 1.208 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000892/0.5707, allocations: 1.156 MB / 1.209 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.5707, allocations: 39.12 kB / 1.209 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=59): time 2.675e-06/0.5707, allocations: 0 / 1.209 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of matching and sorting (n=59): time 0.002744/0.5735, allocations: 1.031 MB / 1.21 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.5736, allocations: 59.97 kB / 1.21 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002636/0.5762, allocations: 1.752 MB / 1.212 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001754/0.5764, allocations: 45.7 kB / 1.212 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008149/0.5772, allocations: 0.9317 MB / 1.213 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.000298/0.5775, allocations: 224.9 kB / 1.213 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.5776, allocations: 93.67 kB / 1.213 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.5778, allocations: 353.9 kB / 1.214 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007552/0.5786, allocations: 346.4 kB / 1.214 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/0.5796, allocations: 0.7095 MB / 1.215 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001765/0.5814, allocations: 1.055 MB / 1.216 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.5814, allocations: 4 kB / 1.216 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002661/0.5841, allocations: 1.261 MB / 1.217 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.5841, allocations: 12 kB / 1.217 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.5841, allocations: 8 kB / 1.217 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.279e-05/0.5842, allocations: 16 kB / 1.217 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.5853, allocations: 319.9 kB / 1.217 GB, free: 3 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.363e-05/0.5853, allocations: 23.92 kB / 1.217 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/0.5868, allocations: 251 kB / 1.218 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.456e-05/0.5869, allocations: 51.98 kB / 1.218 GB, free: 2.68 MB / 0.9669 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.0008646/0.5878, allocations: 445.3 kB / 1.218 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002622/0.5881, allocations: 193.7 kB / 1.218 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001853/0.5899, allocations: 0.9032 MB / 1.219 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/0.59, allocations: 8 kB / 1.219 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.59, allocations: 0 / 1.219 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001402/0.5914, allocations: 0.8464 MB / 1.22 GB, free: 240 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004199/0.5956, allocations: 2.49 MB / 1.222 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.5956, allocations: 3.938 kB / 1.222 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008274/0.5965, allocations: 208 kB / 1.223 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.307e-06/0.5965, allocations: 4 kB / 1.223 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.937e-05/0.5965, allocations: 16 kB / 1.223 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.5965, allocations: 12 kB / 1.223 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.5965, allocations: 4 kB / 1.223 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002554/0.5991, allocations: 1.398 MB / 1.224 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007441/0.5999, allocations: 402.2 kB / 1.224 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002075/0.6001, allocations: 23.98 kB / 1.224 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/0.6012, allocations: 119.7 kB / 1.225 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.6013, allocations: 52.44 kB / 1.225 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-05/0.6014, allocations: 35.97 kB / 1.225 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001775/0.6032, allocations: 1.216 MB / 1.226 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of sort global known variables: time 5.01e-07/0.6032, allocations: 4 kB / 1.226 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001896/0.6051, allocations: 0.6395 MB / 1.226 GB, free: 9.441 MB / 0.9825 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.001229/0.6064, allocations: 0.6012 MB / 1.227 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00193/0.6083, allocations: 0.8547 MB / 1.228 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.6083, allocations: 0 / 1.228 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007743/0.6091, allocations: 384.4 kB / 1.228 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007506/0.6166, allocations: 1.2 MB / 1.229 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006499/0.6232, allocations: 3.821 MB / 1.233 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001199/0.6244, allocations: 1.409 MB / 1.235 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001904/0.6263, allocations: 377.4 kB / 1.235 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004803/0.6268, allocations: 143.4 kB / 1.235 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of SimCode: time 1.162e-06/0.6268, allocations: 0 / 1.235 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of Templates: time 0.7099/1.337, allocations: 40.08 MB / 1.274 GB, free: 77.79 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)