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.004331/0.004331, allocations: 99.31 kB / 15.73 MB, free: 6.051 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.001014/0.001014, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.283/1.283, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00209/0.00209, allocations: 274.9 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9393/0.9393, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 95.86 kB / 0.6815 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1603, allocations: 86.98 MB / 0.7664 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.4071/0.5675, allocations: 77.14 MB / 0.8417 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02873/0.5963, allocations: 18.88 MB / 0.8602 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005321/0.6016, allocations: 112.6 kB / 0.8603 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004666/0.6064, allocations: 1.246 MB / 0.8615 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01088/0.6173, allocations: 3.626 MB / 0.865 GB, free: 8.379 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005878/0.6232, allocations: 2.097 MB / 0.8671 GB, free: 6.758 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.009888/0.6331, allocations: 6.683 MB / 0.8736 GB, free: 2.82 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003216/0.6363, allocations: 2.091 MB / 0.8756 GB, free: 1.5 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005905/0.6423, allocations: 2.38 MB / 0.878 GB, free: 100 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003485/0.6458, allocations: 1.761 MB / 0.8797 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004906/0.6463, allocations: 200.5 kB / 0.8799 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004617/0.6509, allocations: 1.618 MB / 0.8815 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005801/0.6515, allocations: 0.5332 MB / 0.882 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001929/0.6534, allocations: 1.252 MB / 0.8832 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005582/0.659, allocations: 3.754 MB / 0.8869 GB, free: 7.68 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.6591, allocations: 0 / 0.8869 GB, free: 7.68 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6591, allocations: 4 kB / 0.8869 GB, free: 7.676 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.265e-05/0.6591, allocations: 0 / 0.8869 GB, free: 7.676 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.003932/0.663, allocations: 2.712 MB / 0.8895 GB, free: 4.898 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.6631, allocations: 15.97 kB / 0.8895 GB, free: 4.883 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006252/0.6637, allocations: 269.9 kB / 0.8898 GB, free: 4.617 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002869/0.6666, allocations: 2.015 MB / 0.8918 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.419e-05/0.6667, allocations: 110.7 kB / 0.8919 GB, free: 2.441 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001767/0.6669, allocations: 140 kB / 0.892 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002368/0.6692, allocations: 1.52 MB / 0.8935 GB, free: 0.707 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.485e-05/0.6693, allocations: 3.984 kB / 0.8935 GB, free: 0.7031 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.6694, allocations: 60 kB / 0.8935 GB, free: 0.6445 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-05/0.6695, allocations: 36 kB / 0.8936 GB, free: 0.6094 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002032/0.6715, allocations: 1.126 MB / 0.8947 GB, free: 15.48 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.007236/0.6787, allocations: 7.61 MB / 0.9021 GB, free: 7.285 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009143/0.6797, allocations: 469.1 kB / 0.9026 GB, free: 6.82 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005877/0.6803, allocations: 339.1 kB / 0.9029 GB, free: 6.488 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007727/0.6811, allocations: 1.156 MB / 0.904 GB, free: 5.074 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.6811, allocations: 43.12 kB / 0.9041 GB, free: 5.023 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=59): time 2.685e-06/0.6811, allocations: 0 / 0.9041 GB, free: 5.023 MB / 0.6544 GB Notification: Performance of matching and sorting (n=59): time 0.002063/0.6832, allocations: 0.9612 MB / 0.905 GB, free: 4.055 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.6832, allocations: 59.97 kB / 0.9051 GB, free: 3.984 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002001/0.6852, allocations: 1.791 MB / 0.9068 GB, free: 2.156 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.069e-05/0.6853, allocations: 41.7 kB / 0.9068 GB, free: 2.109 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006593/0.686, allocations: 0.9278 MB / 0.9077 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001808/0.6862, allocations: 209 kB / 0.9079 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002665/0.6864, allocations: 230.6 kB / 0.9082 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.6866, allocations: 349.9 kB / 0.9085 GB, free: 396 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006391/0.6872, allocations: 334.4 kB / 0.9088 GB, free: 60 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008992/0.6881, allocations: 0.686 MB / 0.9095 GB, free: 15.23 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/0.6896, allocations: 1.016 MB / 0.9105 GB, free: 14.08 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/0.6896, allocations: 4 kB / 0.9105 GB, free: 14.07 MB / 0.67 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002124/0.6918, allocations: 1.217 MB / 0.9117 GB, free: 12.85 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.6918, allocations: 8.875 kB / 0.9117 GB, free: 12.84 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.6918, allocations: 12 kB / 0.9117 GB, free: 12.83 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/0.6918, allocations: 16 kB / 0.9117 GB, free: 12.81 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009624/0.6928, allocations: 291.5 kB / 0.912 GB, free: 12.53 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.024e-05/0.6928, allocations: 19.94 kB / 0.912 GB, free: 12.51 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/0.6939, allocations: 174.4 kB / 0.9122 GB, free: 12.34 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.749e-05/0.694, allocations: 51.98 kB / 0.9122 GB, free: 12.29 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.0006678/0.6947, allocations: 438 kB / 0.9126 GB, free: 11.85 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002807/0.695, allocations: 201.6 kB / 0.9128 GB, free: 11.65 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001661/0.6966, allocations: 0.8601 MB / 0.9137 GB, free: 10.78 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.568e-05/0.6966, allocations: 8 kB / 0.9137 GB, free: 10.77 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.6967, allocations: 7.938 kB / 0.9137 GB, free: 10.77 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001283/0.6979, allocations: 0.7879 MB / 0.9145 GB, free: 9.934 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003683/0.7016, allocations: 2.455 MB / 0.9169 GB, free: 7.383 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.7017, allocations: 4 kB / 0.9169 GB, free: 7.379 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007233/0.7024, allocations: 179.7 kB / 0.917 GB, free: 7.203 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.7024, allocations: 4 kB / 0.917 GB, free: 7.199 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.934e-05/0.7025, allocations: 20.19 kB / 0.9171 GB, free: 7.18 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/0.7025, allocations: 7.938 kB / 0.9171 GB, free: 7.172 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/0.7025, allocations: 0 / 0.9171 GB, free: 7.172 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002243/0.7047, allocations: 1.34 MB / 0.9184 GB, free: 5.789 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005396/0.7053, allocations: 362.5 kB / 0.9187 GB, free: 5.414 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001737/0.7055, allocations: 16 kB / 0.9187 GB, free: 5.398 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008924/0.7064, allocations: 71.81 kB / 0.9188 GB, free: 5.328 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.7065, allocations: 44.5 kB / 0.9188 GB, free: 5.285 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.377e-05/0.7065, allocations: 35.97 kB / 0.9189 GB, free: 5.25 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001607/0.7082, allocations: 1.239 MB / 0.9201 GB, free: 3.992 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7082, allocations: 0 / 0.9201 GB, free: 3.992 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001711/0.7099, allocations: 0.6551 MB / 0.9207 GB, free: 3.336 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.001059/0.7109, allocations: 0.6147 MB / 0.9213 GB, free: 2.73 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001567/0.7125, allocations: 0.8242 MB / 0.9221 GB, free: 1.91 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.7125, allocations: 0 / 0.9221 GB, free: 1.91 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006646/0.7132, allocations: 355.1 kB / 0.9225 GB, free: 1.559 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004582/0.7178, allocations: 1.201 MB / 0.9236 GB, free: 392 kB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004114/0.7219, allocations: 3.059 MB / 0.9266 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008296/0.7228, allocations: 1.401 MB / 0.928 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00119/0.724, allocations: 374.7 kB / 0.9284 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000289/0.7243, allocations: 155.4 kB / 0.9285 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of SimCode: time 4.11e-07/0.7243, allocations: 0 / 0.9285 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of Templates: time 0.06776/0.792, allocations: 42.59 MB / 0.9701 GB, free: 1.297 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)