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.001124/0.001124, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.001257/0.001257, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.327/1.327, allocations: 205.4 MB / 222.1 MB, free: 5.531 MB / 174.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.643/1.643, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005536/0.0005538, allocations: 16.19 kB / 0.6737 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2385, allocations: 116.3 MB / 0.7873 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.06566/0.3042, allocations: 71.14 MB / 0.8568 GB, free: 4.574 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02362/0.3279, allocations: 17.55 MB / 0.8739 GB, free: 2.988 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003899/0.3318, allocations: 91.38 kB / 0.874 GB, free: 2.898 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003208/0.3351, allocations: 0.8812 MB / 0.8748 GB, free: 2.012 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.009335/0.3444, allocations: 2.829 MB / 0.8776 GB, free: 15.17 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.004839/0.3493, allocations: 1.513 MB / 0.8791 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.009284/0.3586, allocations: 7.566 MB / 0.8865 GB, free: 6.09 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002508/0.3611, allocations: 1.445 MB / 0.8879 GB, free: 4.617 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004008/0.3651, allocations: 1.863 MB / 0.8897 GB, free: 2.746 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002861/0.368, allocations: 1.59 MB / 0.8913 GB, free: 1.148 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002833/0.3683, allocations: 76 kB / 0.8913 GB, free: 1.074 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003089/0.3714, allocations: 0.9002 MB / 0.8922 GB, free: 176 kB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0004704/0.3719, allocations: 390.2 kB / 0.8926 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007707/0.3727, allocations: 496.5 kB / 0.893 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002937/0.3756, allocations: 2.669 MB / 0.8957 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3757, allocations: 0 / 0.8957 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.234e-06/0.3757, allocations: 4 kB / 0.8957 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.772e-05/0.3757, allocations: 0 / 0.8957 GB, free: 12.62 MB / 0.7169 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.003667/0.3794, allocations: 2.302 MB / 0.8979 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.3794, allocations: 8.031 kB / 0.8979 GB, free: 10.24 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005937/0.38, allocations: 265.1 kB / 0.8982 GB, free: 9.98 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002755/0.3828, allocations: 1.887 MB / 0.9 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.288e-05/0.3829, allocations: 106.7 kB / 0.9001 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001766/0.3831, allocations: 144 kB / 0.9003 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002562/0.3856, allocations: 1.532 MB / 0.9017 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.265e-05/0.3857, allocations: 7.906 kB / 0.9018 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/0.3858, allocations: 63.95 kB / 0.9018 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.824e-05/0.3858, allocations: 43.94 kB / 0.9019 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002105/0.388, allocations: 1.15 MB / 0.903 GB, free: 4.922 MB / 0.7169 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.007942/0.3959, allocations: 7.579 MB / 0.9104 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009438/0.3969, allocations: 497.3 kB / 0.9109 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005999/0.3975, allocations: 358.4 kB / 0.9112 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009245/0.3984, allocations: 1.152 MB / 0.9123 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.3985, allocations: 39.12 kB / 0.9124 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=59): time 2.164e-06/0.3985, allocations: 0 / 0.9124 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of matching and sorting (n=59): time 0.002049/0.4005, allocations: 1.016 MB / 0.9134 GB, free: 9.441 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.4006, allocations: 63.91 kB / 0.9134 GB, free: 9.363 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002213/0.4028, allocations: 1.731 MB / 0.9151 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.647e-05/0.4029, allocations: 37.7 kB / 0.9151 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007695/0.4037, allocations: 0.9315 MB / 0.916 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002333/0.4039, allocations: 212.9 kB / 0.9163 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.933e-05/0.4039, allocations: 24 kB / 0.9163 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.4041, allocations: 349.9 kB / 0.9166 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006384/0.4047, allocations: 346.4 kB / 0.9169 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009003/0.4057, allocations: 0.7134 MB / 0.9176 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007558/0.4064, allocations: 466.7 kB / 0.9181 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.4064, allocations: 0 / 0.9181 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002133/0.4086, allocations: 1.253 MB / 0.9193 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.4086, allocations: 8 kB / 0.9193 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.4086, allocations: 12 kB / 0.9193 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.577e-05/0.4087, allocations: 16 kB / 0.9193 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009565/0.4096, allocations: 311.9 kB / 0.9196 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.572e-05/0.4097, allocations: 27.86 kB / 0.9197 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/0.411, allocations: 250.4 kB / 0.9199 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.413e-05/0.4111, allocations: 48 kB / 0.9199 GB, free: 2.445 MB / 0.7325 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.000713/0.4118, allocations: 445.4 kB / 0.9204 GB, free: 2 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00023/0.412, allocations: 189.7 kB / 0.9206 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00169/0.4137, allocations: 0.8999 MB / 0.9214 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/0.4138, allocations: 11.98 kB / 0.9214 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4138, allocations: 0 / 0.9214 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001231/0.415, allocations: 0.8347 MB / 0.9223 GB, free: 12 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3863/0.8013, allocations: 2.471 MB / 0.9247 GB, free: 132.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.8014, allocations: 1.719 kB / 0.9247 GB, free: 132.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000738/0.8021, allocations: 208.6 kB / 0.9249 GB, free: 132.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.227e-05/0.8021, allocations: 4.938 kB / 0.9249 GB, free: 132.3 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.456e-05/0.8022, allocations: 14.75 kB / 0.9249 GB, free: 132.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.586e-06/0.8022, allocations: 13.25 kB / 0.9249 GB, free: 132.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.8022, allocations: 1.938 kB / 0.9249 GB, free: 132.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002323/0.8046, allocations: 1.396 MB / 0.9263 GB, free: 132.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008682/0.8054, allocations: 403.9 kB / 0.9267 GB, free: 131.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004216/0.8059, allocations: 13.12 kB / 0.9267 GB, free: 131.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/0.8071, allocations: 124 kB / 0.9268 GB, free: 131.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.8073, allocations: 54.7 kB / 0.9268 GB, free: 131.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/0.8074, allocations: 38.48 kB / 0.9269 GB, free: 131.9 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002094/0.8095, allocations: 1.194 MB / 0.928 GB, free: 131.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8095, allocations: 0 / 0.928 GB, free: 131.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001839/0.8114, allocations: 0.632 MB / 0.9287 GB, free: 131.7 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 (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.001031/0.8124, allocations: 0.5587 MB / 0.9292 GB, free: 131.6 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001537/0.8139, allocations: 0.8456 MB / 0.93 GB, free: 131.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.814, allocations: 2.688 kB / 0.93 GB, free: 131.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006208/0.8146, allocations: 378.9 kB / 0.9304 GB, free: 131.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005652/0.8202, allocations: 1.214 MB / 0.9316 GB, free: 131 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004929/0.8252, allocations: 3.674 MB / 0.9352 GB, free: 129 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/0.8264, allocations: 1.402 MB / 0.9365 GB, free: 128.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001819/0.8282, allocations: 380.5 kB / 0.9369 GB, free: 128.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003818/0.8286, allocations: 144.9 kB / 0.937 GB, free: 128.1 MB / 0.7325 GB Notification: Performance of SimCode: time 7.01e-07/0.8286, allocations: 0 / 0.937 GB, free: 128.1 MB / 0.7325 GB Notification: Performance of Templates: time 0.06107/0.8897, allocations: 38.79 MB / 0.9749 GB, free: 106.4 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) Environment - environmentSimulation: