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.001296/0.001296, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001659/0.001659, allocations: 192.4 kB / 16.25 MB, free: 6.621 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.383/1.383, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.485/1.485, allocations: 251.7 MB / 0.5089 GB, free: 3.305 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.001431/0.00143, allocations: 67.91 kB / 0.6217 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5404/0.5418, allocations: 104.7 MB / 0.724 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.06615/0.608, allocations: 76.49 MB / 0.7987 GB, free: 400 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02489/0.6329, allocations: 18.53 MB / 0.8168 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004087/0.637, allocations: 91.38 kB / 0.8169 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00373/0.6409, allocations: 1.084 MB / 0.8179 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01022/0.6511, allocations: 3.371 MB / 0.8212 GB, free: 9.254 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005472/0.6566, allocations: 1.878 MB / 0.8231 GB, free: 7.391 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.009108/0.6657, allocations: 6.666 MB / 0.8296 GB, free: 0.7031 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003637/0.6694, allocations: 2.053 MB / 0.8316 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005931/0.6754, allocations: 2.341 MB / 0.8339 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003318/0.6787, allocations: 1.812 MB / 0.8356 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005195/0.6792, allocations: 196 kB / 0.8358 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004306/0.6836, allocations: 1.637 MB / 0.8374 GB, free: 8.613 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006712/0.6842, allocations: 0.5293 MB / 0.8379 GB, free: 8.082 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002015/0.6863, allocations: 1.233 MB / 0.8391 GB, free: 6.844 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006313/0.6926, allocations: 3.704 MB / 0.8427 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.6926, allocations: 0 / 0.8427 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6926, allocations: 0 / 0.8427 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.353e-05/0.6927, allocations: 0 / 0.8427 GB, free: 3.129 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.004848/0.6976, allocations: 2.703 MB / 0.8454 GB, free: 368 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.6976, allocations: 8.031 kB / 0.8454 GB, free: 360 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006863/0.6983, allocations: 266 kB / 0.8456 GB, free: 92 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002865/0.7012, allocations: 1.945 MB / 0.8475 GB, free: 14.09 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.868e-05/0.7013, allocations: 106.7 kB / 0.8476 GB, free: 13.99 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001915/0.7015, allocations: 144 kB / 0.8478 GB, free: 13.85 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002509/0.704, allocations: 1.497 MB / 0.8492 GB, free: 12.27 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.456e-05/0.704, allocations: 3.938 kB / 0.8493 GB, free: 12.27 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.7042, allocations: 63.98 kB / 0.8493 GB, free: 12.21 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.948e-05/0.7042, allocations: 47.98 kB / 0.8494 GB, free: 12.16 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002112/0.7063, allocations: 1.115 MB / 0.8504 GB, free: 11.04 MB / 0.67 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.008168/0.7145, allocations: 7.547 MB / 0.8578 GB, free: 2.914 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009286/0.7155, allocations: 476.6 kB / 0.8583 GB, free: 2.438 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006327/0.7161, allocations: 338.8 kB / 0.8586 GB, free: 2.105 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008615/0.717, allocations: 1.152 MB / 0.8597 GB, free: 0.6953 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.717, allocations: 43.12 kB / 0.8598 GB, free: 0.6445 MB / 0.67 GB Notification: Performance of pre-optimization done (n=59): time 2.675e-06/0.717, allocations: 0 / 0.8598 GB, free: 0.6445 MB / 0.67 GB Notification: Performance of matching and sorting (n=59): time 0.00226/0.7193, allocations: 0.9653 MB / 0.8607 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.7193, allocations: 55.97 kB / 0.8608 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00219/0.7215, allocations: 1.739 MB / 0.8625 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 9.821e-05/0.7217, allocations: 45.7 kB / 0.8625 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007388/0.7224, allocations: 0.9276 MB / 0.8634 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002178/0.7226, allocations: 217 kB / 0.8636 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003002/0.7229, allocations: 238.6 kB / 0.8638 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.7231, allocations: 345.9 kB / 0.8642 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006558/0.7237, allocations: 330.4 kB / 0.8645 GB, free: 11.72 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009367/0.7247, allocations: 0.7016 MB / 0.8652 GB, free: 10.87 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001555/0.7263, allocations: 1.008 MB / 0.8662 GB, free: 9.715 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/0.7263, allocations: 8 kB / 0.8662 GB, free: 9.707 MB / 0.6856 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002346/0.7286, allocations: 1.214 MB / 0.8673 GB, free: 8.488 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.7287, allocations: 8 kB / 0.8674 GB, free: 8.48 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/0.7287, allocations: 8 kB / 0.8674 GB, free: 8.473 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/0.7287, allocations: 16 kB / 0.8674 GB, free: 8.457 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009995/0.7297, allocations: 288.2 kB / 0.8677 GB, free: 8.176 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.338e-05/0.7297, allocations: 27.91 kB / 0.8677 GB, free: 8.148 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/0.7313, allocations: 238.4 kB / 0.8679 GB, free: 7.914 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.339e-05/0.7314, allocations: 55.98 kB / 0.868 GB, free: 7.859 MB / 0.6856 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.0006796/0.732, allocations: 437.3 kB / 0.8684 GB, free: 7.422 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003355/0.7324, allocations: 189.7 kB / 0.8686 GB, free: 7.234 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/0.7341, allocations: 0.8639 MB / 0.8694 GB, free: 6.367 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.978e-05/0.7341, allocations: 7.984 kB / 0.8694 GB, free: 6.359 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.7341, allocations: 0 / 0.8694 GB, free: 6.359 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001294/0.7354, allocations: 0.7995 MB / 0.8702 GB, free: 5.512 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003926/0.7394, allocations: 2.408 MB / 0.8725 GB, free: 3.008 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.717e-06/0.7394, allocations: 7.938 kB / 0.8725 GB, free: 3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007723/0.7402, allocations: 176 kB / 0.8727 GB, free: 2.828 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.034e-05/0.7402, allocations: 12 kB / 0.8727 GB, free: 2.816 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.517e-05/0.7402, allocations: 19.98 kB / 0.8727 GB, free: 2.797 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.7403, allocations: 8 kB / 0.8728 GB, free: 2.789 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.7403, allocations: 0 / 0.8728 GB, free: 2.789 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00239/0.7427, allocations: 1.335 MB / 0.8741 GB, free: 1.41 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007163/0.7434, allocations: 362.4 kB / 0.8744 GB, free: 1.035 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002414/0.7436, allocations: 12 kB / 0.8744 GB, free: 1.023 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.7447, allocations: 115.7 kB / 0.8745 GB, free: 0.9102 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.7449, allocations: 48.44 kB / 0.8746 GB, free: 0.8633 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-05/0.7449, allocations: 39.92 kB / 0.8746 GB, free: 0.8242 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001755/0.7467, allocations: 1.211 MB / 0.8758 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.61e-07/0.7467, allocations: 0 / 0.8758 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0017/0.7484, allocations: 0.6318 MB / 0.8764 GB, free: 14.96 MB / 0.7012 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.001187/0.7496, allocations: 0.5888 MB / 0.877 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002096/0.7517, allocations: 0.8944 MB / 0.8779 GB, free: 13.49 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.7517, allocations: 0 / 0.8779 GB, free: 13.49 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0007298/0.7525, allocations: 350.9 kB / 0.8782 GB, free: 13.14 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005336/0.7578, allocations: 1.197 MB / 0.8794 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00516/0.763, allocations: 3.726 MB / 0.883 GB, free: 8.195 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009883/0.764, allocations: 1.397 MB / 0.8844 GB, free: 6.758 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001581/0.7656, allocations: 388.7 kB / 0.8847 GB, free: 6.383 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003118/0.7659, allocations: 143.4 kB / 0.8849 GB, free: 6.242 MB / 0.7012 GB Notification: Performance of SimCode: time 3.7e-07/0.7659, allocations: 0 / 0.8849 GB, free: 6.242 MB / 0.7012 GB Notification: Performance of Templates: time 0.3715/1.137, allocations: 40.71 MB / 0.9246 GB, free: 164.4 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (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)