Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0009889/0.000989, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007609/0.007609, allocations: 170 kB / 16.26 MB, free: 6.613 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.394/1.394, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.873/2.873, allocations: 473.4 MB / 0.7469 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003414/0.0003415, allocations: 17.16 kB / 0.9158 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3579, allocations: 162.2 MB / 1.074 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07657/0.4345, allocations: 75.31 MB / 1.148 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02686/0.4614, allocations: 18.76 MB / 1.166 GB, free: 9.148 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004361/0.4658, allocations: 99.31 kB / 1.166 GB, free: 9.051 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004219/0.4701, allocations: 1.026 MB / 1.167 GB, free: 8.02 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01152/0.4816, allocations: 3.383 MB / 1.17 GB, free: 4.625 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.007055/0.4887, allocations: 1.905 MB / 1.172 GB, free: 2.738 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01309/0.5018, allocations: 8.879 MB / 1.181 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00376/0.5056, allocations: 1.687 MB / 1.183 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005336/0.511, allocations: 1.89 MB / 1.184 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003768/0.5148, allocations: 1.703 MB / 1.186 GB, free: 4.496 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0006886/0.5155, allocations: 72 kB / 1.186 GB, free: 4.426 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004696/0.5202, allocations: 1.438 MB / 1.188 GB, free: 2.984 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0008636/0.5211, allocations: 410 kB / 1.188 GB, free: 2.582 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002567/0.5237, allocations: 1.121 MB / 1.189 GB, free: 1.449 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.007658/0.5314, allocations: 3.574 MB / 1.193 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.5314, allocations: 4 kB / 1.193 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of FrontEnd: time 4.469e-06/0.5314, allocations: 0 / 1.193 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001285/0.5316, allocations: 3.844 kB / 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.005221/0.5368, allocations: 2.285 MB / 1.195 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.5368, allocations: 8.031 kB / 1.195 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009613/0.5378, allocations: 262 kB / 1.195 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004692/0.5425, allocations: 1.984 MB / 1.197 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/0.5427, allocations: 102.7 kB / 1.197 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00037/0.5431, allocations: 148 kB / 1.197 GB, free: 8.961 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003749/0.5468, allocations: 1.536 MB / 1.199 GB, free: 7.348 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.66e-05/0.5469, allocations: 3.906 kB / 1.199 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002075/0.5471, allocations: 63.98 kB / 1.199 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.238e-05/0.5472, allocations: 43.94 kB / 1.199 GB, free: 7.238 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002916/0.5501, allocations: 1.162 MB / 1.2 GB, free: 6.07 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.01152/0.5617, allocations: 7.602 MB / 1.207 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.563, allocations: 0.4966 MB / 1.208 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007605/0.5638, allocations: 354.3 kB / 1.208 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009956/0.5648, allocations: 1.152 MB / 1.209 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.84e-05/0.5648, allocations: 43.12 kB / 1.209 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=59): time 2.756e-06/0.5649, allocations: 0 / 1.209 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of matching and sorting (n=59): time 0.002666/0.5675, allocations: 1.028 MB / 1.21 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.542e-05/0.5676, allocations: 59.97 kB / 1.21 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003562/0.5712, allocations: 1.755 MB / 1.212 GB, free: 8.672 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001363/0.5713, allocations: 41.7 kB / 1.212 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009374/0.5723, allocations: 0.9355 MB / 1.213 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002689/0.5726, allocations: 212.9 kB / 1.213 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.5727, allocations: 105.7 kB / 1.213 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.5729, allocations: 349.9 kB / 1.214 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008085/0.5737, allocations: 350.4 kB / 1.214 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001116/0.5748, allocations: 0.7095 MB / 1.215 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001818/0.5767, allocations: 1.055 MB / 1.216 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.966e-06/0.5767, allocations: 7.938 kB / 1.216 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002703/0.5794, allocations: 1.249 MB / 1.217 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.5794, allocations: 16.16 kB / 1.217 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.5795, allocations: 8 kB / 1.217 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.046e-05/0.5795, allocations: 16 kB / 1.217 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.5806, allocations: 315.6 kB / 1.217 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.207e-05/0.5806, allocations: 23.92 kB / 1.217 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/0.5823, allocations: 250.4 kB / 1.218 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.901e-05/0.5825, allocations: 55.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.0008561/0.5833, allocations: 437.3 kB / 1.218 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004488/0.5838, allocations: 193.7 kB / 1.218 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001989/0.5858, allocations: 0.9142 MB / 1.219 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/0.5858, allocations: 8 kB / 1.219 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.5858, allocations: 0 / 1.219 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001436/0.5872, allocations: 0.8425 MB / 1.22 GB, free: 240 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004731/0.592, allocations: 2.482 MB / 1.222 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.592, allocations: 4.188 kB / 1.222 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000816/0.5928, allocations: 211.7 kB / 1.223 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/0.5929, allocations: 4 kB / 1.223 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.627e-05/0.5929, allocations: 19.98 kB / 1.223 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.5929, allocations: 4 kB / 1.223 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/0.5929, allocations: 4 kB / 1.223 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002661/0.5956, allocations: 1.398 MB / 1.224 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008811/0.5965, allocations: 402.2 kB / 1.224 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003671/0.5969, allocations: 20 kB / 1.224 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001323/0.5982, allocations: 126.5 kB / 1.225 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.5983, allocations: 52.48 kB / 1.225 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.064e-05/0.5984, allocations: 35.97 kB / 1.225 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001912/0.6003, allocations: 1.216 MB / 1.226 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6004, allocations: 0 / 1.226 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001943/0.6023, allocations: 0.6395 MB / 1.226 GB, free: 9.453 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.001271/0.6036, allocations: 0.5981 MB / 1.227 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001908/0.6055, allocations: 0.8594 MB / 1.228 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.6055, allocations: 4.125 kB / 1.228 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008049/0.6063, allocations: 375.4 kB / 1.228 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006814/0.6132, allocations: 1.216 MB / 1.229 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005555/0.6187, allocations: 3.817 MB / 1.233 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001064/0.6198, allocations: 1.405 MB / 1.235 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001731/0.6216, allocations: 381.7 kB / 1.235 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004268/0.622, allocations: 147.4 kB / 1.235 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of SimCode: time 9.41e-07/0.622, allocations: 0 / 1.235 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of Templates: time 0.6373/1.259, allocations: 40.08 MB / 1.274 GB, free: 166.2 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_1.6_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)