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.001631/0.001631, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001178/0.001178, allocations: 194.2 kB / 16.14 MB, free: 6.703 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.401/1.401, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.935/2.935, allocations: 472.6 MB / 0.7447 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 65.77 kB / 0.9113 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3171, allocations: 159.9 MB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.0817/0.3988, allocations: 76.68 MB / 1.142 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02844/0.4273, allocations: 18.97 MB / 1.161 GB, free: 11.01 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004495/0.4318, allocations: 103.3 kB / 1.161 GB, free: 10.91 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004137/0.436, allocations: 1.033 MB / 1.162 GB, free: 9.867 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01211/0.4482, allocations: 3.375 MB / 1.165 GB, free: 6.48 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005801/0.454, allocations: 1.895 MB / 1.167 GB, free: 4.602 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01138/0.4654, allocations: 8.89 MB / 1.176 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003245/0.4687, allocations: 1.729 MB / 1.178 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004749/0.4734, allocations: 1.944 MB / 1.179 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003404/0.4769, allocations: 1.765 MB / 1.181 GB, free: 6.188 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0005256/0.4774, allocations: 96 kB / 1.181 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004026/0.4814, allocations: 1.465 MB / 1.183 GB, free: 4.625 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0007312/0.4822, allocations: 454 kB / 1.183 GB, free: 4.18 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002154/0.4844, allocations: 1.139 MB / 1.184 GB, free: 3.035 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.005996/0.4904, allocations: 3.642 MB / 1.188 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4904, allocations: 0 / 1.188 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4904, allocations: 0 / 1.188 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001008/0.4905, allocations: 0 / 1.188 GB, free: 15.38 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.005303/0.4958, allocations: 2.707 MB / 1.19 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.4959, allocations: 12.03 kB / 1.19 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008151/0.4967, allocations: 265.9 kB / 1.191 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003377/0.5001, allocations: 1.976 MB / 1.193 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.284e-05/0.5002, allocations: 106.7 kB / 1.193 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002254/0.5004, allocations: 151.9 kB / 1.193 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00296/0.5034, allocations: 1.512 MB / 1.194 GB, free: 8.465 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.696e-05/0.5034, allocations: 4 kB / 1.194 GB, free: 8.461 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001328/0.5036, allocations: 59.94 kB / 1.194 GB, free: 8.402 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-05/0.5036, allocations: 43.92 kB / 1.194 GB, free: 8.359 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002419/0.5061, allocations: 1.122 MB / 1.196 GB, free: 7.23 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.009548/0.5156, allocations: 7.579 MB / 1.203 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000996/0.5166, allocations: 484.5 kB / 1.203 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000647/0.5173, allocations: 334.3 kB / 1.204 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008744/0.5182, allocations: 1.148 MB / 1.205 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.5182, allocations: 43.12 kB / 1.205 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=59): time 3.927e-06/0.5182, allocations: 7.984 kB / 1.205 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of matching and sorting (n=59): time 0.002424/0.5207, allocations: 0.9612 MB / 1.206 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.5207, allocations: 59.91 kB / 1.206 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002477/0.5232, allocations: 1.763 MB / 1.208 GB, free: 9.953 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 9.217e-05/0.5233, allocations: 41.7 kB / 1.208 GB, free: 9.906 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007779/0.5241, allocations: 0.9239 MB / 1.209 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002136/0.5243, allocations: 213 kB / 1.209 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003074/0.5246, allocations: 234.6 kB / 1.209 GB, free: 8.527 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.5248, allocations: 353.9 kB / 1.209 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007001/0.5255, allocations: 326.4 kB / 1.21 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009756/0.5265, allocations: 0.6938 MB / 1.21 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001697/0.5282, allocations: 1.012 MB / 1.211 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/0.5282, allocations: 4 kB / 1.211 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002448/0.5307, allocations: 1.21 MB / 1.212 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.5307, allocations: 12 kB / 1.212 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/0.5307, allocations: 8 kB / 1.212 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.745e-05/0.5308, allocations: 16 kB / 1.213 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.5318, allocations: 291.6 kB / 1.213 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.819e-05/0.5319, allocations: 19.92 kB / 1.213 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/0.5335, allocations: 242.9 kB / 1.213 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.435e-05/0.5336, allocations: 48 kB / 1.213 GB, free: 4.012 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.0007807/0.5344, allocations: 445.9 kB / 1.214 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004092/0.5348, allocations: 189.7 kB / 1.214 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001794/0.5366, allocations: 0.8667 MB / 1.215 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/0.5366, allocations: 8 kB / 1.215 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.5366, allocations: 4 kB / 1.215 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001331/0.538, allocations: 0.8034 MB / 1.215 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004222/0.5422, allocations: 2.424 MB / 1.218 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/0.5422, allocations: 7.938 kB / 1.218 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008167/0.543, allocations: 184 kB / 1.218 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.318e-06/0.5431, allocations: 4 kB / 1.218 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.99e-05/0.5431, allocations: 19.94 kB / 1.218 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/0.5431, allocations: 7.984 kB / 1.218 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.5431, allocations: 0 / 1.218 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002613/0.5457, allocations: 1.343 MB / 1.219 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007792/0.5465, allocations: 366.5 kB / 1.22 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003834/0.5469, allocations: 15.98 kB / 1.22 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/0.5483, allocations: 115.7 kB / 1.22 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.5484, allocations: 48.44 kB / 1.22 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-05/0.5485, allocations: 39.97 kB / 1.22 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001881/0.5504, allocations: 1.216 MB / 1.221 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2e-07/0.5504, allocations: 3.938 kB / 1.221 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002177/0.5526, allocations: 0.6395 MB / 1.222 GB, free: 11.04 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.001276/0.5538, allocations: 0.5807 MB / 1.222 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00178/0.5556, allocations: 0.8126 MB / 1.223 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/0.5557, allocations: 4 kB / 1.223 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007833/0.5564, allocations: 355.4 kB / 1.223 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005663/0.5621, allocations: 1.202 MB / 1.224 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005151/0.5673, allocations: 3.743 MB / 1.228 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/0.5683, allocations: 1.405 MB / 1.23 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001509/0.5698, allocations: 385.4 kB / 1.23 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003348/0.5702, allocations: 147.4 kB / 1.23 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of SimCode: time 9.72e-07/0.5702, allocations: 4 kB / 1.23 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of Templates: time 0.6328/1.203, allocations: 39.84 MB / 1.269 GB, free: 169.6 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)