Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001433/0.001433, allocations: 110.4 kB / 16.36 MB, free: 5.988 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.001597/0.001597, allocations: 189.2 kB / 17.3 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.332/1.332, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.782/1.782, allocations: 292.3 MB / 0.5496 GB, free: 17.65 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 71.03 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2091, allocations: 114.6 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.3995/0.6086, allocations: 77.14 MB / 0.8601 GB, free: 13.37 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02684/0.6354, allocations: 18.72 MB / 0.8784 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00541/0.6409, allocations: 108.9 kB / 0.8785 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004511/0.6455, allocations: 1.253 MB / 0.8797 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01051/0.656, allocations: 3.605 MB / 0.8832 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005831/0.6619, allocations: 2.105 MB / 0.8853 GB, free: 10.56 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.009217/0.6711, allocations: 6.659 MB / 0.8918 GB, free: 6.637 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003556/0.6747, allocations: 2.073 MB / 0.8938 GB, free: 5.375 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005799/0.6805, allocations: 2.315 MB / 0.8961 GB, free: 4.027 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003924/0.6845, allocations: 1.771 MB / 0.8978 GB, free: 2.957 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007779/0.6853, allocations: 199.7 kB / 0.898 GB, free: 2.957 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00504/0.6903, allocations: 1.622 MB / 0.8996 GB, free: 2.094 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0009382/0.6913, allocations: 0.5357 MB / 0.9001 GB, free: 1.672 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00272/0.694, allocations: 1.241 MB / 0.9013 GB, free: 0.8633 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006826/0.7008, allocations: 3.738 MB / 0.905 GB, free: 14.4 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.7009, allocations: 4 kB / 0.905 GB, free: 14.4 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.472e-06/0.7009, allocations: 0 / 0.905 GB, free: 14.4 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001014/0.701, allocations: 0 / 0.905 GB, free: 14.4 MB / 0.7012 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.00534/0.7063, allocations: 2.707 MB / 0.9076 GB, free: 12.4 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.7064, allocations: 13.56 kB / 0.9076 GB, free: 12.4 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007892/0.7072, allocations: 262.9 kB / 0.9079 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003223/0.7104, allocations: 1.877 MB / 0.9097 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.449e-05/0.7105, allocations: 106.7 kB / 0.9098 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002023/0.7107, allocations: 148 kB / 0.91 GB, free: 10.13 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002574/0.7133, allocations: 1.519 MB / 0.9114 GB, free: 8.535 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.669e-05/0.7134, allocations: 4 kB / 0.9114 GB, free: 8.531 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/0.7135, allocations: 56 kB / 0.9115 GB, free: 8.477 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-05/0.7135, allocations: 43.94 kB / 0.9115 GB, free: 8.434 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002191/0.7157, allocations: 1.126 MB / 0.9126 GB, free: 7.301 MB / 0.7012 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.008535/0.7243, allocations: 7.597 MB / 0.9201 GB, free: 15.13 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009489/0.7253, allocations: 474.4 kB / 0.9205 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006227/0.7259, allocations: 334.9 kB / 0.9208 GB, free: 14.33 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007886/0.7267, allocations: 1.152 MB / 0.922 GB, free: 12.92 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.7267, allocations: 47.11 kB / 0.922 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=59): time 2.635e-06/0.7268, allocations: 4 kB / 0.922 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of matching and sorting (n=59): time 0.002269/0.729, allocations: 0.9574 MB / 0.9229 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.7291, allocations: 59.95 kB / 0.923 GB, free: 11.82 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002223/0.7313, allocations: 1.77 MB / 0.9247 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.098e-05/0.7314, allocations: 41.7 kB / 0.9248 GB, free: 9.969 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000712/0.7321, allocations: 0.9275 MB / 0.9257 GB, free: 9.031 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002057/0.7323, allocations: 224.9 kB / 0.9259 GB, free: 8.809 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000282/0.7326, allocations: 222.7 kB / 0.9261 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.7328, allocations: 353.9 kB / 0.9264 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006844/0.7335, allocations: 330.4 kB / 0.9268 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009348/0.7344, allocations: 0.6899 MB / 0.9274 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001574/0.736, allocations: 1.012 MB / 0.9284 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.736, allocations: 0 / 0.9284 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002298/0.7383, allocations: 1.21 MB / 0.9296 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.7383, allocations: 16.03 kB / 0.9296 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.7384, allocations: 8 kB / 0.9296 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/0.7384, allocations: 16 kB / 0.9296 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.7394, allocations: 287.5 kB / 0.9299 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-05/0.7395, allocations: 19.94 kB / 0.9299 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/0.7408, allocations: 170.4 kB / 0.9301 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.147e-05/0.7409, allocations: 51.98 kB / 0.9301 GB, free: 4.141 MB / 0.7169 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.0007289/0.7417, allocations: 437.4 kB / 0.9306 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003689/0.742, allocations: 193.6 kB / 0.9307 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001789/0.7438, allocations: 0.8587 MB / 0.9316 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/0.7439, allocations: 11.94 kB / 0.9316 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.7439, allocations: 4 kB / 0.9316 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0013/0.7452, allocations: 0.7917 MB / 0.9324 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004055/0.7492, allocations: 2.443 MB / 0.9348 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.7493, allocations: 3.938 kB / 0.9348 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008036/0.7501, allocations: 184 kB / 0.9349 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.327e-06/0.7501, allocations: 4 kB / 0.9349 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.401e-05/0.7501, allocations: 26.36 kB / 0.935 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/0.7502, allocations: 4 kB / 0.935 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.7502, allocations: 4 kB / 0.935 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002379/0.7525, allocations: 1.336 MB / 0.9363 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007676/0.7533, allocations: 370.4 kB / 0.9366 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002191/0.7536, allocations: 12 kB / 0.9366 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009709/0.7545, allocations: 70.58 kB / 0.9367 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.7546, allocations: 40.5 kB / 0.9367 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.788e-05/0.7547, allocations: 39.97 kB / 0.9368 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001619/0.7563, allocations: 1.227 MB / 0.938 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.643e-06/0.7564, allocations: 0 / 0.938 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001724/0.7581, allocations: 0.6706 MB / 0.9386 GB, free: 11.2 MB / 0.7325 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.001015/0.7591, allocations: 0.5984 MB / 0.9392 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001577/0.7607, allocations: 0.8234 MB / 0.94 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.7607, allocations: 0 / 0.94 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006734/0.7614, allocations: 356.4 kB / 0.9404 GB, free: 9.445 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004588/0.766, allocations: 1.204 MB / 0.9415 GB, free: 8.324 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004464/0.7705, allocations: 3.034 MB / 0.9445 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008384/0.7713, allocations: 1.405 MB / 0.9459 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001278/0.7726, allocations: 377.4 kB / 0.9462 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000283/0.7729, allocations: 151.4 kB / 0.9464 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of SimCode: time 6.51e-07/0.7729, allocations: 0 / 0.9464 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of Templates: time 0.06274/0.8357, allocations: 41.79 MB / 0.9872 GB, free: 10.09 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)