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.001174/0.001174, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 195.1 kB / 16.53 MB, free: 6.664 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.413/1.413, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.528/1.528, allocations: 251.7 MB / 0.5092 GB, free: 3.121 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.001781/0.001782, allocations: 71.91 kB / 0.6223 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6164/0.6182, allocations: 104.7 MB / 0.7245 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07686/0.6951, allocations: 77.15 MB / 0.7998 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02893/0.7241, allocations: 18.65 MB / 0.8181 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003626/0.7278, allocations: 107.4 kB / 0.8182 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004186/0.732, allocations: 1.25 MB / 0.8194 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01068/0.7427, allocations: 3.595 MB / 0.8229 GB, free: 7.848 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00568/0.7484, allocations: 2.019 MB / 0.8249 GB, free: 5.844 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01061/0.7591, allocations: 6.641 MB / 0.8314 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003649/0.7628, allocations: 2.077 MB / 0.8334 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005804/0.7686, allocations: 2.293 MB / 0.8356 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003355/0.772, allocations: 1.738 MB / 0.8373 GB, free: 9.023 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004393/0.7724, allocations: 196 kB / 0.8375 GB, free: 8.832 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004419/0.7768, allocations: 1.61 MB / 0.8391 GB, free: 7.219 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006086/0.7775, allocations: 0.5332 MB / 0.8396 GB, free: 6.684 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00174/0.7792, allocations: 1.236 MB / 0.8408 GB, free: 5.441 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005971/0.7852, allocations: 3.681 MB / 0.8444 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.7852, allocations: 3.938 kB / 0.8444 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7852, allocations: 0 / 0.8444 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.972e-05/0.7853, allocations: 0 / 0.8444 GB, free: 1.746 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.004628/0.7899, allocations: 2.699 MB / 0.847 GB, free: 14.98 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.79, allocations: 12.03 kB / 0.8471 GB, free: 14.97 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006793/0.7907, allocations: 262 kB / 0.8473 GB, free: 14.71 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0028/0.7935, allocations: 1.87 MB / 0.8491 GB, free: 12.79 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.78e-05/0.7936, allocations: 114.7 kB / 0.8492 GB, free: 12.68 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001875/0.7938, allocations: 140 kB / 0.8494 GB, free: 12.54 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002506/0.7963, allocations: 1.512 MB / 0.8509 GB, free: 10.95 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.435e-05/0.7963, allocations: 7.984 kB / 0.8509 GB, free: 10.95 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/0.7964, allocations: 56 kB / 0.8509 GB, free: 10.89 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.78e-05/0.7965, allocations: 39.94 kB / 0.8509 GB, free: 10.85 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0022/0.7987, allocations: 1.122 MB / 0.852 GB, free: 9.723 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.008504/0.8072, allocations: 7.621 MB / 0.8595 GB, free: 1.523 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.8083, allocations: 489.1 kB / 0.86 GB, free: 1.035 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006443/0.8089, allocations: 334.3 kB / 0.8603 GB, free: 0.707 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001033/0.81, allocations: 1.152 MB / 0.8614 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.81, allocations: 39.12 kB / 0.8614 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=59): time 3.146e-06/0.81, allocations: 0 / 0.8614 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of matching and sorting (n=59): time 0.002374/0.8124, allocations: 0.9612 MB / 0.8624 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.8125, allocations: 59.97 kB / 0.8624 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002191/0.8147, allocations: 1.766 MB / 0.8642 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.331e-05/0.8148, allocations: 41.64 kB / 0.8642 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008102/0.8156, allocations: 0.9276 MB / 0.8651 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000237/0.8158, allocations: 220.9 kB / 0.8653 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003304/0.8162, allocations: 234.7 kB / 0.8655 GB, free: 10.97 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.8163, allocations: 349.9 kB / 0.8659 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006864/0.817, allocations: 330.4 kB / 0.8662 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/0.818, allocations: 0.6899 MB / 0.8669 GB, free: 9.461 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001616/0.8197, allocations: 1.008 MB / 0.8678 GB, free: 8.312 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.8197, allocations: 0 / 0.8678 GB, free: 8.312 MB / 0.6856 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002245/0.8219, allocations: 1.222 MB / 0.869 GB, free: 7.082 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.822, allocations: 15.98 kB / 0.8691 GB, free: 7.066 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.822, allocations: 8 kB / 0.8691 GB, free: 7.059 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.996e-05/0.822, allocations: 16 kB / 0.8691 GB, free: 7.043 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/0.8231, allocations: 288 kB / 0.8694 GB, free: 6.762 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.112e-05/0.8231, allocations: 19.94 kB / 0.8694 GB, free: 6.742 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/0.8243, allocations: 162.5 kB / 0.8695 GB, free: 6.582 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-05/0.8244, allocations: 55.92 kB / 0.8696 GB, free: 6.527 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.0006337/0.825, allocations: 449.3 kB / 0.87 GB, free: 6.078 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002909/0.8253, allocations: 189.7 kB / 0.8702 GB, free: 5.891 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001753/0.8271, allocations: 0.857 MB / 0.871 GB, free: 5.023 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/0.8271, allocations: 4 kB / 0.871 GB, free: 5.02 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.8271, allocations: 0 / 0.871 GB, free: 5.02 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001355/0.8285, allocations: 0.8112 MB / 0.8718 GB, free: 4.164 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003724/0.8322, allocations: 2.427 MB / 0.8742 GB, free: 1.641 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.8322, allocations: 3.938 kB / 0.8742 GB, free: 1.637 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007781/0.833, allocations: 179.7 kB / 0.8744 GB, free: 1.461 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.833, allocations: 4 kB / 0.8744 GB, free: 1.457 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.071e-05/0.8331, allocations: 20 kB / 0.8744 GB, free: 1.438 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/0.8331, allocations: 12.08 kB / 0.8744 GB, free: 1.426 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.8331, allocations: 4 kB / 0.8744 GB, free: 1.422 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002341/0.8354, allocations: 1.324 MB / 0.8757 GB, free: 56 kB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005663/0.836, allocations: 362.5 kB / 0.876 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002151/0.8362, allocations: 15.94 kB / 0.8761 GB, free: 15.66 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009746/0.8372, allocations: 67.92 kB / 0.8761 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.8373, allocations: 52.42 kB / 0.8762 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.885e-05/0.8374, allocations: 27.98 kB / 0.8762 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001595/0.839, allocations: 1.231 MB / 0.8774 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.6e-07/0.839, allocations: 0 / 0.8774 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001697/0.8407, allocations: 0.655 MB / 0.878 GB, free: 13.61 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.001074/0.8418, allocations: 0.6014 MB / 0.8786 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001931/0.8437, allocations: 0.8979 MB / 0.8795 GB, free: 12.13 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.8438, allocations: 4 kB / 0.8795 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0007308/0.8445, allocations: 355.9 kB / 0.8798 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005704/0.8502, allocations: 1.206 MB / 0.881 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005304/0.8555, allocations: 3.085 MB / 0.884 GB, free: 7.465 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001154/0.8567, allocations: 1.397 MB / 0.8854 GB, free: 6.027 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001699/0.8584, allocations: 374.6 kB / 0.8858 GB, free: 5.664 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003102/0.8588, allocations: 155.3 kB / 0.8859 GB, free: 5.512 MB / 0.7012 GB Notification: Performance of SimCode: time 9.02e-07/0.8588, allocations: 0 / 0.8859 GB, free: 5.512 MB / 0.7012 GB Notification: Performance of Templates: time 0.4063/1.265, allocations: 41.72 MB / 0.9267 GB, free: 163.8 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)