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.001065/0.001065, allocations: 98.81 kB / 16.02 MB, free: 80 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.001565/0.001566, allocations: 184.2 kB / 16.92 MB, free: 6.754 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.494/1.494, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8319/0.8319, allocations: 126.9 MB / 418.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003342/0.0003342, allocations: 8 kB / 0.498 GB, free: 9.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4621/0.4625, allocations: 80.24 MB / 0.5763 GB, free: 7.91 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.0805/0.543, allocations: 75.4 MB / 0.65 GB, free: 11.88 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.03133/0.5744, allocations: 18.77 MB / 0.6683 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004207/0.5787, allocations: 99.31 kB / 0.6684 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003877/0.5826, allocations: 1.018 MB / 0.6694 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01098/0.5936, allocations: 3.37 MB / 0.6727 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006551/0.6001, allocations: 1.908 MB / 0.6745 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01434/0.6145, allocations: 8.745 MB / 0.6831 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003262/0.6178, allocations: 1.683 MB / 0.6847 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005201/0.623, allocations: 2.174 MB / 0.6869 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003024/0.626, allocations: 1.68 MB / 0.6885 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003043/0.6264, allocations: 72 kB / 0.6886 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004069/0.6304, allocations: 1.43 MB / 0.69 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005515/0.631, allocations: 414.1 kB / 0.6904 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001627/0.6326, allocations: 1.125 MB / 0.6915 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005149/0.6378, allocations: 3.584 MB / 0.695 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.6378, allocations: 0 / 0.695 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.924e-06/0.6378, allocations: 0 / 0.695 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.274e-05/0.6379, allocations: 0 / 0.695 GB, free: 13.66 MB / 0.5294 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.004315/0.6422, allocations: 2.297 MB / 0.6972 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.6422, allocations: 8.031 kB / 0.6972 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006653/0.6429, allocations: 269.5 kB / 0.6975 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003289/0.6462, allocations: 1.968 MB / 0.6994 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.6463, allocations: 106.7 kB / 0.6995 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002174/0.6465, allocations: 143.9 kB / 0.6996 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002933/0.6495, allocations: 1.544 MB / 0.7011 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.505e-05/0.6495, allocations: 3.938 kB / 0.7011 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001267/0.6497, allocations: 60 kB / 0.7012 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.292e-05/0.6497, allocations: 43.98 kB / 0.7012 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002471/0.6522, allocations: 1.165 MB / 0.7024 GB, free: 5.867 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.0093/0.6615, allocations: 7.908 MB / 0.7101 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.6626, allocations: 0.4888 MB / 0.7106 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007369/0.6634, allocations: 360.5 kB / 0.7109 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001054/0.6644, allocations: 1.152 MB / 0.712 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.279e-05/0.6645, allocations: 43.11 kB / 0.7121 GB, free: 10.99 MB / 0.545 GB Notification: Performance of pre-optimization done (n=59): time 3.296e-06/0.6645, allocations: 0 / 0.7121 GB, free: 10.99 MB / 0.545 GB Notification: Performance of matching and sorting (n=59): time 0.002475/0.667, allocations: 1.028 MB / 0.7131 GB, free: 9.957 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.845e-05/0.6671, allocations: 63.97 kB / 0.7131 GB, free: 9.883 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0026/0.6697, allocations: 1.752 MB / 0.7149 GB, free: 8.094 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001029/0.6698, allocations: 45.64 kB / 0.7149 GB, free: 8.043 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009322/0.6707, allocations: 0.9356 MB / 0.7158 GB, free: 7.098 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000269/0.671, allocations: 220.9 kB / 0.716 GB, free: 6.879 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.6712, allocations: 101.7 kB / 0.7161 GB, free: 6.773 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002006/0.6714, allocations: 345.9 kB / 0.7164 GB, free: 6.43 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008284/0.6722, allocations: 354.4 kB / 0.7168 GB, free: 6.082 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/0.6734, allocations: 0.7095 MB / 0.7175 GB, free: 5.219 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00184/0.6752, allocations: 1.055 MB / 0.7185 GB, free: 4.027 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/0.6753, allocations: 4 kB / 0.7185 GB, free: 4.023 MB / 0.545 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002655/0.6779, allocations: 1.253 MB / 0.7197 GB, free: 2.762 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/0.678, allocations: 16 kB / 0.7198 GB, free: 2.746 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/0.678, allocations: 8 kB / 0.7198 GB, free: 2.738 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.994e-05/0.678, allocations: 16 kB / 0.7198 GB, free: 2.723 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/0.6792, allocations: 315.6 kB / 0.7201 GB, free: 2.414 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.718e-05/0.6792, allocations: 23.92 kB / 0.7201 GB, free: 2.391 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001698/0.6809, allocations: 246.4 kB / 0.7203 GB, free: 2.148 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.681, allocations: 59.88 kB / 0.7204 GB, free: 2.09 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.0008429/0.6819, allocations: 433.5 kB / 0.7208 GB, free: 1.656 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003046/0.6822, allocations: 193.7 kB / 0.721 GB, free: 1.465 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002014/0.6842, allocations: 0.9079 MB / 0.7219 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.972e-05/0.6842, allocations: 11.98 kB / 0.7219 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.6842, allocations: 0 / 0.7219 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001559/0.6858, allocations: 0.8425 MB / 0.7227 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004627/0.6905, allocations: 2.479 MB / 0.7251 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.6905, allocations: 8.031 kB / 0.7251 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008555/0.6913, allocations: 207.7 kB / 0.7253 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.042e-05/0.6914, allocations: 4 kB / 0.7253 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-05/0.6914, allocations: 19.98 kB / 0.7254 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.6914, allocations: 4 kB / 0.7254 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.89e-06/0.6915, allocations: 4 kB / 0.7254 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002708/0.6942, allocations: 1.402 MB / 0.7267 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007859/0.695, allocations: 398.3 kB / 0.7271 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002068/0.6952, allocations: 27.94 kB / 0.7271 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/0.6964, allocations: 119.7 kB / 0.7273 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.6965, allocations: 60.36 kB / 0.7273 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.061e-05/0.6966, allocations: 31.98 kB / 0.7273 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001922/0.6985, allocations: 1.216 MB / 0.7285 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6985, allocations: 0 / 0.7285 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001851/0.7004, allocations: 0.6356 MB / 0.7292 GB, free: 8.875 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.00117/0.7016, allocations: 0.5922 MB / 0.7297 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001887/0.7034, allocations: 0.8594 MB / 0.7306 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.7035, allocations: 0 / 0.7306 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008038/0.7043, allocations: 375.6 kB / 0.7309 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006715/0.711, allocations: 1.209 MB / 0.7321 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005968/0.717, allocations: 3.825 MB / 0.7358 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001219/0.7182, allocations: 1.413 MB / 0.7372 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00181/0.7201, allocations: 382.3 kB / 0.7376 GB, free: 168 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003735/0.7204, allocations: 143.4 kB / 0.7377 GB, free: 24 kB / 0.5606 GB Notification: Performance of SimCode: time 1.062e-06/0.7205, allocations: 0 / 0.7377 GB, free: 24 kB / 0.5606 GB Notification: Performance of Templates: time 0.07628/0.7967, allocations: 40.1 MB / 0.7769 GB, free: 8.387 MB / 0.6075 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)