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.0009296/0.0009295, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.007311/0.007311, allocations: 170.7 kB / 16.27 MB, free: 6.648 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.444/1.444, allocations: 205.4 MB / 222.4 MB, free: 5.801 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.49/1.49, allocations: 252 MB / 0.5105 GB, free: 4.703 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.0005638/0.0005637, allocations: 20 kB / 0.6249 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4839/0.4845, allocations: 106.3 MB / 0.7287 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07731/0.5619, allocations: 75.29 MB / 0.8023 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02636/0.5883, allocations: 18.54 MB / 0.8204 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004285/0.5926, allocations: 91.38 kB / 0.8204 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004045/0.5967, allocations: 1.026 MB / 0.8214 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01093/0.6076, allocations: 3.343 MB / 0.8247 GB, free: 8.684 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006059/0.6137, allocations: 1.847 MB / 0.8265 GB, free: 6.852 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01255/0.6263, allocations: 8.851 MB / 0.8352 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003129/0.6294, allocations: 1.672 MB / 0.8368 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004231/0.6337, allocations: 1.886 MB / 0.8386 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002963/0.6367, allocations: 1.699 MB / 0.8403 GB, free: 8.66 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000497/0.6372, allocations: 76 kB / 0.8404 GB, free: 8.586 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004063/0.6413, allocations: 1.442 MB / 0.8418 GB, free: 7.141 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0007022/0.642, allocations: 414 kB / 0.8422 GB, free: 6.734 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00222/0.6442, allocations: 1.113 MB / 0.8433 GB, free: 5.609 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006438/0.6507, allocations: 3.531 MB / 0.8467 GB, free: 2.066 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.6507, allocations: 7.938 kB / 0.8467 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.873e-06/0.6507, allocations: 0 / 0.8467 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.857e-05/0.6508, allocations: 0 / 0.8467 GB, free: 2.059 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.0043/0.6551, allocations: 2.283 MB / 0.8489 GB, free: 15.71 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.6552, allocations: 8.031 kB / 0.8489 GB, free: 15.7 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006599/0.6558, allocations: 270 kB / 0.8492 GB, free: 15.44 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00323/0.6591, allocations: 1.933 MB / 0.8511 GB, free: 13.45 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.158e-05/0.6592, allocations: 106.7 kB / 0.8512 GB, free: 13.35 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002129/0.6594, allocations: 144 kB / 0.8513 GB, free: 13.21 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002699/0.6621, allocations: 1.536 MB / 0.8528 GB, free: 11.59 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.762e-05/0.6621, allocations: 7.938 kB / 0.8528 GB, free: 11.59 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/0.6623, allocations: 52 kB / 0.8529 GB, free: 11.54 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.359e-05/0.6623, allocations: 40 kB / 0.8529 GB, free: 11.5 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002273/0.6646, allocations: 1.169 MB / 0.8541 GB, free: 10.32 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.008529/0.6732, allocations: 7.559 MB / 0.8614 GB, free: 2.184 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009973/0.6742, allocations: 0.4927 MB / 0.8619 GB, free: 1.68 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006734/0.6749, allocations: 358.8 kB / 0.8623 GB, free: 1.328 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009579/0.6758, allocations: 1.145 MB / 0.8634 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.058e-05/0.6759, allocations: 43.12 kB / 0.8634 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=59): time 3.126e-06/0.6759, allocations: 0 / 0.8634 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of matching and sorting (n=59): time 0.002292/0.6782, allocations: 1.032 MB / 0.8644 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.958e-05/0.6783, allocations: 59.97 kB / 0.8645 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002216/0.6805, allocations: 1.743 MB / 0.8662 GB, free: 12.99 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.865e-05/0.6806, allocations: 41.7 kB / 0.8662 GB, free: 12.94 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007919/0.6814, allocations: 0.9237 MB / 0.8671 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000209/0.6816, allocations: 217 kB / 0.8673 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.6817, allocations: 97.66 kB / 0.8674 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.6819, allocations: 349.9 kB / 0.8678 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007215/0.6826, allocations: 350.4 kB / 0.8681 GB, free: 11 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/0.6837, allocations: 0.7134 MB / 0.8688 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001766/0.6854, allocations: 1.055 MB / 0.8698 GB, free: 8.938 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/0.6855, allocations: 4 kB / 0.8698 GB, free: 8.934 MB / 0.6856 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002369/0.6878, allocations: 1.26 MB / 0.8711 GB, free: 7.668 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/0.6879, allocations: 14.34 kB / 0.8711 GB, free: 7.656 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.6879, allocations: 8 kB / 0.8711 GB, free: 7.648 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.822e-05/0.6879, allocations: 20 kB / 0.8711 GB, free: 7.629 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.689, allocations: 324.1 kB / 0.8714 GB, free: 7.312 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.426e-05/0.689, allocations: 27.86 kB / 0.8714 GB, free: 7.285 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/0.6905, allocations: 242.4 kB / 0.8717 GB, free: 7.047 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.477e-05/0.6906, allocations: 59.98 kB / 0.8717 GB, free: 6.988 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.0006894/0.6913, allocations: 437.4 kB / 0.8721 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002145/0.6915, allocations: 189.7 kB / 0.8723 GB, free: 6.363 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001813/0.6934, allocations: 0.907 MB / 0.8732 GB, free: 5.453 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.6934, allocations: 8 kB / 0.8732 GB, free: 5.445 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.6934, allocations: 0 / 0.8732 GB, free: 5.445 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00137/0.6948, allocations: 0.8425 MB / 0.874 GB, free: 4.551 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003971/0.6988, allocations: 2.462 MB / 0.8765 GB, free: 1.992 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.6988, allocations: 7.938 kB / 0.8765 GB, free: 1.984 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000799/0.6996, allocations: 208 kB / 0.8767 GB, free: 1.781 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.6996, allocations: 4 kB / 0.8767 GB, free: 1.777 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.254e-05/0.6996, allocations: 20 kB / 0.8767 GB, free: 1.758 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/0.6997, allocations: 4 kB / 0.8767 GB, free: 1.754 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.6997, allocations: 0 / 0.8767 GB, free: 1.754 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002346/0.702, allocations: 1.398 MB / 0.878 GB, free: 320 kB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006801/0.7027, allocations: 398.4 kB / 0.8784 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002006/0.7029, allocations: 16 kB / 0.8784 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/0.704, allocations: 126.9 kB / 0.8786 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.7041, allocations: 52.42 kB / 0.8786 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.899e-05/0.7042, allocations: 31.98 kB / 0.8786 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001631/0.7059, allocations: 1.208 MB / 0.8798 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.71e-07/0.7059, allocations: 4 kB / 0.8798 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001721/0.7076, allocations: 0.6395 MB / 0.8805 GB, free: 13.8 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.001076/0.7087, allocations: 0.5801 MB / 0.881 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001736/0.7104, allocations: 0.8547 MB / 0.8819 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.7104, allocations: 0 / 0.8819 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0007171/0.7112, allocations: 380.4 kB / 0.8822 GB, free: 12.01 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006171/0.7173, allocations: 1.214 MB / 0.8834 GB, free: 10.81 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004787/0.7221, allocations: 3.794 MB / 0.8871 GB, free: 6.953 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009164/0.7231, allocations: 1.412 MB / 0.8885 GB, free: 5.508 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001393/0.7245, allocations: 368.5 kB / 0.8888 GB, free: 5.152 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003034/0.7248, allocations: 143.4 kB / 0.889 GB, free: 5.012 MB / 0.7012 GB Notification: Performance of SimCode: time 6.42e-07/0.7248, allocations: 4 kB / 0.889 GB, free: 5.008 MB / 0.7012 GB Notification: Performance of Templates: time 0.4303/1.155, allocations: 40.06 MB / 0.9281 GB, free: 162.7 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: