Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d.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.002513/0.002513, allocations: 80.88 kB / 21.56 MB, free: 2.934 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.002836/0.002836, allocations: 162.1 kB / 24.97 MB, free: 8.672 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 1.564/1.564, allocations: 177.1 MB / 205.4 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.148/3.148, allocations: 389.5 MB / 0.6361 GB, free: 12.32 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d") translateModel(Buildings.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.333e-05/1.333e-05, allocations: 2.312 kB / 0.7759 GB, free: 5.445 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Clustering.Validation.KMeans_2d): time 0.001598/0.001611, allocations: 0.5919 MB / 0.7765 GB, free: 4.879 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002816/0.004427, allocations: 1.658 MB / 0.7781 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.96e-05/0.004457, allocations: 0 / 0.7781 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001934/0.00465, allocations: 69.89 kB / 0.7781 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.9e-05/0.004699, allocations: 29.48 kB / 0.7782 GB, free: 3.117 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.000823/0.005522, allocations: 256 kB / 0.7784 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 9.174e-05/0.005614, allocations: 41.53 kB / 0.7785 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.392e-05/0.005648, allocations: 7.984 kB / 0.7785 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 5.367e-05/0.005702, allocations: 26.64 kB / 0.7785 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.296e-05/0.005765, allocations: 29.28 kB / 0.7785 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.005778, allocations: 0.5 kB / 0.7785 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008501/0.006628, allocations: 476.8 kB / 0.779 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of combineBinaries: time 7.848e-05/0.006706, allocations: 48.58 kB / 0.779 GB, free: 2.27 MB / 0.7292 GB Notification: Performance of replaceArrayConstructors: time 3.361e-05/0.00674, allocations: 27.73 kB / 0.779 GB, free: 2.242 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.504e-06/0.006748, allocations: 4 kB / 0.779 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.929e-06/0.006753, allocations: 0 / 0.779 GB, free: 2.238 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 (1) * Number of variables: 1 (1) Notification: Performance of [SIM] Bindings: time 0.0005214/0.007274, allocations: 295.9 kB / 0.7793 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of [SIM] FunctionAlias: time 8.237e-05/0.007356, allocations: 27.91 kB / 0.7794 GB, free: 1.805 MB / 0.7292 GB Notification: Performance of [SIM] Early Inline: time 0.0001086/0.007465, allocations: 72.33 kB / 0.7794 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of [SIM] Simplify 1: time 5.819e-05/0.007523, allocations: 43.14 kB / 0.7795 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of [SIM] Alias: time 0.0003112/0.007834, allocations: 132.7 kB / 0.7796 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of [SIM] Simplify 2: time 4.991e-05/0.007884, allocations: 38.11 kB / 0.7796 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of [SIM] Remove Stream: time 5.176e-05/0.007936, allocations: 40.36 kB / 0.7797 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of [SIM] Detect States: time 0.0001403/0.008076, allocations: 97.03 kB / 0.7798 GB, free: 1.164 MB / 0.7292 GB Notification: Performance of [SIM] Events: time 1.453e-05/0.008091, allocations: 3.938 kB / 0.7798 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of [SIM] Partitioning: time 0.0001078/0.008199, allocations: 69.34 kB / 0.7798 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of [SIM] Causalize: time 6.869e-05/0.008267, allocations: 38.97 kB / 0.7799 GB, free: 1.016 MB / 0.7292 GB Notification: Performance of [SIM] After Index Reduction Inline: time 3.864e-05/0.008306, allocations: 27.91 kB / 0.7799 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of [INI] Simplify: time 0.0001465/0.008452, allocations: 88.92 kB / 0.78 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of [INI] Inline: time 5.76e-05/0.00851, allocations: 45.17 kB / 0.78 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of [INI] Partitioning: time 1.578e-05/0.008526, allocations: 8.125 kB / 0.78 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of [INI] Cleanup: time 1.859e-05/0.008544, allocations: 11.98 kB / 0.78 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of [INI] Causalize: time 0.0001933/0.008738, allocations: 104.6 kB / 0.7801 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of [INI] Tearing: time 5.661e-06/0.008743, allocations: 4.562 kB / 0.7801 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of [SIM] Initialization: time 7.374e-06/0.008751, allocations: 0.9062 kB / 0.7801 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of [SIM] Remove Dummies: time 2.154e-06/0.008753, allocations: 0 / 0.7801 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of [SIM] Tearing: time 4.839e-06/0.008758, allocations: 5.438 kB / 0.7802 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of [SIM] Categorize: time 3.878e-06/0.008762, allocations: 0 / 0.7802 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of [SIM] Solve: time 3.918e-05/0.008801, allocations: 7.984 kB / 0.7802 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of [SIM] Jacobian: time 5.33e-06/0.008806, allocations: 0.6562 kB / 0.7802 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of [SIM] Minimize Homotopy System: time 3.657e-06/0.00881, allocations: 3.984 kB / 0.7802 GB, free: 0.6484 MB / 0.7292 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 1 (1) {cmp} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 1 (scalar:1, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 1 (scalar:1, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:1) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.321e-05/0.008843, allocations: 26.69 kB / 0.7802 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of SimCode: time 0.001609/0.01045, allocations: 0.7758 MB / 0.7809 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of Templates: time 0.006745/0.0172, allocations: 2.609 MB / 0.7835 GB, free: 13.4 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d.pipe ; mkfifo Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d.pipe >> ../files/Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d.sim & ./Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.560300087556243]