Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001288/0.001288, allocations: 100.3 kB / 20.51 MB, free: 1.305 MB / 14.72 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.001654/0.001654, allocations: 213.9 kB / 23.82 MB, free: 4.449 MB / 14.72 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.429/1.429, allocations: 230.7 MB / 257.6 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9093/0.9093, allocations: 149.9 MB / 463.9 MB, free: 10.37 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d") translateModel(IBPSA.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.334e-05/3.334e-05, allocations: 5.562 kB / 0.6424 GB, free: 9.672 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Clustering.Validation.KMeans_2d): time 0.001518/0.001551, allocations: 0.5164 MB / 0.6429 GB, free: 9.18 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00266/0.004211, allocations: 1.613 MB / 0.6444 GB, free: 7.551 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.064e-05/0.004242, allocations: 0 / 0.6444 GB, free: 7.551 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001942/0.004436, allocations: 60.34 kB / 0.6445 GB, free: 7.492 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.865e-05/0.004485, allocations: 41.44 kB / 0.6445 GB, free: 7.453 MB / 478.1 MB [/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.0009395/0.005424, allocations: 282.5 kB / 0.6448 GB, free: 7.18 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.005527, allocations: 45.25 kB / 0.6449 GB, free: 7.137 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.074e-05/0.005568, allocations: 0.5625 kB / 0.6449 GB, free: 7.137 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.606e-05/0.005604, allocations: 16.58 kB / 0.6449 GB, free: 7.121 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.715e-05/0.005671, allocations: 41.28 kB / 0.6449 GB, free: 7.082 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.005683, allocations: 0 / 0.6449 GB, free: 7.082 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006565/0.006339, allocations: 443.2 kB / 0.6453 GB, free: 6.648 MB / 478.1 MB Notification: Performance of combineBinaries: time 7.672e-05/0.006416, allocations: 60.05 kB / 0.6454 GB, free: 6.59 MB / 478.1 MB Notification: Performance of replaceArrayConstructors: time 3.6e-05/0.006452, allocations: 44.66 kB / 0.6454 GB, free: 6.547 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.092e-05/0.006463, allocations: 0 / 0.6454 GB, free: 6.547 MB / 478.1 MB Notification: Performance of FrontEnd: time 7.283e-06/0.00647, allocations: 0 / 0.6454 GB, free: 6.547 MB / 478.1 MB 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.0005062/0.006976, allocations: 283.3 kB / 0.6457 GB, free: 6.152 MB / 478.1 MB Notification: Performance of [SIM] FunctionAlias: time 9.612e-05/0.007072, allocations: 47.77 kB / 0.6457 GB, free: 6.094 MB / 478.1 MB Notification: Performance of [SIM] Early Inline: time 8.807e-05/0.00716, allocations: 61.03 kB / 0.6458 GB, free: 6.008 MB / 478.1 MB Notification: Performance of [SIM] Simplify 1: time 8.091e-05/0.007241, allocations: 68.73 kB / 0.6459 GB, free: 5.895 MB / 478.1 MB Notification: Performance of [SIM] Alias: time 0.0003216/0.007563, allocations: 118 kB / 0.646 GB, free: 5.723 MB / 478.1 MB Notification: Performance of [SIM] Simplify 2: time 6.58e-05/0.007629, allocations: 60.73 kB / 0.646 GB, free: 5.617 MB / 478.1 MB Notification: Performance of [SIM] Remove Stream: time 4.689e-05/0.007676, allocations: 41.02 kB / 0.6461 GB, free: 5.551 MB / 478.1 MB Notification: Performance of [SIM] Detect States: time 9.147e-05/0.007767, allocations: 78.67 kB / 0.6462 GB, free: 5.422 MB / 478.1 MB Notification: Performance of [SIM] Events: time 1.176e-05/0.007779, allocations: 0 / 0.6462 GB, free: 5.422 MB / 478.1 MB Notification: Performance of [SIM] Partitioning: time 5.937e-05/0.007838, allocations: 20.12 kB / 0.6462 GB, free: 5.395 MB / 478.1 MB Notification: Performance of [SIM] Causalize: time 6.38e-05/0.007902, allocations: 25.11 kB / 0.6462 GB, free: 5.363 MB / 478.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 3.343e-05/0.007935, allocations: 23.83 kB / 0.6462 GB, free: 5.34 MB / 478.1 MB Notification: Performance of [INI] Simplify: time 0.0001439/0.008079, allocations: 110 kB / 0.6463 GB, free: 5.164 MB / 478.1 MB Notification: Performance of [INI] Inline: time 3.319e-05/0.008112, allocations: 24.05 kB / 0.6464 GB, free: 5.137 MB / 478.1 MB Notification: Performance of [INI] Partitioning: time 2.297e-05/0.008135, allocations: 17.41 kB / 0.6464 GB, free: 5.113 MB / 478.1 MB Notification: Performance of [INI] Cleanup: time 1.518e-05/0.008151, allocations: 11.98 kB / 0.6464 GB, free: 5.102 MB / 478.1 MB Notification: Performance of [INI] Causalize: time 0.0002149/0.008366, allocations: 113.8 kB / 0.6465 GB, free: 4.984 MB / 478.1 MB Notification: Performance of [INI] Tearing: time 9.188e-06/0.008375, allocations: 1.656 kB / 0.6465 GB, free: 4.984 MB / 478.1 MB Notification: Performance of [SIM] Initialization: time 3.5e-07/0.008375, allocations: 0 / 0.6465 GB, free: 4.984 MB / 478.1 MB Notification: Performance of [SIM] DAE-Mode: time 2.11e-05/0.008396, allocations: 24.06 kB / 0.6465 GB, free: 4.953 MB / 478.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.266e-06/0.008399, allocations: 0 / 0.6465 GB, free: 4.953 MB / 478.1 MB Notification: Performance of [SIM] Tearing: time 8.51e-07/0.0084, allocations: 2.562 kB / 0.6465 GB, free: 4.953 MB / 478.1 MB Notification: Performance of [SIM] Categorize: time 4.99e-06/0.008405, allocations: 0 / 0.6465 GB, free: 4.953 MB / 478.1 MB Notification: Performance of [SIM] Solve: time 3.956e-05/0.008445, allocations: 8 kB / 0.6465 GB, free: 4.945 MB / 478.1 MB Notification: Performance of [SIM] Jacobian: time 7.093e-06/0.008452, allocations: 3.938 kB / 0.6465 GB, free: 4.941 MB / 478.1 MB 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.886e-05/0.008491, allocations: 15.81 kB / 0.6465 GB, free: 4.938 MB / 478.1 MB Notification: Performance of SimCode: time 0.00142/0.009911, allocations: 0.7837 MB / 0.6473 GB, free: 4.164 MB / 478.1 MB Notification: Performance of Templates: time 0.005492/0.0154, allocations: 2.174 MB / 0.6494 GB, free: 2.035 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d.sim & ./IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.35107152099954] Failed to read output from testmodel.py, exit status != 0: 0.023876577033661306 0.038782226 0.029407476000000002 Calling exit ...