Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.0009204/0.0009205, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0009782/0.0009787, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9999/0.9999, allocations: 143.3 MB / 434.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003126/0.0003127, allocations: 16 kB / 0.5158 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1461, allocations: 83.4 MB / 0.5973 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.308/0.4542, allocations: 64.43 MB / 0.6602 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02355/0.4778, allocations: 16.25 MB / 0.6761 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003674/0.4815, allocations: 93.53 kB / 0.6761 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004306/0.4858, allocations: 1.18 MB / 0.6773 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01205/0.4979, allocations: 3.545 MB / 0.6808 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007567/0.5055, allocations: 2.305 MB / 0.683 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009058/0.5145, allocations: 3.874 MB / 0.6868 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003581/0.5181, allocations: 1.465 MB / 0.6882 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004911/0.5231, allocations: 1.64 MB / 0.6898 GB, free: 396 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003149/0.5263, allocations: 1.079 MB / 0.6909 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0006419/0.5269, allocations: 73.5 kB / 0.691 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005412/0.5323, allocations: 1.015 MB / 0.6919 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001143/0.5335, allocations: 374.9 kB / 0.6923 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001738/0.5353, allocations: 495.4 kB / 0.6928 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006395/0.5417, allocations: 2.815 MB / 0.6955 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.5417, allocations: 1.188 kB / 0.6955 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.507e-06/0.5417, allocations: 0.5625 kB / 0.6955 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001475/0.5419, allocations: 0 / 0.6955 GB, free: 14.5 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.007296/0.5492, allocations: 2.319 MB / 0.6978 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.5492, allocations: 8.844 kB / 0.6978 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001337/0.5506, allocations: 266.3 kB / 0.6981 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005192/0.5558, allocations: 1.798 MB / 0.6998 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002224/0.556, allocations: 109.2 kB / 0.6999 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005096/0.5566, allocations: 146.5 kB / 0.7 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003713/0.5603, allocations: 1.517 MB / 0.7015 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.301e-05/0.5603, allocations: 6 kB / 0.7015 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001938/0.5605, allocations: 58.69 kB / 0.7016 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-05/0.5606, allocations: 35.53 kB / 0.7016 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002734/0.5634, allocations: 1.161 MB / 0.7028 GB, free: 10.48 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.009997/0.5734, allocations: 7.664 MB / 0.7102 GB, free: 3.586 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.5744, allocations: 488.5 kB / 0.7107 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008139/0.5752, allocations: 1.153 MB / 0.7118 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.5753, allocations: 44 kB / 0.7119 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=59): time 2.405e-06/0.5753, allocations: 0 / 0.7119 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of matching and sorting (n=59): time 0.00248/0.5778, allocations: 1.024 MB / 0.7129 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.5778, allocations: 57.34 kB / 0.7129 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002779/0.5806, allocations: 1.827 MB / 0.7147 GB, free: 396 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001183/0.5808, allocations: 43.8 kB / 0.7148 GB, free: 352 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008238/0.5816, allocations: 0.9356 MB / 0.7157 GB, free: 15.52 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002469/0.5818, allocations: 226.1 kB / 0.7159 GB, free: 15.32 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.34e-05/0.5819, allocations: 19.94 kB / 0.7159 GB, free: 15.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.582, allocations: 344.3 kB / 0.7162 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007376/0.5828, allocations: 347.5 kB / 0.7166 GB, free: 14.81 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009893/0.5838, allocations: 0.7049 MB / 0.7173 GB, free: 14.18 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008333/0.5846, allocations: 464 kB / 0.7177 GB, free: 13.96 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/0.5846, allocations: 2.625 kB / 0.7177 GB, free: 13.96 MB / 0.545 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002331/0.587, allocations: 1.251 MB / 0.7189 GB, free: 13.34 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.587, allocations: 10.56 kB / 0.7189 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.587, allocations: 14.14 kB / 0.7189 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/0.587, allocations: 15.44 kB / 0.719 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.5881, allocations: 320.9 kB / 0.7193 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-05/0.5882, allocations: 19.59 kB / 0.7193 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/0.5901, allocations: 252 kB / 0.7195 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/0.5902, allocations: 52.52 kB / 0.7196 GB, free: 13.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008584/0.591, allocations: 444.5 kB / 0.72 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003881/0.5914, allocations: 192.5 kB / 0.7202 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001885/0.5933, allocations: 0.9088 MB / 0.7211 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/0.5934, allocations: 8 kB / 0.7211 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/0.5934, allocations: 3.953 kB / 0.7211 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001374/0.5948, allocations: 0.8308 MB / 0.7219 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004694/0.5995, allocations: 2.525 MB / 0.7244 GB, free: 8.531 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.5995, allocations: 4.188 kB / 0.7244 GB, free: 8.527 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008374/0.6003, allocations: 211.7 kB / 0.7246 GB, free: 8.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.158e-05/0.6004, allocations: 4 kB / 0.7246 GB, free: 8.316 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.657e-05/0.6004, allocations: 16 kB / 0.7246 GB, free: 8.301 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-05/0.6004, allocations: 7.984 kB / 0.7246 GB, free: 8.293 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-06/0.6004, allocations: 11.94 kB / 0.7246 GB, free: 8.281 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002559/0.603, allocations: 1.544 MB / 0.7261 GB, free: 6.645 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009992/0.604, allocations: 430.4 kB / 0.7265 GB, free: 6.203 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004609/0.6045, allocations: 15.94 kB / 0.7265 GB, free: 6.188 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001562/0.6061, allocations: 120.5 kB / 0.7267 GB, free: 6.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.6062, allocations: 60.39 kB / 0.7267 GB, free: 6.012 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.475e-05/0.6063, allocations: 35.97 kB / 0.7267 GB, free: 5.977 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002172/0.6085, allocations: 1.271 MB / 0.728 GB, free: 4.688 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.71e-07/0.6085, allocations: 0 / 0.728 GB, free: 4.688 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002454/0.6109, allocations: 0.6591 MB / 0.7286 GB, free: 4.027 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00139/0.6123, allocations: 0.6258 MB / 0.7292 GB, free: 3.414 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001912/0.6143, allocations: 0.8469 MB / 0.7301 GB, free: 2.566 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.6143, allocations: 0 / 0.7301 GB, free: 2.566 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007752/0.6151, allocations: 376.4 kB / 0.7304 GB, free: 2.199 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006529/0.6216, allocations: 1.193 MB / 0.7316 GB, free: 1.027 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006093/0.6277, allocations: 3.684 MB / 0.7352 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001243/0.629, allocations: 1.444 MB / 0.7366 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00225/0.6313, allocations: 392.5 kB / 0.737 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004718/0.6317, allocations: 151.4 kB / 0.7371 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of SimCode: time 8.51e-07/0.6318, allocations: 0 / 0.7371 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.06516/0.6969, allocations: 40.39 MB / 0.7766 GB, free: 3.504 MB / 0.5919 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) Environment - environmentSimulation: