Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0009375/0.0009376, allocations: 86.17 kB / 15.06 MB, free: 1.09 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.001242/0.001242, allocations: 168.7 kB / 15.95 MB, free: 204 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.448/1.448, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.535/1.535, allocations: 252 MB / 0.5102 GB, free: 4.793 MB / 414.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.0005319/0.000532, allocations: 12 kB / 0.6243 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4874/0.488, allocations: 106.3 MB / 0.7281 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.06657/0.5546, allocations: 71.15 MB / 0.7976 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02643/0.5811, allocations: 17.49 MB / 0.8147 GB, free: 2.52 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004301/0.5854, allocations: 91.38 kB / 0.8148 GB, free: 2.43 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003782/0.5893, allocations: 0.8733 MB / 0.8156 GB, free: 1.551 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01/0.5993, allocations: 2.825 MB / 0.8184 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005822/0.6051, allocations: 1.438 MB / 0.8198 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0117/0.6168, allocations: 7.554 MB / 0.8272 GB, free: 5.719 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0032/0.6201, allocations: 1.435 MB / 0.8286 GB, free: 4.262 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005067/0.6252, allocations: 1.863 MB / 0.8304 GB, free: 2.391 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003711/0.6289, allocations: 1.594 MB / 0.8319 GB, free: 0.7891 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000409/0.6294, allocations: 76 kB / 0.832 GB, free: 0.7148 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003896/0.6333, allocations: 0.8923 MB / 0.8329 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006492/0.6339, allocations: 386.2 kB / 0.8333 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001229/0.6352, allocations: 488.6 kB / 0.8337 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004204/0.6394, allocations: 2.65 MB / 0.8363 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.6394, allocations: 0 / 0.8363 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6394, allocations: 0 / 0.8363 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.36e-05/0.6395, allocations: 0 / 0.8363 GB, free: 12.3 MB / 0.6544 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.004057/0.6435, allocations: 2.314 MB / 0.8386 GB, free: 9.922 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.6436, allocations: 8.031 kB / 0.8386 GB, free: 9.914 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006072/0.6442, allocations: 269 kB / 0.8388 GB, free: 9.648 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003195/0.6474, allocations: 1.864 MB / 0.8407 GB, free: 7.734 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.946e-05/0.6475, allocations: 110.7 kB / 0.8408 GB, free: 7.625 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002034/0.6477, allocations: 148 kB / 0.8409 GB, free: 7.48 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002708/0.6504, allocations: 1.512 MB / 0.8424 GB, free: 5.891 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.666e-05/0.6505, allocations: 8 kB / 0.8424 GB, free: 5.883 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.6506, allocations: 52 kB / 0.8424 GB, free: 5.832 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.904e-05/0.6506, allocations: 43.95 kB / 0.8425 GB, free: 5.789 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002185/0.6528, allocations: 1.158 MB / 0.8436 GB, free: 4.625 MB / 0.6544 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.008644/0.6615, allocations: 7.559 MB / 0.851 GB, free: 12.49 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009489/0.6625, allocations: 497.1 kB / 0.8515 GB, free: 12 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006519/0.6631, allocations: 354.3 kB / 0.8518 GB, free: 11.65 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001043/0.6642, allocations: 1.152 MB / 0.8529 GB, free: 10.24 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/0.6642, allocations: 51.14 kB / 0.853 GB, free: 10.18 MB / 0.67 GB Notification: Performance of pre-optimization done (n=59): time 4.979e-06/0.6642, allocations: 4 kB / 0.853 GB, free: 10.18 MB / 0.67 GB Notification: Performance of matching and sorting (n=59): time 0.002192/0.6664, allocations: 1.012 MB / 0.854 GB, free: 9.156 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.6665, allocations: 59.97 kB / 0.854 GB, free: 9.086 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002266/0.6688, allocations: 1.727 MB / 0.8557 GB, free: 7.32 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.855e-05/0.6689, allocations: 37.7 kB / 0.8557 GB, free: 7.277 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000801/0.6697, allocations: 0.9198 MB / 0.8566 GB, free: 6.348 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002301/0.6699, allocations: 217 kB / 0.8569 GB, free: 6.133 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-05/0.67, allocations: 20 kB / 0.8569 GB, free: 6.113 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.6701, allocations: 353.9 kB / 0.8572 GB, free: 5.762 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006775/0.6708, allocations: 350.4 kB / 0.8575 GB, free: 5.418 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009252/0.6717, allocations: 0.7056 MB / 0.8582 GB, free: 4.559 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008014/0.6725, allocations: 466.7 kB / 0.8587 GB, free: 4.102 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.6726, allocations: 4 kB / 0.8587 GB, free: 4.098 MB / 0.67 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002229/0.6748, allocations: 1.249 MB / 0.8599 GB, free: 2.844 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.6748, allocations: 9.719 kB / 0.8599 GB, free: 2.836 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.6749, allocations: 11.94 kB / 0.8599 GB, free: 2.824 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.614e-05/0.6749, allocations: 20 kB / 0.8599 GB, free: 2.805 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/0.6759, allocations: 319.9 kB / 0.8602 GB, free: 2.492 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-05/0.676, allocations: 23.92 kB / 0.8603 GB, free: 2.469 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/0.6775, allocations: 246.4 kB / 0.8605 GB, free: 2.227 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-05/0.6776, allocations: 51.98 kB / 0.8606 GB, free: 2.176 MB / 0.67 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.0008606/0.6785, allocations: 441.4 kB / 0.861 GB, free: 1.734 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002583/0.6787, allocations: 189.7 kB / 0.8612 GB, free: 1.547 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001823/0.6805, allocations: 0.9106 MB / 0.862 GB, free: 0.6328 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.658e-05/0.6806, allocations: 8 kB / 0.8621 GB, free: 0.625 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.6806, allocations: 0 / 0.8621 GB, free: 0.625 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001299/0.6819, allocations: 0.8308 MB / 0.8629 GB, free: 15.74 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003952/0.6859, allocations: 2.462 MB / 0.8653 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.6859, allocations: 0 / 0.8653 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007614/0.6866, allocations: 208 kB / 0.8655 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/0.6867, allocations: 4 kB / 0.8655 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-05/0.6867, allocations: 19.98 kB / 0.8655 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.696e-06/0.6867, allocations: 11.95 kB / 0.8655 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.6867, allocations: 7.938 kB / 0.8655 GB, free: 12.94 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002231/0.689, allocations: 1.39 MB / 0.8669 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006699/0.6897, allocations: 398.2 kB / 0.8672 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001969/0.6899, allocations: 16 kB / 0.8673 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000981/0.6909, allocations: 123.7 kB / 0.8674 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.691, allocations: 48.45 kB / 0.8674 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.541e-05/0.6911, allocations: 35.97 kB / 0.8675 GB, free: 10.87 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001564/0.6926, allocations: 1.184 MB / 0.8686 GB, free: 9.668 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.91e-07/0.6926, allocations: 4 kB / 0.8686 GB, free: 9.664 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001746/0.6944, allocations: 0.6279 MB / 0.8692 GB, free: 9.035 MB / 0.6856 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.001118/0.6955, allocations: 0.5718 MB / 0.8698 GB, free: 8.461 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001774/0.6973, allocations: 0.8439 MB / 0.8706 GB, free: 7.625 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.6973, allocations: 0 / 0.8706 GB, free: 7.625 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007224/0.6981, allocations: 383.5 kB / 0.871 GB, free: 7.246 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005318/0.7034, allocations: 1.2 MB / 0.8722 GB, free: 6.059 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005858/0.7093, allocations: 3.672 MB / 0.8757 GB, free: 2.332 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001349/0.7106, allocations: 1.408 MB / 0.8771 GB, free: 0.8867 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001889/0.7125, allocations: 374.3 kB / 0.8775 GB, free: 0.5273 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003978/0.7129, allocations: 143.4 kB / 0.8776 GB, free: 396 kB / 0.6856 GB Notification: Performance of SimCode: time 9.92e-07/0.713, allocations: 0 / 0.8776 GB, free: 396 kB / 0.6856 GB Notification: Performance of Templates: time 0.4839/1.197, allocations: 38.55 MB / 0.9153 GB, free: 170.2 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) Environment - environmentSimulation: