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.001423/0.001424, 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.001202/0.001202, allocations: 191.9 kB / 16.14 MB, free: 6.66 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.417/1.417, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.843/2.843, allocations: 472.6 MB / 0.7447 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 65.56 kB / 0.9114 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3573, 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.125/0.4823, allocations: 76.67 MB / 1.142 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02885/0.5112, allocations: 18.97 MB / 1.161 GB, free: 11.02 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004935/0.5162, allocations: 99.38 kB / 1.161 GB, free: 10.92 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004418/0.5207, allocations: 1.033 MB / 1.162 GB, free: 9.879 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01164/0.5324, allocations: 3.383 MB / 1.165 GB, free: 6.484 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00661/0.539, allocations: 1.901 MB / 1.167 GB, free: 4.602 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01315/0.5522, allocations: 8.882 MB / 1.176 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004203/0.5564, allocations: 1.725 MB / 1.178 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005436/0.5619, allocations: 1.94 MB / 1.179 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004211/0.5661, allocations: 1.769 MB / 1.181 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0006954/0.5668, allocations: 96 kB / 1.181 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004858/0.5717, allocations: 1.473 MB / 1.183 GB, free: 4.625 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0008915/0.5726, allocations: 446 kB / 1.183 GB, free: 4.188 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002817/0.5754, allocations: 1.139 MB / 1.184 GB, free: 3.043 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.006431/0.5819, allocations: 3.646 MB / 1.188 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.5819, allocations: 0 / 1.188 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5819, allocations: 0 / 1.188 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001263/0.5821, allocations: 0 / 1.188 GB, free: 15.39 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.006744/0.5888, allocations: 2.711 MB / 1.19 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.5889, allocations: 8.031 kB / 1.19 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000888/0.5898, allocations: 265.9 kB / 1.191 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003169/0.5929, allocations: 1.98 MB / 1.193 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-05/0.593, allocations: 102.7 kB / 1.193 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000178/0.5932, allocations: 147.9 kB / 1.193 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00264/0.5959, allocations: 1.52 MB / 1.194 GB, free: 8.465 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.822e-05/0.5959, allocations: 3.938 kB / 1.194 GB, free: 8.461 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001266/0.5961, allocations: 60 kB / 1.194 GB, free: 8.402 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-05/0.5961, allocations: 36 kB / 1.194 GB, free: 8.367 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002179/0.5983, allocations: 1.126 MB / 1.196 GB, free: 7.234 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.008095/0.6064, allocations: 7.575 MB / 1.203 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009693/0.6074, allocations: 484.4 kB / 1.203 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006341/0.6081, allocations: 330.3 kB / 1.204 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001098/0.6092, allocations: 1.152 MB / 1.205 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.379e-05/0.6092, allocations: 43.12 kB / 1.205 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=59): time 3.146e-06/0.6092, allocations: 0 / 1.205 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of matching and sorting (n=59): time 0.002441/0.6117, allocations: 0.9652 MB / 1.206 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.6117, allocations: 63.97 kB / 1.206 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002641/0.6144, allocations: 1.755 MB / 1.208 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.359e-05/0.6145, allocations: 45.7 kB / 1.208 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008068/0.6153, allocations: 0.9316 MB / 1.209 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002617/0.6156, allocations: 217 kB / 1.209 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003481/0.6159, allocations: 230.6 kB / 1.209 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002537/0.6162, allocations: 345.9 kB / 1.209 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00071/0.6169, allocations: 334.4 kB / 1.21 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00108/0.618, allocations: 0.6937 MB / 1.21 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001736/0.6197, allocations: 1.008 MB / 1.211 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/0.6198, allocations: 4 kB / 1.211 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002483/0.6222, allocations: 1.214 MB / 1.212 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.835e-05/0.6223, allocations: 8 kB / 1.212 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.462e-05/0.6223, allocations: 12 kB / 1.213 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.04e-05/0.6224, allocations: 20 kB / 1.213 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/0.6234, allocations: 291.5 kB / 1.213 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.328e-05/0.6235, allocations: 19.94 kB / 1.213 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001966/0.6255, allocations: 238.9 kB / 1.213 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.6256, allocations: 55.98 kB / 1.213 GB, free: 4.008 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.0008186/0.6264, allocations: 434 kB / 1.214 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004518/0.6269, allocations: 197.7 kB / 1.214 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001824/0.6287, allocations: 0.8652 MB / 1.215 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.67e-05/0.6287, allocations: 12 kB / 1.215 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.6287, allocations: 4 kB / 1.215 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001335/0.6301, allocations: 0.784 MB / 1.215 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004761/0.6349, allocations: 2.431 MB / 1.218 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/0.6349, allocations: 3.938 kB / 1.218 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008079/0.6357, allocations: 188 kB / 1.218 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.19e-05/0.6357, allocations: 4 kB / 1.218 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.291e-05/0.6358, allocations: 23.98 kB / 1.218 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.6358, allocations: 4 kB / 1.218 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.6358, allocations: 7.938 kB / 1.218 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002447/0.6382, allocations: 1.335 MB / 1.219 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007558/0.639, allocations: 366.4 kB / 1.22 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003198/0.6393, allocations: 20 kB / 1.22 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/0.6406, allocations: 111.7 kB / 1.22 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.6407, allocations: 44.5 kB / 1.22 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.642e-05/0.6408, allocations: 43.91 kB / 1.22 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001858/0.6427, allocations: 1.216 MB / 1.221 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6427, allocations: 3.938 kB / 1.221 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001984/0.6447, allocations: 0.6434 MB / 1.222 GB, free: 11.05 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.001495/0.6462, allocations: 0.5807 MB / 1.222 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001796/0.648, allocations: 0.8117 MB / 1.223 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.648, allocations: 0 / 1.223 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007524/0.6488, allocations: 360.4 kB / 1.223 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00547/0.6542, allocations: 1.2 MB / 1.224 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005621/0.6599, allocations: 3.736 MB / 1.228 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001099/0.661, allocations: 1.413 MB / 1.23 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001754/0.6628, allocations: 382 kB / 1.23 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003909/0.6632, allocations: 151.3 kB / 1.23 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of SimCode: time 1.042e-06/0.6632, allocations: 0 / 1.23 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of Templates: time 0.6485/1.312, allocations: 39.85 MB / 1.269 GB, free: 169.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)