Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001165/0.001165, allocations: 194.4 kB / 16.14 MB, free: 6.652 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.314/1.314, allocations: 205.1 MB / 222 MB, free: 4.727 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.477/1.477, allocations: 251.7 MB / 0.5088 GB, free: 3.289 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.00144/0.00144, allocations: 59.92 kB / 0.6216 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5787/0.5801, allocations: 104.7 MB / 0.7238 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03777/0.6179, allocations: 41.35 MB / 0.7642 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01655/0.6345, allocations: 10.34 MB / 0.7743 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003126/0.6378, allocations: 47.69 kB / 0.7743 GB, free: 9.258 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001824/0.6397, allocations: 0.5361 MB / 0.7748 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005559/0.6452, allocations: 1.737 MB / 0.7765 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002927/0.6482, allocations: 1.041 MB / 0.7776 GB, free: 5.945 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005632/0.6538, allocations: 4.499 MB / 0.7819 GB, free: 1.438 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00149/0.6553, allocations: 0.8731 MB / 0.7828 GB, free: 0.5469 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002113/0.6574, allocations: 1.042 MB / 0.7838 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001052/0.6585, allocations: 0.8905 MB / 0.7847 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001101/0.6586, allocations: 48 kB / 0.7847 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002219/0.6609, allocations: 0.7792 MB / 0.7855 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002609/0.6611, allocations: 227 kB / 0.7857 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006081/0.6618, allocations: 0.5712 MB / 0.7863 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002165/0.6639, allocations: 1.858 MB / 0.7881 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.6639, allocations: 0 / 0.7881 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.062e-06/0.664, allocations: 4 kB / 0.7881 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.276e-05/0.664, allocations: 0 / 0.7881 GB, free: 11.11 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002478/0.6665, allocations: 1.503 MB / 0.7896 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.6665, allocations: 8.031 kB / 0.7896 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003678/0.6669, allocations: 131.4 kB / 0.7897 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001595/0.6685, allocations: 1.064 MB / 0.7907 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.067e-05/0.6686, allocations: 58 kB / 0.7908 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.6687, allocations: 75.98 kB / 0.7909 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.67, allocations: 0.7788 MB / 0.7916 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/0.67, allocations: 3.938 kB / 0.7916 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.471e-05/0.6701, allocations: 32 kB / 0.7917 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.262e-05/0.6702, allocations: 20 kB / 0.7917 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/0.6712, allocations: 0.5672 MB / 0.7922 GB, free: 6.746 MB / 0.6075 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.003782/0.675, allocations: 3.536 MB / 0.7957 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000564/0.6756, allocations: 258.4 kB / 0.7959 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003336/0.676, allocations: 176.8 kB / 0.7961 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005007/0.6765, allocations: 0.6648 MB / 0.7967 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.6765, allocations: 38.56 kB / 0.7968 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 2.945e-06/0.6765, allocations: 0 / 0.7968 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31): time 0.001161/0.6777, allocations: 0.5137 MB / 0.7973 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.6777, allocations: 55.41 kB / 0.7973 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.6788, allocations: 0.9254 MB / 0.7982 GB, free: 156 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.569e-05/0.6788, allocations: 37.7 kB / 0.7983 GB, free: 112 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000375/0.6792, allocations: 491.6 kB / 0.7987 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.741e-05/0.6793, allocations: 110.4 kB / 0.7988 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/0.6795, allocations: 118.1 kB / 0.799 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.6796, allocations: 337.8 kB / 0.7993 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003541/0.68, allocations: 157 kB / 0.7994 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005197/0.6805, allocations: 350.9 kB / 0.7998 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008048/0.6813, allocations: 0.5186 MB / 0.8003 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.6813, allocations: 4 kB / 0.8003 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00111/0.6824, allocations: 0.6172 MB / 0.8009 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.6825, allocations: 4 kB / 0.8009 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.6825, allocations: 8 kB / 0.8009 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.6825, allocations: 8 kB / 0.8009 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004521/0.683, allocations: 119.8 kB / 0.801 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.634e-05/0.683, allocations: 15.92 kB / 0.801 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006719/0.6837, allocations: 111.6 kB / 0.8011 GB, free: 13 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.833e-05/0.6837, allocations: 27.98 kB / 0.8012 GB, free: 12.98 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * 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.0003312/0.6841, allocations: 277.6 kB / 0.8014 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.6842, allocations: 98.78 kB / 0.8015 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009439/0.6852, allocations: 482.7 kB / 0.802 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.6852, allocations: 4 kB / 0.802 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.6852, allocations: 0 / 0.802 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006889/0.6859, allocations: 464.7 kB / 0.8024 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001985/0.6879, allocations: 1.339 MB / 0.8037 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.6879, allocations: 4 kB / 0.8037 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003373/0.6883, allocations: 80.05 kB / 0.8038 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.754e-06/0.6883, allocations: 7.938 kB / 0.8038 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/0.6883, allocations: 8 kB / 0.8038 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.6883, allocations: 3.938 kB / 0.8038 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.6884, allocations: 4 kB / 0.8038 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/0.6896, allocations: 0.7578 MB / 0.8046 GB, free: 9.328 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002923/0.6899, allocations: 223.7 kB / 0.8048 GB, free: 9.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.69, allocations: 8 kB / 0.8048 GB, free: 9.082 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005684/0.6906, allocations: 51.94 kB / 0.8048 GB, free: 9.031 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.512e-05/0.6907, allocations: 31.91 kB / 0.8049 GB, free: 9 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.674e-05/0.6907, allocations: 24.05 kB / 0.8049 GB, free: 8.977 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007911/0.6915, allocations: 0.643 MB / 0.8055 GB, free: 8.324 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6915, allocations: 0 / 0.8055 GB, free: 8.324 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009848/0.6925, allocations: 331.4 kB / 0.8058 GB, free: 8 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0007472/0.6933, allocations: 374.3 kB / 0.8062 GB, free: 7.637 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008523/0.6942, allocations: 420.2 kB / 0.8066 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.6942, allocations: 0 / 0.8066 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003717/0.6945, allocations: 189.5 kB / 0.8068 GB, free: 7.043 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002733/0.6973, allocations: 0.6047 MB / 0.8074 GB, free: 6.445 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/0.6998, allocations: 1.926 MB / 0.8093 GB, free: 4.473 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005531/0.7004, allocations: 1.036 MB / 0.8103 GB, free: 3.406 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007119/0.7011, allocations: 193.6 kB / 0.8105 GB, free: 3.215 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/0.7013, allocations: 79.42 kB / 0.8105 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of SimCode: time 5.21e-07/0.7013, allocations: 0 / 0.8105 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of Templates: time 0.035/0.7363, allocations: 20.11 MB / 0.8302 GB, free: 15.31 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)