Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001095/0.001095, allocations: 103.9 kB / 16.4 MB, free: 6.504 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.001209/0.001209, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.253/1.253, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6846/0.6846, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 64.97 kB / 0.5577 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.135, allocations: 76.18 MB / 0.6321 GB, free: 4.383 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07833/0.2134, allocations: 77.14 MB / 0.7074 GB, free: 6.965 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0266/0.24, allocations: 18.89 MB / 0.7259 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004816/0.2449, allocations: 107.4 kB / 0.726 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003918/0.2489, allocations: 1.25 MB / 0.7272 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00991/0.2588, allocations: 3.63 MB / 0.7307 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004841/0.2637, allocations: 2.093 MB / 0.7328 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008208/0.2719, allocations: 6.675 MB / 0.7393 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002786/0.2747, allocations: 2.098 MB / 0.7413 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004676/0.2794, allocations: 2.374 MB / 0.7437 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3362/0.6156, allocations: 1.755 MB / 0.7454 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0008802/0.6165, allocations: 199.6 kB / 0.7456 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004049/0.6205, allocations: 1.617 MB / 0.7471 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005252/0.6211, allocations: 0.5356 MB / 0.7477 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001507/0.6226, allocations: 1.247 MB / 0.7489 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005912/0.6285, allocations: 3.732 MB / 0.7525 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.6285, allocations: 1.922 kB / 0.7525 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.284e-06/0.6286, allocations: 0 / 0.7525 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.497e-05/0.6286, allocations: 0 / 0.7525 GB, free: 11.41 MB / 0.5762 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.005094/0.6337, allocations: 2.717 MB / 0.7552 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.6338, allocations: 7.469 kB / 0.7552 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007575/0.6345, allocations: 266.1 kB / 0.7554 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003196/0.6378, allocations: 2.011 MB / 0.7574 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.983e-05/0.6379, allocations: 113.7 kB / 0.7575 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000192/0.6381, allocations: 148 kB / 0.7577 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002916/0.641, allocations: 1.518 MB / 0.7591 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.503e-05/0.641, allocations: 5 kB / 0.7591 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001314/0.6412, allocations: 59.95 kB / 0.7592 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.13e-05/0.6413, allocations: 42.23 kB / 0.7592 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002175/0.6434, allocations: 1.127 MB / 0.7603 GB, free: 9.305 MB / 0.5762 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.008396/0.6518, allocations: 7.598 MB / 0.7678 GB, free: 21.06 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009307/0.6528, allocations: 473 kB / 0.7682 GB, free: 21.03 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005897/0.6534, allocations: 333 kB / 0.7685 GB, free: 21.02 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008725/0.6543, allocations: 1.154 MB / 0.7697 GB, free: 19.7 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.6543, allocations: 51.75 kB / 0.7697 GB, free: 19.66 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=59): time 2.625e-06/0.6543, allocations: 0 / 0.7697 GB, free: 19.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=59): time 0.00239/0.6567, allocations: 0.9608 MB / 0.7706 GB, free: 19.51 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.6568, allocations: 61.16 kB / 0.7707 GB, free: 19.45 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002304/0.6591, allocations: 1.785 MB / 0.7724 GB, free: 19.22 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001013/0.6592, allocations: 42.02 kB / 0.7725 GB, free: 19.19 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006745/0.6599, allocations: 0.9284 MB / 0.7734 GB, free: 18.87 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002259/0.6601, allocations: 221.9 kB / 0.7736 GB, free: 18.73 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002991/0.6604, allocations: 229.5 kB / 0.7738 GB, free: 18.7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.6606, allocations: 348.2 kB / 0.7742 GB, free: 18.4 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006562/0.6612, allocations: 324.7 kB / 0.7745 GB, free: 18.39 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008609/0.6621, allocations: 0.6908 MB / 0.7751 GB, free: 17.98 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/0.6635, allocations: 1.007 MB / 0.7761 GB, free: 17.59 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.6635, allocations: 3.688 kB / 0.7761 GB, free: 17.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002013/0.6655, allocations: 1.22 MB / 0.7773 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.6656, allocations: 9.781 kB / 0.7773 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/0.6656, allocations: 11.84 kB / 0.7773 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.051e-05/0.6656, allocations: 13.66 kB / 0.7774 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009485/0.6666, allocations: 291.3 kB / 0.7776 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.36e-05/0.6666, allocations: 26.39 kB / 0.7777 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/0.668, allocations: 165.5 kB / 0.7778 GB, free: 17.37 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.259e-05/0.668, allocations: 51.05 kB / 0.7779 GB, free: 17.37 MB / 0.5919 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.0006741/0.6687, allocations: 437.4 kB / 0.7783 GB, free: 17.25 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002638/0.669, allocations: 195.6 kB / 0.7785 GB, free: 17.15 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001577/0.6706, allocations: 0.8657 MB / 0.7793 GB, free: 17.06 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.717e-05/0.6706, allocations: 9.719 kB / 0.7793 GB, free: 17.06 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.6706, allocations: 0 / 0.7793 GB, free: 17.06 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001194/0.6718, allocations: 0.7972 MB / 0.7801 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003563/0.6754, allocations: 2.448 MB / 0.7825 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.6754, allocations: 2.5 kB / 0.7825 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007043/0.6761, allocations: 185.2 kB / 0.7827 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-06/0.6761, allocations: 2 kB / 0.7827 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.69e-05/0.6762, allocations: 23.98 kB / 0.7827 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/0.6762, allocations: 8.406 kB / 0.7827 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.6762, allocations: 2.5 kB / 0.7827 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002/0.6782, allocations: 1.331 MB / 0.784 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005942/0.6788, allocations: 370.1 kB / 0.7844 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002259/0.679, allocations: 12.97 kB / 0.7844 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009475/0.68, allocations: 73.72 kB / 0.7844 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.652e-05/0.6801, allocations: 45.47 kB / 0.7845 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.915e-05/0.6802, allocations: 34.92 kB / 0.7845 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001324/0.6815, allocations: 1.246 MB / 0.7857 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6815, allocations: 0 / 0.7857 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001704/0.6832, allocations: 0.6519 MB / 0.7864 GB, free: 15.56 MB / 0.5919 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.0009921/0.6842, allocations: 0.6134 MB / 0.787 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001431/0.6857, allocations: 0.8193 MB / 0.7878 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.6857, allocations: 1.125 kB / 0.7878 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006077/0.6863, allocations: 360.2 kB / 0.7881 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004682/0.691, allocations: 1.194 MB / 0.7893 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003673/0.6947, allocations: 3.057 MB / 0.7923 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007949/0.6955, allocations: 1.411 MB / 0.7936 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001287/0.6968, allocations: 380.5 kB / 0.794 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002741/0.697, allocations: 152.2 kB / 0.7942 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of SimCode: time 6.21e-07/0.6971, allocations: 0 / 0.7942 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of Templates: time 0.06235/0.7594, allocations: 41.92 MB / 0.8351 GB, free: 13.79 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)