Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 107.4 kB / 16.41 MB, free: 6.457 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.00135/0.00135, allocations: 192.3 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00212/0.00212, allocations: 293.3 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9233/0.9233, allocations: 169.2 MB / 0.499 GB, free: 4.402 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 95.86 kB / 0.6821 GB, free: 6.914 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.375, allocations: 86.98 MB / 0.7671 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.06864/0.4437, allocations: 77.14 MB / 0.8424 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02427/0.468, allocations: 18.89 MB / 0.8608 GB, free: 3.535 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003102/0.4711, allocations: 115.3 kB / 0.861 GB, free: 3.422 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003111/0.4743, allocations: 1.289 MB / 0.8622 GB, free: 2.125 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.009025/0.4833, allocations: 3.808 MB / 0.8659 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005037/0.4884, allocations: 2.097 MB / 0.868 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008196/0.4966, allocations: 6.702 MB / 0.8745 GB, free: 5.504 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003179/0.4998, allocations: 2.102 MB / 0.8766 GB, free: 3.352 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004889/0.5047, allocations: 2.375 MB / 0.8789 GB, free: 0.9766 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002877/0.5076, allocations: 1.75 MB / 0.8806 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005684/0.5082, allocations: 200 kB / 0.8808 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004036/0.5122, allocations: 1.626 MB / 0.8824 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0007917/0.513, allocations: 0.5371 MB / 0.8829 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002124/0.5152, allocations: 1.252 MB / 0.8841 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006076/0.5212, allocations: 3.749 MB / 0.8878 GB, free: 7.84 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.5213, allocations: 0 / 0.8878 GB, free: 7.84 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5213, allocations: 0 / 0.8878 GB, free: 7.84 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.064e-05/0.5214, allocations: 0 / 0.8878 GB, free: 7.84 MB / 0.6544 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.005384/0.5268, allocations: 2.71 MB / 0.8904 GB, free: 5.066 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.5268, allocations: 8.031 kB / 0.8904 GB, free: 5.059 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008626/0.5277, allocations: 273.9 kB / 0.8907 GB, free: 4.789 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003524/0.5312, allocations: 2.023 MB / 0.8927 GB, free: 2.715 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.689e-05/0.5313, allocations: 106.7 kB / 0.8928 GB, free: 2.609 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002253/0.5315, allocations: 144 kB / 0.8929 GB, free: 2.469 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002639/0.5342, allocations: 1.523 MB / 0.8944 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.078e-05/0.5342, allocations: 7.906 kB / 0.8944 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/0.5344, allocations: 56 kB / 0.8945 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.113e-05/0.5344, allocations: 40 kB / 0.8945 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002175/0.5366, allocations: 1.126 MB / 0.8956 GB, free: 15.64 MB / 0.67 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.008016/0.5446, allocations: 7.602 MB / 0.903 GB, free: 7.457 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00094/0.5456, allocations: 477.1 kB / 0.9035 GB, free: 6.984 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006232/0.5462, allocations: 335.1 kB / 0.9038 GB, free: 6.656 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007943/0.547, allocations: 1.152 MB / 0.9049 GB, free: 5.246 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.5471, allocations: 43.16 kB / 0.905 GB, free: 5.195 MB / 0.67 GB Notification: Performance of pre-optimization done (n=59): time 2.043e-06/0.5471, allocations: 0 / 0.905 GB, free: 5.195 MB / 0.67 GB Notification: Performance of matching and sorting (n=59): time 0.002215/0.5493, allocations: 0.9612 MB / 0.9059 GB, free: 4.227 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.5493, allocations: 59.97 kB / 0.906 GB, free: 4.156 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002077/0.5514, allocations: 1.787 MB / 0.9077 GB, free: 2.332 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.323e-05/0.5515, allocations: 45.7 kB / 0.9078 GB, free: 2.281 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007086/0.5522, allocations: 0.9277 MB / 0.9087 GB, free: 1.344 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001926/0.5524, allocations: 225 kB / 0.9089 GB, free: 1.121 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002707/0.5527, allocations: 222.6 kB / 0.9091 GB, free: 0.8984 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.5528, allocations: 353.9 kB / 0.9094 GB, free: 0.5469 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006675/0.5535, allocations: 326.4 kB / 0.9097 GB, free: 232 kB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009426/0.5545, allocations: 0.6899 MB / 0.9104 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001576/0.556, allocations: 1.012 MB / 0.9114 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.5561, allocations: 7.938 kB / 0.9114 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002201/0.5583, allocations: 1.21 MB / 0.9126 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.5583, allocations: 12 kB / 0.9126 GB, free: 13 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.5583, allocations: 8 kB / 0.9126 GB, free: 13 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.5583, allocations: 16 kB / 0.9126 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.5594, allocations: 296 kB / 0.9129 GB, free: 12.69 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.383e-05/0.5594, allocations: 23.92 kB / 0.9129 GB, free: 12.67 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/0.5605, allocations: 162.4 kB / 0.9131 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.999e-05/0.5606, allocations: 48 kB / 0.9131 GB, free: 12.46 MB / 0.6856 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000644/0.5613, allocations: 449.3 kB / 0.9136 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002782/0.5616, allocations: 189.7 kB / 0.9137 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001722/0.5633, allocations: 0.8645 MB / 0.9146 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001311/0.5646, allocations: 0.7917 MB / 0.9154 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.5646, allocations: 0 / 0.9154 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005695/0.5652, allocations: 362.5 kB / 0.9157 GB, free: 9.746 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002165/0.5654, allocations: 12 kB / 0.9157 GB, free: 9.734 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009004/0.5663, allocations: 55.86 kB / 0.9158 GB, free: 9.68 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.8e-05/0.5664, allocations: 44.5 kB / 0.9158 GB, free: 9.633 MB / 0.6856 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00202/0.5685, allocations: 0.8772 MB / 0.9167 GB, free: 8.75 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002301/0.5708, allocations: 1.396 MB / 0.918 GB, free: 7.332 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006274/0.5714, allocations: 336.3 kB / 0.9184 GB, free: 7.004 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001532/0.573, allocations: 1.207 MB / 0.9195 GB, free: 5.777 MB / 0.6856 GB Notification: Performance of Backend: time 3.4e-07/0.573, allocations: 0 / 0.9195 GB, free: 5.777 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002863/0.5758, allocations: 1.244 MB / 0.9207 GB, free: 4.551 MB / 0.6856 GB Notification: Performance of SimCode: time 0.007331/0.5832, allocations: 4.311 MB / 0.925 GB, free: 208 kB / 0.6856 GB Notification: Performance of Templates: time 0.3809/0.9641, allocations: 41.4 MB / 0.9654 GB, free: 74.07 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)