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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009478/0.0009478, allocations: 80.81 kB / 19.94 MB, free: 4.539 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009882/0.0009882, allocations: 181.3 kB / 23.36 MB, free: 1.125 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8883/0.8883, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.0016/0.0016, allocations: 258.1 kB / 260.5 MB, free: 12.69 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7105/0.7105, allocations: 138.4 MB / 402.2 MB, free: 0.5781 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 462.3 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.585e-05/1.732e-05, allocations: 5.609 kB / 462.3 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.01663/0.01665, allocations: 20.86 MB / 483.2 MB, free: 13.78 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01162/0.02827, allocations: 8.456 MB / 491.6 MB, free: 5.406 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001507/0.02978, allocations: 151.4 kB / 491.8 MB, free: 5.258 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009181/0.0307, allocations: 0.6678 MB / 492.5 MB, free: 4.586 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00304/0.03374, allocations: 2.451 MB / 494.9 MB, free: 2.145 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002364/0.0361, allocations: 1.932 MB / 496.8 MB, free: 228 kB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.005241/0.04134, allocations: 6.637 MB / 0.4917 GB, free: 9.574 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001669/0.04301, allocations: 1.663 MB / 0.4933 GB, free: 7.863 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003081/0.04609, allocations: 3.145 MB / 0.4964 GB, free: 4.754 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00127/0.04736, allocations: 1.531 MB / 0.4979 GB, free: 3.227 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001781/0.04754, allocations: 196 kB / 0.498 GB, free: 3.035 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005547/0.0481, allocations: 395.5 kB / 0.4984 GB, free: 2.648 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003283/0.04842, allocations: 0.5842 MB / 0.499 GB, free: 2.062 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005914/0.04902, allocations: 0.834 MB / 0.4998 GB, free: 1.227 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001466/0.05048, allocations: 1.909 MB / 0.5017 GB, free: 15.31 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.05048, allocations: 0 / 0.5017 GB, free: 15.31 MB / 474.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.05049, allocations: 0 / 0.5017 GB, free: 15.31 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.0505, allocations: 3.938 kB / 0.5017 GB, free: 15.3 MB / 474.7 MB 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.002035/0.05254, allocations: 2.459 MB / 0.5041 GB, free: 12.81 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.734e-05/0.05256, allocations: 13.38 kB / 0.5041 GB, free: 12.8 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004037/0.05297, allocations: 325.7 kB / 0.5044 GB, free: 12.48 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001368/0.05433, allocations: 1.306 MB / 0.5057 GB, free: 11.14 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.425e-05/0.05439, allocations: 107.4 kB / 0.5058 GB, free: 11.04 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/0.05451, allocations: 151.9 kB / 0.5059 GB, free: 10.89 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009807/0.05549, allocations: 1.307 MB / 0.5072 GB, free: 9.43 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/0.05552, allocations: 4.438 kB / 0.5072 GB, free: 9.426 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.941e-05/0.05559, allocations: 69 kB / 0.5073 GB, free: 9.359 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.465e-05/0.05562, allocations: 36 kB / 0.5073 GB, free: 9.324 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004438/0.05606, allocations: 383 kB / 0.5077 GB, free: 8.938 MB / 474.7 MB 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.003274/0.05934, allocations: 4.21 MB / 0.5118 GB, free: 4.617 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/0.0596, allocations: 259.5 kB / 0.512 GB, free: 4.352 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.05973, allocations: 113.1 kB / 0.5121 GB, free: 4.238 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.489e-05/0.05982, allocations: 45.03 kB / 0.5122 GB, free: 4.195 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.05985, allocations: 43.53 kB / 0.5122 GB, free: 4.145 MB / 474.7 MB Notification: Performance of pre-optimization done (n=59): time 1.943e-06/0.05985, allocations: 4.688 kB / 0.5122 GB, free: 4.141 MB / 474.7 MB Notification: Performance of matching and sorting (n=59): time 0.0004284/0.06028, allocations: 357.9 kB / 0.5126 GB, free: 3.789 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.504e-05/0.0603, allocations: 56.59 kB / 0.5126 GB, free: 3.723 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008203/0.06112, allocations: 1.26 MB / 0.5139 GB, free: 2.457 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.187e-05/0.06117, allocations: 42.73 kB / 0.5139 GB, free: 2.41 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003078/0.06147, allocations: 0.7275 MB / 0.5146 GB, free: 1.672 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.06158, allocations: 222.1 kB / 0.5148 GB, free: 1.453 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/0.06175, allocations: 227.2 kB / 0.515 GB, free: 1.223 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.25e-05/0.06183, allocations: 351.8 kB / 0.5154 GB, free: 0.875 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.06201, allocations: 121.4 kB / 0.5155 GB, free: 0.7578 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005773/0.06259, allocations: 0.7632 MB / 0.5162 GB, free: 15.77 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000544/0.06313, allocations: 0.646 MB / 0.5169 GB, free: 15 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.06313, allocations: 0.5 kB / 0.5169 GB, free: 15 MB / 490.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.0006632/0.0638, allocations: 0.6684 MB / 0.5175 GB, free: 14.33 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.06381, allocations: 12.59 kB / 0.5175 GB, free: 14.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.06382, allocations: 11.98 kB / 0.5175 GB, free: 14.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.06384, allocations: 20.62 kB / 0.5176 GB, free: 14.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004345/0.06427, allocations: 259.9 kB / 0.5178 GB, free: 14.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.06428, allocations: 20.5 kB / 0.5178 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003952/0.06468, allocations: 123.1 kB / 0.5179 GB, free: 13.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-05/0.06472, allocations: 40 kB / 0.518 GB, free: 13.86 MB / 490.7 MB 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.0002061/0.06493, allocations: 176.4 kB / 0.5181 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.06504, allocations: 123.8 kB / 0.5183 GB, free: 13.55 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004449/0.06549, allocations: 443.9 kB / 0.5187 GB, free: 13.13 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.06549, allocations: 4 kB / 0.5187 GB, free: 13.13 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.644e-06/0.06549, allocations: 3.219 kB / 0.5187 GB, free: 13.13 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002494/0.06574, allocations: 389.3 kB / 0.5191 GB, free: 12.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.06701, allocations: 1.294 MB / 0.5203 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.06701, allocations: 9.562 kB / 0.5203 GB, free: 11.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002924/0.0673, allocations: 144.5 kB / 0.5205 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.06731, allocations: 12 kB / 0.5205 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.06733, allocations: 12 kB / 0.5205 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.06733, allocations: 7.938 kB / 0.5205 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.06734, allocations: 4 kB / 0.5205 GB, free: 11.17 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000535/0.06787, allocations: 0.6629 MB / 0.5212 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002511/0.06812, allocations: 206.7 kB / 0.5214 GB, free: 10.26 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.455e-05/0.06822, allocations: 16 kB / 0.5214 GB, free: 10.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003466/0.06856, allocations: 39.97 kB / 0.5214 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.652e-05/0.06863, allocations: 52.34 kB / 0.5215 GB, free: 10.15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-05/0.06866, allocations: 27.97 kB / 0.5215 GB, free: 10.12 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004393/0.0691, allocations: 0.6288 MB / 0.5221 GB, free: 9.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0691, allocations: 0 / 0.5221 GB, free: 9.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00068/0.06978, allocations: 0.5262 MB / 0.5226 GB, free: 8.973 MB / 490.7 MB 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.0002335/0.07002, allocations: 170 kB / 0.5228 GB, free: 8.801 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006611/0.07068, allocations: 442.8 kB / 0.5232 GB, free: 8.367 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.826e-05/0.0707, allocations: 20.5 kB / 0.5232 GB, free: 8.348 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.07085, allocations: 166.4 kB / 0.5234 GB, free: 8.184 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001694/0.07254, allocations: 0.9394 MB / 0.5243 GB, free: 7.344 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002508/0.07505, allocations: 2.709 MB / 0.5269 GB, free: 4.566 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002003/0.07525, allocations: 324.1 kB / 0.5272 GB, free: 4.227 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005206/0.07577, allocations: 281.2 kB / 0.5275 GB, free: 3.973 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001109/0.07688, allocations: 0.6296 MB / 0.5281 GB, free: 3.336 MB / 490.7 MB Notification: Performance of SimCode: time 5.31e-07/0.07688, allocations: 0 / 0.5281 GB, free: 3.336 MB / 490.7 MB Notification: Performance of Templates: time 0.03493/0.1118, allocations: 33.37 MB / 0.5607 GB, free: 2.949 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile [Timeout 660] (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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.1866975501179695]