Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001099/0.001099, allocations: 110.2 kB / 16.37 MB, free: 6.012 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.001069/0.001068, allocations: 194.8 kB / 17.31 MB, free: 5.613 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.273/1.273, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002114/0.002114, allocations: 291.6 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9157/0.9157, allocations: 169.3 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00172/0.00172, allocations: 106 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1577, allocations: 86.97 MB / 0.6816 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.3378/0.4955, allocations: 77.13 MB / 0.7569 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02635/0.5219, allocations: 18.88 MB / 0.7754 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003974/0.5259, allocations: 113.1 kB / 0.7755 GB, free: 13.9 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003446/0.5294, allocations: 1.253 MB / 0.7767 GB, free: 12.83 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01008/0.5395, allocations: 3.627 MB / 0.7802 GB, free: 9.914 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005261/0.5448, allocations: 2.105 MB / 0.7823 GB, free: 7.914 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.009148/0.554, allocations: 6.667 MB / 0.7888 GB, free: 1.227 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003478/0.5575, allocations: 2.105 MB / 0.7909 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005283/0.5628, allocations: 2.307 MB / 0.7931 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003092/0.5659, allocations: 1.758 MB / 0.7948 GB, free: 11 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000664/0.5666, allocations: 200 kB / 0.795 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00535/0.5719, allocations: 1.618 MB / 0.7966 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0009508/0.5729, allocations: 0.541 MB / 0.7971 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002649/0.5755, allocations: 1.24 MB / 0.7983 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.007277/0.5828, allocations: 3.751 MB / 0.802 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.5829, allocations: 7.984 kB / 0.802 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5829, allocations: 0 / 0.802 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.52e-05/0.5829, allocations: 0 / 0.802 GB, free: 3.629 MB / 0.5606 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.004608/0.5876, allocations: 2.708 MB / 0.8047 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.5876, allocations: 8.031 kB / 0.8047 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006686/0.5883, allocations: 270 kB / 0.8049 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003231/0.5915, allocations: 2.02 MB / 0.8069 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.607e-05/0.5916, allocations: 106.7 kB / 0.807 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001801/0.5918, allocations: 155.9 kB / 0.8071 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002446/0.5943, allocations: 1.52 MB / 0.8086 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.226e-05/0.5943, allocations: 0 / 0.8086 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/0.5944, allocations: 56 kB / 0.8087 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.867e-05/0.5945, allocations: 40 kB / 0.8087 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002084/0.5966, allocations: 1.126 MB / 0.8098 GB, free: 11.43 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.008004/0.6046, allocations: 7.602 MB / 0.8172 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009049/0.6055, allocations: 473.1 kB / 0.8177 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005754/0.6061, allocations: 343.1 kB / 0.818 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000807/0.6069, allocations: 1.152 MB / 0.8192 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.607, allocations: 39.22 kB / 0.8192 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=59): time 2.415e-06/0.607, allocations: 3.938 kB / 0.8192 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59): time 0.002055/0.609, allocations: 0.9651 MB / 0.8201 GB, free: 12 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.6091, allocations: 55.97 kB / 0.8202 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002101/0.6112, allocations: 1.787 MB / 0.8219 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.98e-05/0.6113, allocations: 41.7 kB / 0.822 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007037/0.612, allocations: 0.9277 MB / 0.8229 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001932/0.6122, allocations: 220.9 kB / 0.8231 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002715/0.6125, allocations: 226.6 kB / 0.8233 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.6126, allocations: 353.9 kB / 0.8236 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000628/0.6133, allocations: 338.3 kB / 0.824 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008766/0.6141, allocations: 0.686 MB / 0.8246 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/0.6156, allocations: 1.008 MB / 0.8256 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.6156, allocations: 4 kB / 0.8256 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002098/0.6177, allocations: 1.213 MB / 0.8268 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.6178, allocations: 8.875 kB / 0.8268 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.6178, allocations: 8 kB / 0.8268 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.915e-05/0.6178, allocations: 20 kB / 0.8268 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009672/0.6188, allocations: 295.5 kB / 0.8271 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.956e-05/0.6188, allocations: 15.94 kB / 0.8271 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/0.6199, allocations: 166.4 kB / 0.8273 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.439e-05/0.62, allocations: 51.98 kB / 0.8273 GB, free: 8.246 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.0006395/0.6206, allocations: 441.4 kB / 0.8278 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002678/0.6209, allocations: 189.7 kB / 0.828 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001637/0.6226, allocations: 0.8684 MB / 0.8288 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.6226, allocations: 8 kB / 0.8288 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.6226, allocations: 4 kB / 0.8288 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001228/0.6238, allocations: 0.7957 MB / 0.8296 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0036/0.6274, allocations: 2.451 MB / 0.832 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.6275, allocations: 0 / 0.832 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007364/0.6282, allocations: 183.7 kB / 0.8322 GB, free: 3.172 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.6282, allocations: 4.219 kB / 0.8322 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.199e-05/0.6283, allocations: 20 kB / 0.8322 GB, free: 3.148 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.154e-06/0.6283, allocations: 7.984 kB / 0.8322 GB, free: 3.141 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.6283, allocations: 7.938 kB / 0.8322 GB, free: 3.133 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00211/0.6304, allocations: 1.328 MB / 0.8335 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005884/0.631, allocations: 370.4 kB / 0.8338 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002059/0.6312, allocations: 19.98 kB / 0.8339 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008869/0.6321, allocations: 63.86 kB / 0.8339 GB, free: 1.297 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.6322, allocations: 48.59 kB / 0.834 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.614e-05/0.6323, allocations: 35.97 kB / 0.834 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001517/0.6338, allocations: 1.239 MB / 0.8352 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6338, allocations: 0 / 0.8352 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001576/0.6354, allocations: 0.6512 MB / 0.8359 GB, free: 15.3 MB / 0.6075 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.001063/0.6365, allocations: 0.6387 MB / 0.8365 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001611/0.6381, allocations: 0.8124 MB / 0.8373 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.6381, allocations: 8.188 kB / 0.8373 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006701/0.6388, allocations: 354.9 kB / 0.8376 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004375/0.6432, allocations: 1.197 MB / 0.8388 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004508/0.6477, allocations: 3.051 MB / 0.8418 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009137/0.6486, allocations: 1.405 MB / 0.8431 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001217/0.6499, allocations: 388.1 kB / 0.8435 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00028/0.6501, allocations: 143.4 kB / 0.8436 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of SimCode: time 9.12e-07/0.6502, allocations: 0 / 0.8436 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of Templates: time 0.07005/0.7202, allocations: 41.69 MB / 0.8844 GB, free: 14.17 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)