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 1.719/1.719, allocations: 287.5 MB / 302.6 MB, free: 8.262 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.001062/0.001062, allocations: 182.8 kB / 371.2 MB, free: 10.84 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.416/1.416, allocations: 205.4 MB / 0.6298 GB, free: 10.59 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.0009357/0.0009359, allocations: 100.6 kB / 0.7432 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004107/0.0004107, allocations: 15.69 kB / 0.8661 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2141, allocations: 115.3 MB / 0.9787 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.06225/0.2763, allocations: 71.14 MB / 1.048 GB, free: 4.895 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02514/0.3016, allocations: 17.57 MB / 1.065 GB, free: 3.289 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004541/0.3061, allocations: 87.38 kB / 1.065 GB, free: 3.203 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004966/0.3112, allocations: 0.8773 MB / 1.066 GB, free: 2.32 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.4641/0.7753, allocations: 2.811 MB / 1.069 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005829/0.7812, allocations: 1.517 MB / 1.07 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01352/0.7947, allocations: 7.615 MB / 1.078 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004076/0.7988, allocations: 1.665 MB / 1.08 GB, free: 13.35 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005623/0.8045, allocations: 1.865 MB / 1.081 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004853/0.8094, allocations: 1.596 MB / 1.083 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0008079/0.8102, allocations: 74.31 kB / 1.083 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004789/0.815, allocations: 0.8967 MB / 1.084 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001135/0.8162, allocations: 392.1 kB / 1.084 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002366/0.8185, allocations: 489 kB / 1.085 GB, free: 29.3 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.005562/0.8241, allocations: 2.669 MB / 1.087 GB, free: 29.18 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.156e-06/0.8242, allocations: 0 / 1.087 GB, free: 29.18 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.755e-06/0.8242, allocations: 4 kB / 1.087 GB, free: 29.18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001082/0.8243, allocations: 1.312 kB / 1.087 GB, free: 29.18 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.005217/0.8295, allocations: 2.292 MB / 1.09 GB, free: 27.96 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.8296, allocations: 9.938 kB / 1.09 GB, free: 27.96 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008841/0.8305, allocations: 263.4 kB / 1.09 GB, free: 27.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003893/0.8344, allocations: 1.941 MB / 1.092 GB, free: 27.36 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/0.8345, allocations: 113.6 kB / 1.092 GB, free: 27.35 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000284/0.8348, allocations: 146.3 kB / 1.092 GB, free: 27.35 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003379/0.8382, allocations: 1.523 MB / 1.093 GB, free: 27.12 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.895e-05/0.8383, allocations: 4.406 kB / 1.093 GB, free: 27.12 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/0.8384, allocations: 62.38 kB / 1.094 GB, free: 27.12 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-05/0.8385, allocations: 42 kB / 1.094 GB, free: 27.11 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002736/0.8412, allocations: 1.156 MB / 1.095 GB, free: 27.09 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.01025/0.8515, allocations: 7.585 MB / 1.102 GB, free: 22.82 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009721/0.8525, allocations: 494.1 kB / 1.103 GB, free: 22.79 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006269/0.8531, allocations: 350.4 kB / 1.103 GB, free: 22.78 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009352/0.8541, allocations: 1.162 MB / 1.104 GB, free: 21.45 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.8541, allocations: 46.27 kB / 1.104 GB, free: 21.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=59): time 3.046e-06/0.8541, allocations: 0 / 1.104 GB, free: 21.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=59): time 0.002339/0.8565, allocations: 1.021 MB / 1.105 GB, free: 21.26 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.8565, allocations: 63.73 kB / 1.105 GB, free: 21.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002335/0.8589, allocations: 1.723 MB / 1.107 GB, free: 20.96 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001293/0.859, allocations: 42.3 kB / 1.107 GB, free: 20.93 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006456/0.8597, allocations: 0.9189 MB / 1.108 GB, free: 20.62 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/0.8599, allocations: 221.9 kB / 1.108 GB, free: 20.48 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.8599, allocations: 23.91 kB / 1.108 GB, free: 20.48 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.8601, allocations: 349.3 kB / 1.108 GB, free: 20.18 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007342/0.8608, allocations: 345.7 kB / 1.109 GB, free: 20.17 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008527/0.8617, allocations: 0.7066 MB / 1.109 GB, free: 19.75 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/0.8631, allocations: 1.051 MB / 1.11 GB, free: 19.36 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/0.8631, allocations: 5.25 kB / 1.11 GB, free: 19.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002235/0.8654, allocations: 1.249 MB / 1.112 GB, free: 19.21 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.305e-05/0.8654, allocations: 12.41 kB / 1.112 GB, free: 19.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/0.8654, allocations: 13.31 kB / 1.112 GB, free: 19.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.237e-05/0.8655, allocations: 16.44 kB / 1.112 GB, free: 19.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.8665, allocations: 313.5 kB / 1.112 GB, free: 19.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-05/0.8665, allocations: 21.97 kB / 1.112 GB, free: 19.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001883/0.8684, allocations: 249.4 kB / 1.112 GB, free: 19.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.8685, allocations: 51.78 kB / 1.112 GB, free: 19.12 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.0008862/0.8694, allocations: 436.3 kB / 1.113 GB, free: 19 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002803/0.8697, allocations: 202.4 kB / 1.113 GB, free: 18.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001773/0.8715, allocations: 0.9002 MB / 1.114 GB, free: 18.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.735e-05/0.8715, allocations: 10.44 kB / 1.114 GB, free: 18.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.8715, allocations: 0 / 1.114 GB, free: 18.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001369/0.8729, allocations: 0.8373 MB / 1.115 GB, free: 18.53 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004638/0.8776, allocations: 2.464 MB / 1.117 GB, free: 18.08 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.8776, allocations: 4.625 kB / 1.117 GB, free: 18.08 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008114/0.8784, allocations: 209.5 kB / 1.117 GB, free: 18.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.778e-06/0.8784, allocations: 3.75 kB / 1.117 GB, free: 18.07 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.815e-05/0.8785, allocations: 19.98 kB / 1.117 GB, free: 18.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.189e-05/0.8785, allocations: 7.531 kB / 1.117 GB, free: 18.07 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.8785, allocations: 5.219 kB / 1.117 GB, free: 18.07 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002406/0.8809, allocations: 1.39 MB / 1.119 GB, free: 17.73 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009201/0.8819, allocations: 403.9 kB / 1.119 GB, free: 17.52 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002419/0.8821, allocations: 16.31 kB / 1.119 GB, free: 17.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/0.8832, allocations: 138.2 kB / 1.119 GB, free: 17.49 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.8833, allocations: 51.44 kB / 1.119 GB, free: 17.49 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-05/0.8834, allocations: 36.11 kB / 1.119 GB, free: 17.49 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001814/0.8852, allocations: 1.19 MB / 1.12 GB, free: 17.35 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8852, allocations: 2.625 kB / 1.12 GB, free: 17.35 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002017/0.8872, allocations: 0.6292 MB / 1.121 GB, free: 17.26 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.001088/0.8883, allocations: 0.5534 MB / 1.121 GB, free: 17.07 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001771/0.8901, allocations: 0.8494 MB / 1.122 GB, free: 17.05 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.8901, allocations: 4.438 kB / 1.122 GB, free: 17.05 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007153/0.8909, allocations: 375.1 kB / 1.123 GB, free: 17.04 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006126/0.897, allocations: 1.198 MB / 1.124 GB, free: 16.93 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005375/0.9024, allocations: 3.674 MB / 1.127 GB, free: 15.03 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001109/0.9035, allocations: 1.401 MB / 1.129 GB, free: 14.28 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002165/0.9057, allocations: 379.6 kB / 1.129 GB, free: 14.19 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003778/0.9061, allocations: 146.5 kB / 1.129 GB, free: 14.18 MB / 0.698 GB Notification: Performance of SimCode: time 1.803e-06/0.9061, allocations: 1.031 kB / 1.129 GB, free: 14.18 MB / 0.698 GB Notification: Performance of Templates: time 0.06383/0.9699, allocations: 39.29 MB / 1.168 GB, free: 1.625 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)