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.001309/0.001309, allocations: 99.69 kB / 15.98 MB, free: 6.34 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.001417/0.001417, allocations: 199.2 kB / 16.91 MB, free: 6.184 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.344/1.344, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7447/0.7447, allocations: 122.9 MB / 413.6 MB, free: 44 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001272, allocations: 59.89 kB / 0.4906 GB, free: 7.805 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.3787, allocations: 77.92 MB / 0.5667 GB, free: 32.03 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.06771/0.4464, allocations: 76.48 MB / 0.6414 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0265/0.473, allocations: 18.77 MB / 0.6597 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004796/0.4778, allocations: 99.38 kB / 0.6598 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004681/0.4826, allocations: 1.08 MB / 0.6609 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.015/0.4976, allocations: 3.39 MB / 0.6642 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008281/0.5059, allocations: 1.929 MB / 0.6661 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01324/0.5192, allocations: 6.721 MB / 0.6726 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004807/0.524, allocations: 2.069 MB / 0.6747 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008181/0.5322, allocations: 2.333 MB / 0.6769 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004069/0.5363, allocations: 1.812 MB / 0.6787 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0006205/0.537, allocations: 200 kB / 0.6789 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005429/0.5424, allocations: 1.645 MB / 0.6805 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008/0.5432, allocations: 0.5371 MB / 0.681 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002734/0.546, allocations: 1.252 MB / 0.6823 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.008101/0.5541, allocations: 3.724 MB / 0.6859 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.5541, allocations: 0 / 0.6859 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5542, allocations: 4 kB / 0.6859 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.67e-05/0.5542, allocations: 0 / 0.6859 GB, free: 0.6562 MB / 0.5137 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.00595/0.5602, allocations: 2.707 MB / 0.6885 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.5602, allocations: 12.62 kB / 0.6885 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.5613, allocations: 265.9 kB / 0.6888 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004582/0.5659, allocations: 1.975 MB / 0.6907 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001433/0.5661, allocations: 110.7 kB / 0.6908 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003222/0.5664, allocations: 147.9 kB / 0.691 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004063/0.5705, allocations: 1.516 MB / 0.6925 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.017e-05/0.5706, allocations: 7.938 kB / 0.6925 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002098/0.5708, allocations: 59.98 kB / 0.6925 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.716e-05/0.5709, allocations: 43.98 kB / 0.6926 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003264/0.5741, allocations: 1.122 MB / 0.6937 GB, free: 8.5 MB / 0.5294 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.01195/0.5861, allocations: 7.571 MB / 0.7011 GB, free: 360 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/0.5876, allocations: 485.4 kB / 0.7015 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009802/0.5886, allocations: 330.3 kB / 0.7018 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001239/0.5898, allocations: 1.156 MB / 0.703 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.251e-05/0.5899, allocations: 39.12 kB / 0.703 GB, free: 14.08 MB / 0.545 GB Notification: Performance of pre-optimization done (n=59): time 3.818e-06/0.5899, allocations: 0 / 0.703 GB, free: 14.08 MB / 0.545 GB Notification: Performance of matching and sorting (n=59): time 0.003652/0.5936, allocations: 0.9652 MB / 0.7039 GB, free: 13.11 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.5937, allocations: 55.97 kB / 0.704 GB, free: 13.04 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003662/0.5973, allocations: 1.755 MB / 0.7057 GB, free: 11.25 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001592/0.5975, allocations: 49.7 kB / 0.7058 GB, free: 11.19 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001236/0.5988, allocations: 0.9316 MB / 0.7067 GB, free: 10.25 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00034/0.5991, allocations: 220.9 kB / 0.7069 GB, free: 10.03 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000471/0.5996, allocations: 226.7 kB / 0.7071 GB, free: 9.805 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002227/0.5998, allocations: 353.9 kB / 0.7074 GB, free: 9.453 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/0.601, allocations: 330.4 kB / 0.7077 GB, free: 9.129 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001581/0.6026, allocations: 0.6821 MB / 0.7084 GB, free: 8.293 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002414/0.605, allocations: 1.012 MB / 0.7094 GB, free: 7.145 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/0.605, allocations: 4 kB / 0.7094 GB, free: 7.141 MB / 0.545 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.003724/0.6088, allocations: 1.217 MB / 0.7106 GB, free: 5.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/0.6088, allocations: 8 kB / 0.7106 GB, free: 5.902 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.107e-05/0.6088, allocations: 12 kB / 0.7106 GB, free: 5.891 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.858e-05/0.6089, allocations: 20.75 kB / 0.7106 GB, free: 5.871 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/0.6105, allocations: 291.5 kB / 0.7109 GB, free: 5.586 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.54e-05/0.6106, allocations: 19.94 kB / 0.7109 GB, free: 5.566 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002594/0.6132, allocations: 242.4 kB / 0.7112 GB, free: 5.328 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/0.6133, allocations: 51.98 kB / 0.7112 GB, free: 5.277 MB / 0.545 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.001114/0.6145, allocations: 441.4 kB / 0.7116 GB, free: 4.836 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005397/0.615, allocations: 189.7 kB / 0.7118 GB, free: 4.648 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00262/0.6176, allocations: 0.8655 MB / 0.7127 GB, free: 3.781 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.786e-05/0.6177, allocations: 8 kB / 0.7127 GB, free: 3.773 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.6177, allocations: 0 / 0.7127 GB, free: 3.773 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002006/0.6197, allocations: 0.7957 MB / 0.7134 GB, free: 2.93 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006044/0.6258, allocations: 2.428 MB / 0.7158 GB, free: 424 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/0.6258, allocations: 3.938 kB / 0.7158 GB, free: 420 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001209/0.627, allocations: 188 kB / 0.716 GB, free: 232 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.488e-05/0.627, allocations: 4 kB / 0.716 GB, free: 228 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-05/0.6271, allocations: 16 kB / 0.716 GB, free: 212 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-05/0.6271, allocations: 4 kB / 0.716 GB, free: 208 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-05/0.6271, allocations: 7.984 kB / 0.716 GB, free: 200 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003642/0.6308, allocations: 1.331 MB / 0.7173 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001011/0.6318, allocations: 366.4 kB / 0.7177 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003485/0.6322, allocations: 16 kB / 0.7177 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001882/0.6341, allocations: 119.7 kB / 0.7178 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001726/0.6343, allocations: 52.42 kB / 0.7179 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.6344, allocations: 35.98 kB / 0.7179 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002503/0.6369, allocations: 1.22 MB / 0.7191 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6369, allocations: 0 / 0.7191 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002797/0.6397, allocations: 0.6395 MB / 0.7197 GB, free: 12.34 MB / 0.5606 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.001635/0.6414, allocations: 0.5953 MB / 0.7203 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002254/0.6436, allocations: 0.8936 MB / 0.7212 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.6437, allocations: 0 / 0.7212 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007576/0.6444, allocations: 356.4 kB / 0.7215 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006165/0.6506, allocations: 1.209 MB / 0.7227 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005925/0.6566, allocations: 3.73 MB / 0.7263 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001063/0.6577, allocations: 1.405 MB / 0.7277 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001729/0.6594, allocations: 376.2 kB / 0.7281 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003172/0.6597, allocations: 155.4 kB / 0.7282 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of SimCode: time 1.252e-06/0.6598, allocations: 0 / 0.7282 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of Templates: time 0.3343/0.9941, allocations: 40.75 MB / 0.768 GB, free: 153.2 MB / 0.5762 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)