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.001168/0.001168, allocations: 113.7 kB / 16.37 MB, free: 6.012 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.001072/0.001072, allocations: 191.5 kB / 17.31 MB, free: 5.613 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.297/1.297, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002075/0.002075, allocations: 291.4 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9408/0.9408, allocations: 169.3 MB / 0.4989 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003265/0.003266, allocations: 92.06 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1648, allocations: 86.97 MB / 0.6816 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.3321/0.497, allocations: 77.15 MB / 0.7569 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02593/0.5229, allocations: 18.87 MB / 0.7754 GB, free: 13.69 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003846/0.5268, allocations: 113.5 kB / 0.7755 GB, free: 13.64 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003315/0.5302, allocations: 1.248 MB / 0.7767 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.009962/0.5401, allocations: 3.635 MB / 0.7802 GB, free: 9.656 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005346/0.5455, allocations: 2.096 MB / 0.7823 GB, free: 7.703 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.009261/0.5548, allocations: 6.677 MB / 0.7888 GB, free: 1.012 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003137/0.5579, allocations: 2.096 MB / 0.7909 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005309/0.5633, allocations: 2.309 MB / 0.7931 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003192/0.5665, allocations: 1.756 MB / 0.7948 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0006298/0.5671, allocations: 204 kB / 0.795 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004272/0.5714, allocations: 1.614 MB / 0.7966 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007686/0.5722, allocations: 0.541 MB / 0.7971 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00206/0.5742, allocations: 1.24 MB / 0.7983 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005229/0.5795, allocations: 3.754 MB / 0.802 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.5795, allocations: 0 / 0.802 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5795, allocations: 0 / 0.802 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.765e-05/0.5796, allocations: 3.984 kB / 0.802 GB, free: 3.43 MB / 0.5606 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.004523/0.5841, allocations: 2.712 MB / 0.8047 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.5841, allocations: 8.031 kB / 0.8047 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006922/0.5848, allocations: 270 kB / 0.8049 GB, free: 388 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003244/0.5881, allocations: 2.023 MB / 0.8069 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.097e-05/0.5882, allocations: 106.7 kB / 0.807 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001817/0.5884, allocations: 147.9 kB / 0.8071 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002377/0.5908, allocations: 1.516 MB / 0.8086 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.069e-05/0.5908, allocations: 3.984 kB / 0.8086 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/0.5909, allocations: 63.98 kB / 0.8087 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-05/0.591, allocations: 43.94 kB / 0.8087 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002071/0.593, allocations: 1.122 MB / 0.8098 GB, free: 11.22 MB / 0.5762 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.007467/0.6005, allocations: 7.598 MB / 0.8172 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008942/0.6014, allocations: 473.2 kB / 0.8177 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005877/0.602, allocations: 343.1 kB / 0.818 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007974/0.6028, allocations: 1.156 MB / 0.8192 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.6029, allocations: 39.12 kB / 0.8192 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=59): time 2.134e-06/0.6029, allocations: 0 / 0.8192 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59): time 0.002082/0.605, allocations: 0.9691 MB / 0.8201 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.605, allocations: 55.97 kB / 0.8202 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002065/0.6071, allocations: 1.783 MB / 0.8219 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.407e-05/0.6072, allocations: 41.7 kB / 0.822 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007201/0.6079, allocations: 0.9355 MB / 0.8229 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/0.6081, allocations: 220.9 kB / 0.8231 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00028/0.6084, allocations: 226.6 kB / 0.8233 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.6085, allocations: 353.9 kB / 0.8236 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006491/0.6092, allocations: 338.4 kB / 0.824 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008991/0.6101, allocations: 0.686 MB / 0.8246 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/0.6116, allocations: 1.008 MB / 0.8256 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.804e-06/0.6116, allocations: 4 kB / 0.8256 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002213/0.6138, allocations: 1.214 MB / 0.8268 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.6139, allocations: 12.12 kB / 0.8268 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.6139, allocations: 12 kB / 0.8268 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/0.6139, allocations: 12 kB / 0.8269 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009373/0.6149, allocations: 291.6 kB / 0.8271 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.098e-05/0.6149, allocations: 19.94 kB / 0.8271 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/0.616, allocations: 162.4 kB / 0.8273 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-05/0.6161, allocations: 51.98 kB / 0.8274 GB, free: 8.039 MB / 0.5919 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.0006828/0.6168, allocations: 441.4 kB / 0.8278 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000282/0.6171, allocations: 193.6 kB / 0.828 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001639/0.6187, allocations: 0.8627 MB / 0.8288 GB, free: 6.547 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.6187, allocations: 8 kB / 0.8288 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.6188, allocations: 0 / 0.8288 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00126/0.62, allocations: 0.7995 MB / 0.8296 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00397/0.624, allocations: 2.443 MB / 0.832 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.624, allocations: 0 / 0.832 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007836/0.6248, allocations: 188 kB / 0.8322 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.6248, allocations: 7.938 kB / 0.8322 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.38e-05/0.6249, allocations: 16 kB / 0.8322 GB, free: 2.945 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.6249, allocations: 7.984 kB / 0.8322 GB, free: 2.938 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.6249, allocations: 4 kB / 0.8322 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002369/0.6273, allocations: 1.328 MB / 0.8335 GB, free: 1.562 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000666/0.6279, allocations: 370.4 kB / 0.8338 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002611/0.6282, allocations: 19.98 kB / 0.8339 GB, free: 1.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009652/0.6292, allocations: 67.8 kB / 0.8339 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.6293, allocations: 48.5 kB / 0.834 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.047e-05/0.6294, allocations: 36.06 kB / 0.834 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001975/0.6314, allocations: 1.239 MB / 0.8352 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.3e-07/0.6314, allocations: 3.938 kB / 0.8352 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001851/0.6333, allocations: 0.6551 MB / 0.8359 GB, free: 15.09 MB / 0.6075 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.001439/0.6347, allocations: 0.6239 MB / 0.8365 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001743/0.6365, allocations: 0.8163 MB / 0.8373 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/0.6365, allocations: 4 kB / 0.8373 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006755/0.6372, allocations: 350.9 kB / 0.8376 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004546/0.6417, allocations: 1.208 MB / 0.8388 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004697/0.6464, allocations: 3.058 MB / 0.8418 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/0.6475, allocations: 1.409 MB / 0.8431 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001247/0.6487, allocations: 381.1 kB / 0.8435 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003771/0.6491, allocations: 143.4 kB / 0.8436 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of SimCode: time 4.21e-07/0.6491, allocations: 0 / 0.8436 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of Templates: time 0.06542/0.7146, allocations: 41.68 MB / 0.8844 GB, free: 13.96 MB / 0.6544 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)