Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.734/1.734, allocations: 288.3 MB / 303.2 MB, free: 8.094 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001271/0.001271, allocations: 181 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.569/1.569, allocations: 205.4 MB / 0.6306 GB, free: 10.03 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001223/0.001223, allocations: 85.61 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003949/0.000395, allocations: 12.03 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2514, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.05723/0.3087, allocations: 64.42 MB / 1.042 GB, free: 11.14 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02513/0.3339, allocations: 16.06 MB / 1.058 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004714/0.3387, allocations: 91.38 kB / 1.058 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005673/0.3444, allocations: 1.174 MB / 1.059 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01643/0.3609, allocations: 3.454 MB / 1.063 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00779/0.3687, allocations: 2.333 MB / 1.065 GB, free: 4.035 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.009016/0.3777, allocations: 3.837 MB / 1.069 GB, free: 192 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5357/0.9134, allocations: 1.461 MB / 1.07 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004799/0.9183, allocations: 1.642 MB / 1.072 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002533/0.9209, allocations: 1.075 MB / 1.073 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003318/0.9212, allocations: 73.91 kB / 1.073 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004526/0.9257, allocations: 1.013 MB / 1.074 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0006946/0.9264, allocations: 371.4 kB / 1.074 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001189/0.9276, allocations: 494.3 kB / 1.075 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.005835/0.9335, allocations: 2.646 MB / 1.077 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.9335, allocations: 0.9062 kB / 1.077 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.635e-06/0.9336, allocations: 4 kB / 1.077 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.048e-05/0.9336, allocations: 0 / 1.077 GB, free: 12.72 MB / 0.6823 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.006007/0.9396, allocations: 2.304 MB / 1.079 GB, free: 27.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.9397, allocations: 9.438 kB / 1.079 GB, free: 27.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007519/0.9405, allocations: 267.3 kB / 1.08 GB, free: 27.38 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003675/0.9441, allocations: 1.746 MB / 1.081 GB, free: 26.98 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/0.9443, allocations: 106.8 kB / 1.082 GB, free: 26.98 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002651/0.9445, allocations: 145.4 kB / 1.082 GB, free: 26.97 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00349/0.948, allocations: 1.518 MB / 1.083 GB, free: 26.74 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.264e-05/0.9481, allocations: 5.344 kB / 1.083 GB, free: 26.74 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001433/0.9482, allocations: 61.39 kB / 1.083 GB, free: 26.74 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.835e-05/0.9483, allocations: 40.38 kB / 1.083 GB, free: 26.74 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002918/0.9512, allocations: 1.157 MB / 1.084 GB, free: 26.72 MB / 0.698 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.0128/0.9641, allocations: 7.659 MB / 1.092 GB, free: 22.46 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.9652, allocations: 493.7 kB / 1.092 GB, free: 22.43 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001053/0.9662, allocations: 1.145 MB / 1.093 GB, free: 21.12 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.9663, allocations: 46.78 kB / 1.093 GB, free: 21.08 MB / 0.698 GB Notification: Performance of pre-optimization done (n=59): time 3.617e-06/0.9663, allocations: 0 / 1.093 GB, free: 21.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=59): time 0.002766/0.9691, allocations: 1.024 MB / 1.094 GB, free: 20.92 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.045e-05/0.9691, allocations: 57.47 kB / 1.095 GB, free: 20.86 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003023/0.9722, allocations: 1.813 MB / 1.096 GB, free: 20.62 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001587/0.9723, allocations: 42.98 kB / 1.096 GB, free: 20.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007409/0.9731, allocations: 0.9227 MB / 1.097 GB, free: 20.28 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002717/0.9734, allocations: 218.6 kB / 1.097 GB, free: 20.14 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.9734, allocations: 19.28 kB / 1.097 GB, free: 20.14 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002039/0.9736, allocations: 348.4 kB / 1.098 GB, free: 19.84 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008014/0.9744, allocations: 351 kB / 1.098 GB, free: 19.83 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/0.9755, allocations: 0.703 MB / 1.099 GB, free: 19.41 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009297/0.9765, allocations: 461.4 kB / 1.099 GB, free: 19.39 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.9765, allocations: 3.125 kB / 1.099 GB, free: 19.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002718/0.9792, allocations: 1.255 MB / 1.1 GB, free: 19.24 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.12e-05/0.9793, allocations: 9.031 kB / 1.101 GB, free: 19.24 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.9793, allocations: 9.938 kB / 1.101 GB, free: 19.24 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.056e-05/0.9793, allocations: 19.5 kB / 1.101 GB, free: 19.24 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.9804, allocations: 324.3 kB / 1.101 GB, free: 19.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.002e-05/0.9805, allocations: 21.25 kB / 1.101 GB, free: 19.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002053/0.9825, allocations: 259.5 kB / 1.101 GB, free: 19.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.9827, allocations: 53.31 kB / 1.101 GB, free: 19.14 MB / 0.698 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.001033/0.9837, allocations: 432.2 kB / 1.102 GB, free: 19.02 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003089/0.984, allocations: 187.2 kB / 1.102 GB, free: 18.92 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00199/0.986, allocations: 0.8983 MB / 1.103 GB, free: 18.84 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.022e-05/0.986, allocations: 14.25 kB / 1.103 GB, free: 18.84 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/0.9861, allocations: 6.031 kB / 1.103 GB, free: 18.83 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001643/0.9877, allocations: 0.8316 MB / 1.103 GB, free: 18.56 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005499/0.9932, allocations: 2.512 MB / 1.106 GB, free: 18.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.9933, allocations: 2.969 kB / 1.106 GB, free: 18.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000798/0.9941, allocations: 208.3 kB / 1.106 GB, free: 18.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.016e-05/0.9941, allocations: 2.906 kB / 1.106 GB, free: 18.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.541e-05/0.9941, allocations: 23.78 kB / 1.106 GB, free: 18.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.886e-06/0.9941, allocations: 12.27 kB / 1.106 GB, free: 18.09 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.9942, allocations: 5.297 kB / 1.106 GB, free: 18.09 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002455/0.9966, allocations: 1.544 MB / 1.108 GB, free: 17.56 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001186/0.9978, allocations: 415.6 kB / 1.108 GB, free: 17.36 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002771/0.9981, allocations: 17.75 kB / 1.108 GB, free: 17.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/0.9993, allocations: 128.1 kB / 1.108 GB, free: 17.34 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.9994, allocations: 54.08 kB / 1.108 GB, free: 17.33 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-05/0.9995, allocations: 39.56 kB / 1.108 GB, free: 17.33 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002104/1.002, allocations: 1.255 MB / 1.11 GB, free: 17.19 MB / 0.698 GB Notification: Performance of sort global known variables: time 2e-07/1.002, allocations: 0 / 1.11 GB, free: 17.19 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00286/1.004, allocations: 0.6652 MB / 1.11 GB, free: 17.09 MB / 0.698 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.001427/1.006, allocations: 0.599 MB / 1.111 GB, free: 16.89 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00188/1.008, allocations: 0.8495 MB / 1.112 GB, free: 16.88 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/1.008, allocations: 2.516 kB / 1.112 GB, free: 16.88 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000698/1.009, allocations: 381.1 kB / 1.112 GB, free: 16.86 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006125/1.015, allocations: 1.193 MB / 1.113 GB, free: 16.76 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005412/1.02, allocations: 3.664 MB / 1.117 GB, free: 14.87 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001048/1.021, allocations: 1.438 MB / 1.118 GB, free: 14.11 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001928/1.023, allocations: 384.4 kB / 1.118 GB, free: 14.02 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000378/1.024, allocations: 158.4 kB / 1.119 GB, free: 14.01 MB / 0.698 GB Notification: Performance of SimCode: time 1.213e-06/1.024, allocations: 0 / 1.119 GB, free: 14.01 MB / 0.698 GB Notification: Performance of Templates: time 0.07394/1.097, allocations: 40.07 MB / 1.158 GB, free: 7.453 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)