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.001282/0.001282, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 188.9 kB / 16.66 MB, free: 6.582 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002032/0.002032, allocations: 279.2 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9644/0.9644, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 92.23 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.16, allocations: 86.98 MB / 0.7664 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.4098/0.5698, allocations: 77.16 MB / 0.8417 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02685/0.5967, allocations: 18.88 MB / 0.8602 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004262/0.601, allocations: 117.4 kB / 0.8603 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003822/0.6049, allocations: 1.249 MB / 0.8615 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0121/0.617, allocations: 3.622 MB / 0.865 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005727/0.6227, allocations: 2.097 MB / 0.8671 GB, free: 6.777 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01117/0.6339, allocations: 6.68 MB / 0.8736 GB, free: 2.84 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003964/0.6379, allocations: 2.091 MB / 0.8756 GB, free: 1.516 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00669/0.6446, allocations: 2.316 MB / 0.8779 GB, free: 160 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003823/0.6485, allocations: 1.757 MB / 0.8796 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000969/0.6495, allocations: 202.5 kB / 0.8798 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005222/0.6547, allocations: 1.618 MB / 0.8814 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0008902/0.6556, allocations: 0.541 MB / 0.8819 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002477/0.6581, allocations: 1.244 MB / 0.8831 GB, free: 11.51 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006862/0.665, allocations: 3.766 MB / 0.8868 GB, free: 7.738 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.665, allocations: 4 kB / 0.8868 GB, free: 7.734 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.403e-06/0.665, allocations: 0 / 0.8868 GB, free: 7.734 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001252/0.6651, allocations: 0 / 0.8868 GB, free: 7.734 MB / 0.6387 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.004781/0.6699, allocations: 2.79 MB / 0.8895 GB, free: 4.875 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.67, allocations: 19.95 kB / 0.8896 GB, free: 4.855 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006678/0.6706, allocations: 271.3 kB / 0.8898 GB, free: 4.59 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002918/0.6736, allocations: 2.037 MB / 0.8918 GB, free: 2.504 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.131e-05/0.6737, allocations: 102.7 kB / 0.8919 GB, free: 2.402 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001742/0.6738, allocations: 152 kB / 0.892 GB, free: 2.254 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002425/0.6763, allocations: 1.52 MB / 0.8935 GB, free: 0.6562 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.247e-05/0.6763, allocations: 0 / 0.8935 GB, free: 0.6562 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001113/0.6764, allocations: 60 kB / 0.8936 GB, free: 0.5977 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-05/0.6765, allocations: 43.98 kB / 0.8936 GB, free: 0.5547 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002076/0.6786, allocations: 1.119 MB / 0.8947 GB, free: 15.43 MB / 0.6544 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.007045/0.6856, allocations: 7.628 MB / 0.9022 GB, free: 7.223 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008968/0.6865, allocations: 473.1 kB / 0.9026 GB, free: 6.754 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000613/0.6872, allocations: 343.2 kB / 0.903 GB, free: 6.418 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000795/0.688, allocations: 1.152 MB / 0.9041 GB, free: 5.008 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.688, allocations: 39.12 kB / 0.9041 GB, free: 4.961 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=59): time 2.465e-06/0.688, allocations: 0 / 0.9041 GB, free: 4.961 MB / 0.6544 GB Notification: Performance of matching and sorting (n=59): time 0.002076/0.6901, allocations: 0.9701 MB / 0.9051 GB, free: 3.984 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.6901, allocations: 63.95 kB / 0.9051 GB, free: 3.91 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001988/0.6921, allocations: 1.783 MB / 0.9069 GB, free: 2.09 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.609e-05/0.6922, allocations: 41.7 kB / 0.9069 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006865/0.6929, allocations: 0.949 MB / 0.9078 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/0.6931, allocations: 226.1 kB / 0.908 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002698/0.6934, allocations: 226.8 kB / 0.9083 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.6935, allocations: 349.8 kB / 0.9086 GB, free: 296 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006695/0.6942, allocations: 334.5 kB / 0.9089 GB, free: 15.96 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008834/0.6951, allocations: 0.686 MB / 0.9096 GB, free: 15.12 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/0.6966, allocations: 1.016 MB / 0.9106 GB, free: 13.98 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.6966, allocations: 4 kB / 0.9106 GB, free: 13.97 MB / 0.67 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002157/0.6988, allocations: 1.223 MB / 0.9118 GB, free: 12.74 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.6988, allocations: 8 kB / 0.9118 GB, free: 12.73 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.6988, allocations: 12.03 kB / 0.9118 GB, free: 12.72 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.737e-05/0.6989, allocations: 20 kB / 0.9118 GB, free: 12.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000986/0.6999, allocations: 291.6 kB / 0.9121 GB, free: 12.42 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-05/0.6999, allocations: 23.92 kB / 0.9121 GB, free: 12.39 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/0.701, allocations: 170.8 kB / 0.9123 GB, free: 12.23 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.91e-05/0.7011, allocations: 51.98 kB / 0.9123 GB, free: 12.18 MB / 0.67 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.0005908/0.7017, allocations: 442 kB / 0.9128 GB, free: 11.73 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003055/0.702, allocations: 202.7 kB / 0.9129 GB, free: 11.54 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001714/0.7037, allocations: 0.8732 MB / 0.9138 GB, free: 10.66 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/0.7038, allocations: 4 kB / 0.9138 GB, free: 10.65 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.7038, allocations: 3.938 kB / 0.9138 GB, free: 10.65 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001288/0.7051, allocations: 0.7956 MB / 0.9146 GB, free: 9.809 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004014/0.7091, allocations: 2.451 MB / 0.917 GB, free: 7.266 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.7091, allocations: 4 kB / 0.917 GB, free: 7.262 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007751/0.7099, allocations: 179.7 kB / 0.9171 GB, free: 7.086 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.648e-06/0.7099, allocations: 8.25 kB / 0.9172 GB, free: 7.078 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.587e-05/0.71, allocations: 16 kB / 0.9172 GB, free: 7.062 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.645e-06/0.71, allocations: 7.938 kB / 0.9172 GB, free: 7.055 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.71, allocations: 4 kB / 0.9172 GB, free: 7.051 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002438/0.7124, allocations: 1.341 MB / 0.9185 GB, free: 5.668 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006026/0.7131, allocations: 383.5 kB / 0.9189 GB, free: 5.273 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000285/0.7134, allocations: 12 kB / 0.9189 GB, free: 5.262 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.7144, allocations: 69.38 kB / 0.9189 GB, free: 5.195 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.7145, allocations: 52.48 kB / 0.919 GB, free: 5.145 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.872e-05/0.7146, allocations: 35.98 kB / 0.919 GB, free: 5.109 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001673/0.7162, allocations: 1.239 MB / 0.9202 GB, free: 3.852 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.81e-07/0.7163, allocations: 0 / 0.9202 GB, free: 3.852 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001543/0.7178, allocations: 0.6587 MB / 0.9209 GB, free: 3.191 MB / 0.67 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 (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.001069/0.7189, allocations: 0.617 MB / 0.9215 GB, free: 2.582 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00157/0.7205, allocations: 0.8164 MB / 0.9223 GB, free: 1.77 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.7205, allocations: 4.125 kB / 0.9223 GB, free: 1.766 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006803/0.7212, allocations: 354.9 kB / 0.9226 GB, free: 1.414 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004805/0.726, allocations: 1.203 MB / 0.9238 GB, free: 240 kB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004444/0.7304, allocations: 3.125 MB / 0.9268 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009329/0.7314, allocations: 1.409 MB / 0.9282 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001238/0.7326, allocations: 375.1 kB / 0.9286 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003051/0.7329, allocations: 143.4 kB / 0.9287 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of SimCode: time 4.91e-07/0.7329, allocations: 0 / 0.9287 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of Templates: time 0.06916/0.8021, allocations: 41.97 MB / 0.9697 GB, free: 1.711 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)