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.0009338/0.0009338, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.0009563/0.0009563, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9132/0.9132, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.001663/0.001663, allocations: 241.5 kB / 261.3 MB, free: 12.66 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.7322/0.7322, allocations: 138.4 MB / 456.3 MB, free: 1.449 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.603e-06/1.603e-06, allocations: 0 / 0.5564 GB, free: 292 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.278e-05/2.439e-05, allocations: 6.312 kB / 0.5564 GB, free: 284 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.01722/0.01725, allocations: 20.82 MB / 0.5767 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01258/0.02983, allocations: 8.232 MB / 0.5847 GB, free: 3.125 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003375/0.0332, allocations: 154.7 kB / 0.5849 GB, free: 2.973 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.002091/0.03529, allocations: 0.6669 MB / 0.5855 GB, free: 2.301 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.005722/0.04101, allocations: 2.459 MB / 0.5879 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003753/0.04477, allocations: 1.926 MB / 0.5898 GB, free: 13.9 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.006959/0.05173, allocations: 6.634 MB / 0.5963 GB, free: 7.242 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002581/0.05431, allocations: 1.646 MB / 0.5979 GB, free: 5.547 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005883/0.06019, allocations: 3.155 MB / 0.601 GB, free: 2.418 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002566/0.06276, allocations: 1.624 MB / 0.6026 GB, free: 0.7891 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0004638/0.06322, allocations: 196 kB / 0.6028 GB, free: 0.5977 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009909/0.06421, allocations: 391.5 kB / 0.6031 GB, free: 220 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.2007/0.265, allocations: 0.5835 MB / 0.6037 GB, free: 68.3 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001926/0.2669, allocations: 0.8368 MB / 0.6045 GB, free: 68.3 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002447/0.2693, allocations: 1.906 MB / 0.6064 GB, free: 68.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2693, allocations: 0 / 0.6064 GB, free: 68.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2693, allocations: 0 / 0.6064 GB, free: 68.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.004e-05/0.2694, allocations: 0 / 0.6064 GB, free: 68.2 MB / 0.5105 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.00274/0.2721, allocations: 2.634 MB / 0.609 GB, free: 66.9 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.2722, allocations: 11.81 kB / 0.609 GB, free: 66.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005451/0.2727, allocations: 403.5 kB / 0.6094 GB, free: 66.75 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00164/0.2744, allocations: 1.73 MB / 0.611 GB, free: 66.32 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.382e-05/0.2744, allocations: 102.7 kB / 0.6111 GB, free: 66.31 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/0.2746, allocations: 155.6 kB / 0.6113 GB, free: 66.31 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.2756, allocations: 1.332 MB / 0.6126 GB, free: 65.62 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.902e-05/0.2757, allocations: 10.45 kB / 0.6126 GB, free: 65.62 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.75e-05/0.2757, allocations: 59.19 kB / 0.6127 GB, free: 65.62 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.719e-05/0.2758, allocations: 35.75 kB / 0.6127 GB, free: 65.62 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000472/0.2762, allocations: 403.7 kB / 0.6131 GB, free: 65.58 MB / 0.5105 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.00435/0.2806, allocations: 5.722 MB / 0.6187 GB, free: 62.77 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003639/0.2809, allocations: 232 kB / 0.6189 GB, free: 62.72 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001371/0.2811, allocations: 121.7 kB / 0.619 GB, free: 62.71 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001232/0.2812, allocations: 39.05 kB / 0.619 GB, free: 62.71 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.2812, allocations: 45.95 kB / 0.6191 GB, free: 62.67 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=59): time 1.913e-06/0.2812, allocations: 0 / 0.6191 GB, free: 62.67 MB / 0.5105 GB Notification: Performance of matching and sorting (n=59): time 0.0007254/0.282, allocations: 0.4946 MB / 0.6196 GB, free: 62.53 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.326e-05/0.282, allocations: 60.7 kB / 0.6196 GB, free: 62.46 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.2831, allocations: 1.326 MB / 0.6209 GB, free: 62.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.9e-05/0.2832, allocations: 41.98 kB / 0.621 GB, free: 62.17 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005165/0.2837, allocations: 1.037 MB / 0.622 GB, free: 61.72 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.2838, allocations: 234.6 kB / 0.6222 GB, free: 61.58 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002074/0.284, allocations: 238 kB / 0.6224 GB, free: 61.54 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.851e-05/0.2841, allocations: 0.5211 MB / 0.6229 GB, free: 61.06 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/0.2843, allocations: 117.3 kB / 0.623 GB, free: 61.06 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004112/0.2847, allocations: 0.8967 MB / 0.6239 GB, free: 60.12 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005651/0.2853, allocations: 0.7446 MB / 0.6246 GB, free: 59.57 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.2853, allocations: 2.594 kB / 0.6246 GB, free: 59.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001028/0.2863, allocations: 0.8275 MB / 0.6255 GB, free: 59.43 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.2863, allocations: 9.594 kB / 0.6255 GB, free: 59.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.2863, allocations: 10.22 kB / 0.6255 GB, free: 59.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.2863, allocations: 20.53 kB / 0.6255 GB, free: 59.42 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005011/0.2868, allocations: 265 kB / 0.6257 GB, free: 59.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.704e-05/0.2869, allocations: 20.97 kB / 0.6258 GB, free: 59.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005782/0.2874, allocations: 124.4 kB / 0.6259 GB, free: 59.37 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.477e-05/0.2875, allocations: 41.48 kB / 0.6259 GB, free: 59.37 MB / 0.5105 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.0002806/0.2878, allocations: 228.3 kB / 0.6261 GB, free: 59.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/0.2879, allocations: 193.2 kB / 0.6263 GB, free: 59.11 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005977/0.2885, allocations: 0.4944 MB / 0.6268 GB, free: 59.03 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.2886, allocations: 15.39 kB / 0.6268 GB, free: 59.03 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.2886, allocations: 0.5938 kB / 0.6268 GB, free: 59.03 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003172/0.2889, allocations: 450.4 kB / 0.6273 GB, free: 58.76 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001799/0.2907, allocations: 1.506 MB / 0.6287 GB, free: 58.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.2907, allocations: 5.906 kB / 0.6287 GB, free: 58.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003882/0.2911, allocations: 148.5 kB / 0.6289 GB, free: 58.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.2911, allocations: 7.844 kB / 0.6289 GB, free: 58.34 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.98e-05/0.2911, allocations: 17.14 kB / 0.6289 GB, free: 58.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.2911, allocations: 5.203 kB / 0.6289 GB, free: 58.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.2911, allocations: 5.688 kB / 0.6289 GB, free: 58.34 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007917/0.2919, allocations: 0.7964 MB / 0.6297 GB, free: 57.94 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003662/0.2923, allocations: 261.7 kB / 0.6299 GB, free: 57.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/0.2924, allocations: 15.23 kB / 0.6299 GB, free: 57.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004168/0.2928, allocations: 39.38 kB / 0.63 GB, free: 57.84 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.791e-05/0.2929, allocations: 56.83 kB / 0.63 GB, free: 57.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.986e-05/0.293, allocations: 33.36 kB / 0.6301 GB, free: 57.83 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000682/0.2936, allocations: 0.7417 MB / 0.6308 GB, free: 57.68 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2936, allocations: 3.375 kB / 0.6308 GB, free: 57.68 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001076/0.2947, allocations: 0.5181 MB / 0.6313 GB, free: 57.59 MB / 0.5105 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.0003143/0.295, allocations: 203.5 kB / 0.6315 GB, free: 57.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007529/0.2958, allocations: 465.3 kB / 0.6319 GB, free: 57.48 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.2958, allocations: 1.25 kB / 0.6319 GB, free: 57.48 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002163/0.296, allocations: 174.5 kB / 0.6321 GB, free: 57.46 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002272/0.2983, allocations: 0.9501 MB / 0.633 GB, free: 57.39 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00326/0.3015, allocations: 2.777 MB / 0.6358 GB, free: 55.91 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.3018, allocations: 341.6 kB / 0.6361 GB, free: 55.81 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008946/0.3027, allocations: 287.9 kB / 0.6364 GB, free: 55.75 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001461/0.3042, allocations: 0.7486 MB / 0.6371 GB, free: 55.68 MB / 0.5105 GB Notification: Performance of SimCode: time 9.72e-07/0.3042, allocations: 0 / 0.6371 GB, free: 55.68 MB / 0.5105 GB Notification: Performance of Templates: time 0.03624/0.3404, allocations: 34.06 MB / 0.6703 GB, free: 37.75 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.7450094521045685]