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.001357/0.001363, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001268/0.001268, allocations: 194.1 kB / 16.25 MB, free: 6.637 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.393/1.393, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002069/0.002069, allocations: 286.7 kB / 290.4 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9739/0.9739, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 90.53 kB / 0.5947 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1799, allocations: 86.98 MB / 0.6796 GB, free: 1.078 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07417/0.2541, allocations: 76.48 MB / 0.7543 GB, free: 4.355 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02493/0.2791, allocations: 18.74 MB / 0.7726 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00347/0.2826, allocations: 99.38 kB / 0.7727 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003203/0.2859, allocations: 1.088 MB / 0.7738 GB, free: 380 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.3304/0.6163, allocations: 3.385 MB / 0.7771 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004936/0.6212, allocations: 1.929 MB / 0.779 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01036/0.6316, allocations: 6.716 MB / 0.7855 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004232/0.6359, allocations: 2.076 MB / 0.7875 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00796/0.6439, allocations: 2.332 MB / 0.7898 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004442/0.6483, allocations: 1.825 MB / 0.7916 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.00096/0.6493, allocations: 197.2 kB / 0.7918 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0055/0.6548, allocations: 1.637 MB / 0.7934 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001246/0.6561, allocations: 0.537 MB / 0.7939 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.003256/0.6594, allocations: 1.252 MB / 0.7951 GB, free: 7.668 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.007613/0.667, allocations: 3.736 MB / 0.7988 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.667, allocations: 3.938 kB / 0.7988 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.345e-06/0.667, allocations: 5.469 kB / 0.7988 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001404/0.6672, allocations: 0 / 0.7988 GB, free: 7.168 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.008088/0.6753, allocations: 2.717 MB / 0.8015 GB, free: 21.87 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.6753, allocations: 9.219 kB / 0.8015 GB, free: 21.87 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001425/0.6768, allocations: 262.7 kB / 0.8017 GB, free: 21.75 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004693/0.6815, allocations: 1.98 MB / 0.8036 GB, free: 21.25 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001473/0.6817, allocations: 110.1 kB / 0.8037 GB, free: 21.25 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003932/0.6821, allocations: 143.2 kB / 0.8039 GB, free: 21.25 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003843/0.6859, allocations: 1.517 MB / 0.8054 GB, free: 21.02 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.45e-05/0.686, allocations: 4.656 kB / 0.8054 GB, free: 21.02 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002141/0.6862, allocations: 62.2 kB / 0.8054 GB, free: 21.02 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.375e-05/0.6863, allocations: 35.66 kB / 0.8055 GB, free: 21.02 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002577/0.6889, allocations: 1.124 MB / 0.8066 GB, free: 21 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.0108/0.6997, allocations: 7.568 MB / 0.814 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009561/0.7007, allocations: 483.6 kB / 0.8144 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005915/0.7013, allocations: 329.9 kB / 0.8147 GB, free: 16.69 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009434/0.7023, allocations: 1.156 MB / 0.8159 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.711e-05/0.7023, allocations: 49.45 kB / 0.8159 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=59): time 2.605e-06/0.7023, allocations: 0 / 0.8159 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59): time 0.002724/0.7051, allocations: 0.9611 MB / 0.8168 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.7051, allocations: 57.88 kB / 0.8169 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003028/0.7082, allocations: 1.762 MB / 0.8186 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001664/0.7083, allocations: 42.8 kB / 0.8187 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007604/0.7091, allocations: 0.929 MB / 0.8196 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002396/0.7094, allocations: 222.3 kB / 0.8198 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003216/0.7097, allocations: 229.6 kB / 0.82 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.7098, allocations: 346.8 kB / 0.8203 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006338/0.7105, allocations: 331.9 kB / 0.8206 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008332/0.7113, allocations: 0.6854 MB / 0.8213 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001413/0.7127, allocations: 1.015 MB / 0.8223 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/0.7128, allocations: 2.969 kB / 0.8223 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002345/0.7151, allocations: 1.213 MB / 0.8235 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.7151, allocations: 11.91 kB / 0.8235 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/0.7152, allocations: 11.41 kB / 0.8235 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.822e-05/0.7152, allocations: 17.22 kB / 0.8235 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009353/0.7161, allocations: 294.4 kB / 0.8238 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.456e-05/0.7162, allocations: 21.72 kB / 0.8238 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001896/0.7181, allocations: 236.1 kB / 0.8241 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-05/0.7182, allocations: 51.98 kB / 0.8241 GB, free: 12.97 MB / 0.5762 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.0008294/0.719, allocations: 437.3 kB / 0.8245 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005515/0.7196, allocations: 197.7 kB / 0.8247 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001776/0.7214, allocations: 0.8672 MB / 0.8256 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/0.7214, allocations: 10.47 kB / 0.8256 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.7214, allocations: 2.969 kB / 0.8256 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001185/0.7226, allocations: 0.7966 MB / 0.8264 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004412/0.727, allocations: 2.432 MB / 0.8287 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.727, allocations: 2.812 kB / 0.8287 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007348/0.7278, allocations: 183.4 kB / 0.8289 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/0.7278, allocations: 5.812 kB / 0.8289 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.229e-05/0.7278, allocations: 17.41 kB / 0.8289 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.214e-06/0.7279, allocations: 7.844 kB / 0.8289 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.7279, allocations: 2.906 kB / 0.8289 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002258/0.7301, allocations: 1.33 MB / 0.8302 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008831/0.731, allocations: 367.2 kB / 0.8306 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005441/0.7316, allocations: 13.41 kB / 0.8306 GB, free: 9.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001464/0.733, allocations: 123.2 kB / 0.8307 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.7332, allocations: 47.33 kB / 0.8308 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.137e-05/0.7333, allocations: 43.34 kB / 0.8308 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001769/0.735, allocations: 1.217 MB / 0.832 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.735, allocations: 0 / 0.832 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00219/0.7372, allocations: 0.6361 MB / 0.8326 GB, free: 8.871 MB / 0.5762 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.001364/0.7386, allocations: 0.5871 MB / 0.8332 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002034/0.7406, allocations: 0.8885 MB / 0.8341 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.7407, allocations: 2.969 kB / 0.8341 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007084/0.7414, allocations: 358.9 kB / 0.8344 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005659/0.7471, allocations: 1.215 MB / 0.8356 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006367/0.7534, allocations: 3.742 MB / 0.8392 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001318/0.7548, allocations: 1.407 MB / 0.8406 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001905/0.7567, allocations: 381.4 kB / 0.841 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004452/0.7571, allocations: 145.7 kB / 0.8411 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of SimCode: time 9.22e-07/0.7571, allocations: 0 / 0.8411 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of Templates: time 0.06566/0.8228, allocations: 40.8 MB / 0.881 GB, free: 14.4 MB / 0.6231 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)