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.000987/0.0009873, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.007199/0.007199, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.48/1.48, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.554/1.554, allocations: 252 MB / 0.5105 GB, free: 4.652 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.0005419/0.0005419, allocations: 12 kB / 0.6249 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4718/0.4723, allocations: 106.3 MB / 0.7287 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.038/0.5104, allocations: 40.5 MB / 0.7683 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01454/0.525, allocations: 10.22 MB / 0.7782 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00184/0.5269, allocations: 47.69 kB / 0.7783 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002015/0.5289, allocations: 0.5323 MB / 0.7788 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006828/0.5358, allocations: 1.731 MB / 0.7805 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003383/0.5392, allocations: 1.045 MB / 0.7815 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005734/0.5449, allocations: 4.495 MB / 0.7859 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001287/0.5462, allocations: 0.8556 MB / 0.7867 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002011/0.5482, allocations: 1.023 MB / 0.7877 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001072/0.5493, allocations: 0.8553 MB / 0.7886 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.111e-05/0.5494, allocations: 40 kB / 0.7886 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00181/0.5512, allocations: 0.7638 MB / 0.7894 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002249/0.5515, allocations: 215 kB / 0.7896 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005959/0.5521, allocations: 0.569 MB / 0.7901 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002248/0.5543, allocations: 1.818 MB / 0.7919 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.5544, allocations: 0 / 0.7919 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5544, allocations: 0 / 0.7919 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.618e-05/0.5544, allocations: 0 / 0.7919 GB, free: 10.33 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.002177/0.5566, allocations: 1.289 MB / 0.7932 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.5566, allocations: 16.03 kB / 0.7932 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003136/0.5569, allocations: 139.4 kB / 0.7933 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/0.5585, allocations: 1.062 MB / 0.7943 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.168e-05/0.5586, allocations: 58 kB / 0.7944 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.5587, allocations: 71.91 kB / 0.7945 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.56, allocations: 0.7983 MB / 0.7952 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.701e-05/0.5601, allocations: 4 kB / 0.7953 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.22e-05/0.5602, allocations: 24 kB / 0.7953 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.259e-05/0.5602, allocations: 20 kB / 0.7953 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.5614, allocations: 0.5945 MB / 0.7959 GB, free: 6.129 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.003834/0.5652, allocations: 3.536 MB / 0.7993 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005629/0.5658, allocations: 275.2 kB / 0.7996 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003521/0.5662, allocations: 188.8 kB / 0.7998 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004647/0.5666, allocations: 0.6609 MB / 0.8004 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.5667, allocations: 34.55 kB / 0.8004 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 2.104e-06/0.5667, allocations: 0 / 0.8004 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31): time 0.00119/0.5679, allocations: 0.5527 MB / 0.801 GB, free: 500 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.5679, allocations: 55.41 kB / 0.801 GB, free: 432 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.569, allocations: 0.9255 MB / 0.8019 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.822e-05/0.569, allocations: 29.7 kB / 0.802 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004002/0.5694, allocations: 499.5 kB / 0.8024 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.5696, allocations: 114.4 kB / 0.8026 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-05/0.5696, allocations: 53.62 kB / 0.8026 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.975e-05/0.5697, allocations: 329.9 kB / 0.8029 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003703/0.5701, allocations: 177 kB / 0.8031 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004722/0.5706, allocations: 366.8 kB / 0.8034 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000846/0.5714, allocations: 0.5342 MB / 0.804 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.5715, allocations: 0 / 0.804 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001063/0.5725, allocations: 0.6292 MB / 0.8046 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.5726, allocations: 8 kB / 0.8046 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.5726, allocations: 7.984 kB / 0.8046 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.5726, allocations: 8 kB / 0.8046 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004309/0.573, allocations: 127.8 kB / 0.8047 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.5731, allocations: 8 kB / 0.8047 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006724/0.5737, allocations: 127.3 kB / 0.8049 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.735e-05/0.5738, allocations: 27.94 kB / 0.8049 GB, free: 12.29 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.0003318/0.5741, allocations: 273.6 kB / 0.8051 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.5743, allocations: 94.88 kB / 0.8052 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.5753, allocations: 0.4962 MB / 0.8057 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.5753, allocations: 12 kB / 0.8057 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.5754, allocations: 4 kB / 0.8057 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007912/0.5761, allocations: 476.8 kB / 0.8062 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002041/0.5782, allocations: 1.358 MB / 0.8075 GB, free: 9.473 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.5782, allocations: 8.062 kB / 0.8075 GB, free: 9.465 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003339/0.5786, allocations: 87.97 kB / 0.8076 GB, free: 9.379 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.5786, allocations: 4 kB / 0.8076 GB, free: 9.375 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/0.5786, allocations: 8 kB / 0.8076 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.5786, allocations: 0 / 0.8076 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.5786, allocations: 4 kB / 0.8076 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/0.5799, allocations: 0.789 MB / 0.8084 GB, free: 8.543 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003154/0.5802, allocations: 243.8 kB / 0.8086 GB, free: 8.285 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.5803, allocations: 12 kB / 0.8086 GB, free: 8.273 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00058/0.5809, allocations: 59.8 kB / 0.8087 GB, free: 8.215 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.815e-05/0.581, allocations: 31.89 kB / 0.8087 GB, free: 8.184 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-05/0.581, allocations: 15.98 kB / 0.8087 GB, free: 8.168 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008316/0.5819, allocations: 0.643 MB / 0.8094 GB, free: 7.516 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.31e-07/0.5819, allocations: 4 kB / 0.8094 GB, free: 7.512 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009507/0.5828, allocations: 323.5 kB / 0.8097 GB, free: 7.195 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.0007374/0.5836, allocations: 382.6 kB / 0.81 GB, free: 6.824 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000869/0.5845, allocations: 440.8 kB / 0.8105 GB, free: 6.395 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.5845, allocations: 4 kB / 0.8105 GB, free: 6.391 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003765/0.5849, allocations: 201.3 kB / 0.8107 GB, free: 6.195 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003134/0.588, allocations: 0.6039 MB / 0.8112 GB, free: 5.598 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002923/0.5909, allocations: 1.982 MB / 0.8132 GB, free: 3.57 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005884/0.5915, allocations: 1.028 MB / 0.8142 GB, free: 2.512 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006958/0.5922, allocations: 195.2 kB / 0.8144 GB, free: 2.32 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/0.5924, allocations: 79.42 kB / 0.8144 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of SimCode: time 2.274e-06/0.5924, allocations: 4 kB / 0.8145 GB, free: 2.238 MB / 0.6231 GB Notification: Performance of Templates: time 0.03408/0.6265, allocations: 20.15 MB / 0.8341 GB, free: 14.38 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: