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.001374/0.001374, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 195.4 kB / 16.53 MB, free: 6.699 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.499/1.499, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.757/2.757, allocations: 472.6 MB / 0.7451 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 61.69 kB / 0.912 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3395, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07159/0.4112, allocations: 77.17 MB / 1.144 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02687/0.4381, allocations: 18.88 MB / 1.162 GB, free: 10.04 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00448/0.4426, allocations: 111.4 kB / 1.162 GB, free: 9.93 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00386/0.4466, allocations: 1.258 MB / 1.163 GB, free: 8.664 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01037/0.457, allocations: 3.626 MB / 1.167 GB, free: 5.023 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005535/0.4625, allocations: 2.072 MB / 1.169 GB, free: 2.969 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.008706/0.4712, allocations: 6.669 MB / 1.175 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003599/0.4749, allocations: 2.09 MB / 1.177 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005276/0.4802, allocations: 2.302 MB / 1.18 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00333/0.4835, allocations: 1.75 MB / 1.181 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0007855/0.4843, allocations: 200 kB / 1.182 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004717/0.489, allocations: 1.622 MB / 1.183 GB, free: 4.27 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0009465/0.49, allocations: 0.5293 MB / 1.184 GB, free: 3.738 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.003038/0.4931, allocations: 1.248 MB / 1.185 GB, free: 2.484 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.007571/0.5006, allocations: 3.696 MB / 1.189 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.5007, allocations: 0 / 1.189 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.883e-06/0.5007, allocations: 0 / 1.189 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.117e-05/0.5008, allocations: 0 / 1.189 GB, free: 14.78 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.00689/0.5077, allocations: 2.711 MB / 1.191 GB, free: 12 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.5077, allocations: 8.031 kB / 1.191 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008434/0.5086, allocations: 269.9 kB / 1.191 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002971/0.5116, allocations: 1.907 MB / 1.193 GB, free: 9.77 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.889e-05/0.5117, allocations: 110.7 kB / 1.193 GB, free: 9.66 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001786/0.5118, allocations: 140 kB / 1.194 GB, free: 9.523 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002443/0.5143, allocations: 1.52 MB / 1.195 GB, free: 7.926 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.347e-05/0.5143, allocations: 4 kB / 1.195 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/0.5145, allocations: 59.98 kB / 1.195 GB, free: 7.863 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.878e-05/0.5145, allocations: 36 kB / 1.195 GB, free: 7.828 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002188/0.5167, allocations: 1.13 MB / 1.196 GB, free: 6.691 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.008693/0.5254, allocations: 7.657 MB / 1.204 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.5265, allocations: 480.5 kB / 1.204 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006428/0.5271, allocations: 331.8 kB / 1.204 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008869/0.528, allocations: 1.156 MB / 1.206 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/0.5281, allocations: 43.12 kB / 1.206 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=59): time 3.707e-06/0.5281, allocations: 96 / 1.206 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of matching and sorting (n=59): time 0.00236/0.5304, allocations: 0.9651 MB / 1.207 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.5305, allocations: 55.97 kB / 1.207 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002665/0.5332, allocations: 1.787 MB / 1.208 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 8.418e-05/0.5333, allocations: 45.7 kB / 1.208 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008751/0.5342, allocations: 0.92 MB / 1.209 GB, free: 8.344 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002591/0.5344, allocations: 228.9 kB / 1.21 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003165/0.5347, allocations: 226.7 kB / 1.21 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.5349, allocations: 345.9 kB / 1.21 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007012/0.5356, allocations: 334.4 kB / 1.21 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/0.5366, allocations: 0.6899 MB / 1.211 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001676/0.5383, allocations: 1.008 MB / 1.212 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/0.5383, allocations: 4 kB / 1.212 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002541/0.5409, allocations: 1.217 MB / 1.213 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.5409, allocations: 8 kB / 1.213 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.871e-05/0.541, allocations: 16.88 kB / 1.213 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.231e-05/0.541, allocations: 19.94 kB / 1.213 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.542, allocations: 295.5 kB / 1.214 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.935e-05/0.5421, allocations: 19.94 kB / 1.214 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/0.5435, allocations: 166.4 kB / 1.214 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-05/0.5436, allocations: 55.98 kB / 1.214 GB, free: 3.426 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.0007771/0.5444, allocations: 438 kB / 1.214 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004653/0.5448, allocations: 193.7 kB / 1.214 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001955/0.5468, allocations: 0.8644 MB / 1.215 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.04e-05/0.5468, allocations: 8 kB / 1.215 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.5468, allocations: 0 / 1.215 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001361/0.5482, allocations: 0.7918 MB / 1.216 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004335/0.5526, allocations: 2.455 MB / 1.218 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.5526, allocations: 7.938 kB / 1.218 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008106/0.5534, allocations: 176 kB / 1.219 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.878e-06/0.5534, allocations: 8 kB / 1.219 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.482e-05/0.5535, allocations: 12 kB / 1.219 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.256e-06/0.5535, allocations: 8 kB / 1.219 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.5535, allocations: 3.938 kB / 1.219 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002571/0.5561, allocations: 1.335 MB / 1.22 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006786/0.5568, allocations: 366.5 kB / 1.22 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003382/0.5571, allocations: 19.94 kB / 1.22 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/0.5582, allocations: 71.75 kB / 1.22 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.5584, allocations: 48.5 kB / 1.22 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.523e-05/0.5585, allocations: 35.97 kB / 1.22 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001915/0.5604, allocations: 1.239 MB / 1.222 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5604, allocations: 4 kB / 1.222 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00189/0.5623, allocations: 0.6513 MB / 1.222 GB, free: 10.48 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.001319/0.5636, allocations: 0.61 MB / 1.223 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002064/0.5657, allocations: 0.8858 MB / 1.224 GB, free: 9 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.5657, allocations: 4 kB / 1.224 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007775/0.5665, allocations: 360.4 kB / 1.224 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005609/0.5721, allocations: 1.211 MB / 1.225 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004903/0.577, allocations: 3.105 MB / 1.228 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/0.5781, allocations: 1.405 MB / 1.23 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001572/0.5797, allocations: 378.1 kB / 1.23 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003633/0.5801, allocations: 147.4 kB / 1.23 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of SimCode: time 1.553e-06/0.5801, allocations: 0 / 1.23 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of Templates: time 0.5534/1.134, allocations: 41.78 MB / 1.271 GB, free: 168.5 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)