Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.562/2.562, allocations: 287.3 MB / 302.3 MB, free: 8.238 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.001531/0.001531, allocations: 189.1 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.173/2.173, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001117/0.001117, allocations: 96.47 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004915/0.0004915, allocations: 13.14 kB / 0.8656 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2474, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.09655/0.344, allocations: 64.42 MB / 1.041 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.04036/0.3844, allocations: 16.08 MB / 1.057 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003777/0.3883, allocations: 87.38 kB / 1.057 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005872/0.3942, allocations: 1.178 MB / 1.058 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01548/0.4097, allocations: 3.447 MB / 1.061 GB, free: 7 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0108/0.4206, allocations: 2.331 MB / 1.064 GB, free: 4.715 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01022/0.4308, allocations: 3.851 MB / 1.067 GB, free: 0.8594 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6784/1.109, allocations: 1.456 MB / 1.069 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00733/1.117, allocations: 1.638 MB / 1.07 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004565/1.121, allocations: 1.076 MB / 1.072 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0008804/1.122, allocations: 74.31 kB / 1.072 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008167/1.13, allocations: 1.013 MB / 1.073 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001649/1.132, allocations: 373.2 kB / 1.073 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0027/1.135, allocations: 493.6 kB / 1.073 GB, free: 28.35 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.007882/1.143, allocations: 2.643 MB / 1.076 GB, free: 28.15 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/1.143, allocations: 2.375 kB / 1.076 GB, free: 28.15 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.196e-06/1.143, allocations: 0.7812 kB / 1.076 GB, free: 28.15 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.00012/1.143, allocations: 0 / 1.076 GB, free: 28.15 MB / 0.698 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.007957/1.151, allocations: 2.307 MB / 1.078 GB, free: 26.93 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/1.151, allocations: 9.469 kB / 1.078 GB, free: 26.93 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/1.153, allocations: 265.2 kB / 1.078 GB, free: 26.81 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00605/1.159, allocations: 1.747 MB / 1.08 GB, free: 26.42 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001555/1.159, allocations: 109.2 kB / 1.08 GB, free: 26.42 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004168/1.159, allocations: 150.5 kB / 1.08 GB, free: 26.41 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005782/1.165, allocations: 1.517 MB / 1.082 GB, free: 26.18 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.356e-05/1.165, allocations: 4.719 kB / 1.082 GB, free: 26.18 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000272/1.166, allocations: 59.17 kB / 1.082 GB, free: 26.18 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.87e-05/1.166, allocations: 37.23 kB / 1.082 GB, free: 26.18 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00481/1.171, allocations: 1.16 MB / 1.083 GB, free: 26.16 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.01581/1.186, allocations: 7.648 MB / 1.091 GB, free: 21.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001778/1.188, allocations: 0.4884 MB / 1.091 GB, free: 21.88 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001249/1.19, allocations: 1.148 MB / 1.092 GB, free: 20.57 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.234e-05/1.19, allocations: 40.88 kB / 1.092 GB, free: 20.53 MB / 0.698 GB Notification: Performance of pre-optimization done (n=59): time 3.136e-06/1.19, allocations: 0 / 1.092 GB, free: 20.53 MB / 0.698 GB Notification: Performance of matching and sorting (n=59): time 0.00427/1.194, allocations: 1.023 MB / 1.093 GB, free: 20.38 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/1.194, allocations: 57.31 kB / 1.093 GB, free: 20.31 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004474/1.199, allocations: 1.815 MB / 1.095 GB, free: 20.08 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000319/1.199, allocations: 43.42 kB / 1.095 GB, free: 20.05 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001144/1.2, allocations: 0.9223 MB / 1.096 GB, free: 19.73 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004332/1.2, allocations: 219 kB / 1.096 GB, free: 19.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.073e-05/1.201, allocations: 19.25 kB / 1.096 GB, free: 19.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002011/1.201, allocations: 346.4 kB / 1.097 GB, free: 19.29 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001377/1.202, allocations: 348.5 kB / 1.097 GB, free: 19.29 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001717/1.204, allocations: 0.7074 MB / 1.098 GB, free: 18.87 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001529/1.206, allocations: 463 kB / 1.098 GB, free: 18.84 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.138e-05/1.206, allocations: 3.625 kB / 1.098 GB, free: 18.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.004296/1.21, allocations: 1.251 MB / 1.099 GB, free: 18.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.568e-05/1.21, allocations: 11.31 kB / 1.099 GB, free: 18.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.43e-05/1.21, allocations: 11.25 kB / 1.099 GB, free: 18.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.601e-05/1.21, allocations: 20.52 kB / 1.099 GB, free: 18.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002196/1.212, allocations: 317.2 kB / 1.1 GB, free: 18.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.156e-05/1.212, allocations: 20.67 kB / 1.1 GB, free: 18.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00321/1.216, allocations: 261.9 kB / 1.1 GB, free: 18.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000238/1.216, allocations: 54.09 kB / 1.1 GB, free: 18.59 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.001533/1.217, allocations: 442 kB / 1.1 GB, free: 18.47 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006912/1.218, allocations: 189.4 kB / 1.101 GB, free: 18.38 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003267/1.221, allocations: 0.8975 MB / 1.101 GB, free: 18.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.957e-05/1.221, allocations: 11.06 kB / 1.101 GB, free: 18.29 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/1.221, allocations: 0 / 1.101 GB, free: 18.29 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002412/1.224, allocations: 0.8355 MB / 1.102 GB, free: 18.02 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008202/1.232, allocations: 2.52 MB / 1.105 GB, free: 17.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/1.232, allocations: 2.656 kB / 1.105 GB, free: 17.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001592/1.234, allocations: 208.6 kB / 1.105 GB, free: 17.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.722e-05/1.234, allocations: 5.875 kB / 1.105 GB, free: 17.55 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.252e-05/1.234, allocations: 19.66 kB / 1.105 GB, free: 17.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.939e-06/1.234, allocations: 8.859 kB / 1.105 GB, free: 17.55 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/1.234, allocations: 6.656 kB / 1.105 GB, free: 17.55 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004714/1.239, allocations: 1.539 MB / 1.106 GB, free: 17.02 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001799/1.241, allocations: 420.2 kB / 1.107 GB, free: 16.81 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008591/1.241, allocations: 16 kB / 1.107 GB, free: 16.81 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002781/1.244, allocations: 131.2 kB / 1.107 GB, free: 16.79 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002384/1.244, allocations: 50.11 kB / 1.107 GB, free: 16.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001629/1.245, allocations: 35.45 kB / 1.107 GB, free: 16.79 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003388/1.248, allocations: 1.257 MB / 1.108 GB, free: 16.64 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.91e-07/1.248, allocations: 0 / 1.108 GB, free: 16.64 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003562/1.252, allocations: 0.6628 MB / 1.109 GB, free: 16.55 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.001989/1.254, allocations: 0.5906 MB / 1.11 GB, free: 16.35 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003229/1.257, allocations: 0.8494 MB / 1.11 GB, free: 16.32 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/1.257, allocations: 4.188 kB / 1.11 GB, free: 16.32 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001331/1.258, allocations: 374.2 kB / 1.111 GB, free: 16.32 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01109/1.27, allocations: 1.198 MB / 1.112 GB, free: 16.21 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009098/1.279, allocations: 3.665 MB / 1.115 GB, free: 14.32 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00183/1.281, allocations: 1.437 MB / 1.117 GB, free: 13.57 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003208/1.284, allocations: 393.5 kB / 1.117 GB, free: 13.47 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008532/1.285, allocations: 147.3 kB / 1.117 GB, free: 13.46 MB / 0.698 GB Notification: Performance of SimCode: time 1.793e-06/1.285, allocations: 0 / 1.117 GB, free: 13.46 MB / 0.698 GB Notification: Performance of Templates: time 0.1092/1.394, allocations: 40.06 MB / 1.157 GB, free: 8.27 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)