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.007563/0.007563, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001757/0.001757, allocations: 198.8 kB / 16.68 MB, free: 5.93 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002079/0.002079, allocations: 292.4 kB / 290.8 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.9322/0.9322, allocations: 169.3 MB / 0.4983 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 100.2 kB / 0.6815 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4924/0.4941, allocations: 86.98 MB / 0.7664 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.06933/0.5635, allocations: 77.13 MB / 0.8417 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0255/0.589, allocations: 18.89 MB / 0.8602 GB, free: 3.594 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003813/0.5929, allocations: 111.3 kB / 0.8603 GB, free: 3.484 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003594/0.5966, allocations: 1.25 MB / 0.8615 GB, free: 2.227 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.009486/0.6061, allocations: 3.626 MB / 0.865 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004963/0.6111, allocations: 2.091 MB / 0.8671 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007902/0.619, allocations: 6.682 MB / 0.8736 GB, free: 5.812 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002992/0.622, allocations: 2.093 MB / 0.8757 GB, free: 3.668 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004706/0.6267, allocations: 2.381 MB / 0.878 GB, free: 1.289 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002797/0.6295, allocations: 1.754 MB / 0.8797 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005637/0.6301, allocations: 204 kB / 0.8799 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003856/0.6339, allocations: 1.626 MB / 0.8815 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0007379/0.6347, allocations: 0.5293 MB / 0.882 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002029/0.6367, allocations: 1.252 MB / 0.8832 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006079/0.6428, allocations: 3.75 MB / 0.8869 GB, free: 8.152 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.6428, allocations: 0 / 0.8869 GB, free: 8.152 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6428, allocations: 0 / 0.8869 GB, free: 8.152 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001272/0.643, allocations: 3.984 kB / 0.8869 GB, free: 8.148 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.008105/0.6511, allocations: 2.707 MB / 0.8895 GB, free: 5.375 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.834e-05/0.6512, allocations: 8.031 kB / 0.8895 GB, free: 5.367 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00145/0.6526, allocations: 273.9 kB / 0.8898 GB, free: 5.098 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004588/0.6572, allocations: 2.027 MB / 0.8918 GB, free: 3.02 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-05/0.6574, allocations: 102.7 kB / 0.8919 GB, free: 2.918 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002604/0.6576, allocations: 144 kB / 0.892 GB, free: 2.777 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00303/0.6607, allocations: 1.52 MB / 0.8935 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.582e-05/0.6607, allocations: 3.906 kB / 0.8935 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001453/0.6609, allocations: 63.98 kB / 0.8936 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.837e-05/0.6609, allocations: 36 kB / 0.8936 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002321/0.6632, allocations: 1.126 MB / 0.8947 GB, free: 15.95 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.008005/0.6713, allocations: 7.602 MB / 0.9021 GB, free: 7.766 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009343/0.6722, allocations: 476.4 kB / 0.9026 GB, free: 7.297 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006178/0.6728, allocations: 335.1 kB / 0.9029 GB, free: 6.969 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007873/0.6736, allocations: 1.156 MB / 0.904 GB, free: 5.555 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.6737, allocations: 39.12 kB / 0.9041 GB, free: 5.508 MB / 0.67 GB Notification: Performance of pre-optimization done (n=59): time 3.847e-06/0.6737, allocations: 96 / 0.9041 GB, free: 5.508 MB / 0.67 GB Notification: Performance of matching and sorting (n=59): time 0.002193/0.6759, allocations: 0.969 MB / 0.905 GB, free: 4.531 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.6759, allocations: 55.97 kB / 0.9051 GB, free: 4.465 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002227/0.6782, allocations: 1.783 MB / 0.9068 GB, free: 2.645 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.375e-05/0.6783, allocations: 45.64 kB / 0.9068 GB, free: 2.594 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007111/0.679, allocations: 0.9316 MB / 0.9077 GB, free: 1.652 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001955/0.6792, allocations: 221 kB / 0.908 GB, free: 1.434 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002864/0.6795, allocations: 230.5 kB / 0.9082 GB, free: 1.203 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.6796, allocations: 353.9 kB / 0.9085 GB, free: 0.8516 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006799/0.6803, allocations: 330.4 kB / 0.9088 GB, free: 0.5273 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009287/0.6812, allocations: 0.686 MB / 0.9095 GB, free: 15.69 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00167/0.6829, allocations: 1.008 MB / 0.9105 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.283e-06/0.6829, allocations: 4 kB / 0.9105 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002227/0.6852, allocations: 1.218 MB / 0.9117 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.6852, allocations: 11.28 kB / 0.9117 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.6852, allocations: 12 kB / 0.9117 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.629e-05/0.6852, allocations: 20 kB / 0.9117 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009928/0.6862, allocations: 296 kB / 0.912 GB, free: 12.99 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.368e-05/0.6863, allocations: 19.94 kB / 0.912 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/0.6874, allocations: 158.4 kB / 0.9122 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.299e-05/0.6875, allocations: 51.98 kB / 0.9122 GB, free: 12.77 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.0005772/0.6881, allocations: 449.3 kB / 0.9127 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003089/0.6884, allocations: 189.7 kB / 0.9128 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001713/0.6901, allocations: 0.8682 MB / 0.9137 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.6901, allocations: 4 kB / 0.9137 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.6901, allocations: 0 / 0.9137 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001318/0.6915, allocations: 0.7957 MB / 0.9145 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003758/0.6952, allocations: 2.443 MB / 0.9168 GB, free: 7.875 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.6953, allocations: 11.88 kB / 0.9169 GB, free: 7.863 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007862/0.696, allocations: 180 kB / 0.917 GB, free: 7.688 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.914e-06/0.6961, allocations: 4 kB / 0.917 GB, free: 7.684 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.143e-05/0.6961, allocations: 16 kB / 0.917 GB, free: 7.668 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.225e-06/0.6961, allocations: 7.984 kB / 0.9171 GB, free: 7.66 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.6961, allocations: 7.938 kB / 0.9171 GB, free: 7.652 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002338/0.6985, allocations: 1.34 MB / 0.9184 GB, free: 6.273 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005497/0.699, allocations: 366.5 kB / 0.9187 GB, free: 5.895 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002542/0.6993, allocations: 19.98 kB / 0.9187 GB, free: 5.875 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.7003, allocations: 59.83 kB / 0.9188 GB, free: 5.816 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.7005, allocations: 52.5 kB / 0.9188 GB, free: 5.766 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.547e-05/0.7005, allocations: 35.97 kB / 0.9189 GB, free: 5.73 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001607/0.7021, allocations: 1.239 MB / 0.9201 GB, free: 4.473 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2e-07/0.7021, allocations: 3.938 kB / 0.9201 GB, free: 4.469 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001585/0.7037, allocations: 0.6513 MB / 0.9207 GB, free: 3.816 MB / 0.6856 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.001162/0.7049, allocations: 0.6121 MB / 0.9213 GB, free: 3.211 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001645/0.7066, allocations: 0.8117 MB / 0.9221 GB, free: 2.402 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.7066, allocations: 0 / 0.9221 GB, free: 2.402 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007072/0.7073, allocations: 360.4 kB / 0.9225 GB, free: 2.047 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005109/0.7124, allocations: 1.207 MB / 0.9236 GB, free: 0.8672 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004714/0.7171, allocations: 3.054 MB / 0.9266 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/0.7182, allocations: 1.405 MB / 0.928 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0015/0.7197, allocations: 391 kB / 0.9284 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003839/0.7201, allocations: 147.4 kB / 0.9285 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of SimCode: time 2.414e-06/0.7202, allocations: 0 / 0.9285 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of Templates: time 0.3977/1.118, allocations: 41.95 MB / 0.9695 GB, free: 168 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)