Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.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.001622/0.001622, allocations: 96.41 kB / 20.52 MB, free: 1.145 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.00152/0.00152, allocations: 214.5 kB / 23.82 MB, free: 4.336 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.448/1.448, allocations: 230.6 MB / 257.6 MB, free: 7.766 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.9293/0.9293, allocations: 149.9 MB / 463.9 MB, free: 10.32 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_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d") translateModel(IBPSA.Utilities.Clustering.Validation.KMeans_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.1e-05/2.1e-05, allocations: 3.406 kB / 0.6424 GB, free: 9.594 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Clustering.Validation.KMeans_1d): time 0.001504/0.001525, allocations: 0.5236 MB / 0.6429 GB, free: 9.098 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002475/0.004, allocations: 1.612 MB / 0.6444 GB, free: 7.469 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.618e-05/0.004037, allocations: 3.938 kB / 0.6444 GB, free: 7.465 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.004174, allocations: 20.91 kB / 0.6445 GB, free: 7.445 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 2.662e-05/0.0042, allocations: 11.92 kB / 0.6445 GB, free: 7.434 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.0008956/0.005096, allocations: 279.4 kB / 0.6447 GB, free: 7.164 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.649e-05/0.005182, allocations: 25.53 kB / 0.6448 GB, free: 7.141 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.619e-05/0.005218, allocations: 0.7188 kB / 0.6448 GB, free: 7.141 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.252e-05/0.005251, allocations: 15.92 kB / 0.6448 GB, free: 7.125 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.409e-05/0.005295, allocations: 24.45 kB / 0.6448 GB, free: 7.102 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.005307, allocations: 0.6562 kB / 0.6448 GB, free: 7.102 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006539/0.005961, allocations: 448.3 kB / 0.6452 GB, free: 6.664 MB / 478.1 MB Notification: Performance of combineBinaries: time 6.577e-05/0.006027, allocations: 51.42 kB / 0.6453 GB, free: 6.613 MB / 478.1 MB Notification: Performance of replaceArrayConstructors: time 3.101e-05/0.006058, allocations: 40.55 kB / 0.6453 GB, free: 6.574 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.139e-05/0.006069, allocations: 4 kB / 0.6453 GB, free: 6.57 MB / 478.1 MB Notification: Performance of FrontEnd: time 6.802e-06/0.006076, allocations: 3.938 kB / 0.6453 GB, free: 6.566 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.0004978/0.006574, allocations: 286.8 kB / 0.6456 GB, free: 6.168 MB / 478.1 MB Notification: Performance of [SIM] FunctionAlias: time 8.671e-05/0.00666, allocations: 41.69 kB / 0.6456 GB, free: 6.117 MB / 478.1 MB Notification: Performance of [SIM] Early Inline: time 7.71e-05/0.006738, allocations: 60.41 kB / 0.6457 GB, free: 6.031 MB / 478.1 MB Notification: Performance of [SIM] Simplify 1: time 7.202e-05/0.00681, allocations: 68.67 kB / 0.6458 GB, free: 5.918 MB / 478.1 MB Notification: Performance of [SIM] Alias: time 0.000294/0.007104, allocations: 121.4 kB / 0.6459 GB, free: 5.742 MB / 478.1 MB Notification: Performance of [SIM] Simplify 2: time 6.794e-05/0.007171, allocations: 68.73 kB / 0.646 GB, free: 5.629 MB / 478.1 MB Notification: Performance of [SIM] Remove Stream: time 3.669e-05/0.007208, allocations: 33.97 kB / 0.646 GB, free: 5.57 MB / 478.1 MB Notification: Performance of [SIM] Detect States: time 8.546e-05/0.007294, allocations: 72.86 kB / 0.6461 GB, free: 5.445 MB / 478.1 MB Notification: Performance of [SIM] Events: time 1.413e-05/0.007308, allocations: 7.938 kB / 0.6461 GB, free: 5.438 MB / 478.1 MB Notification: Performance of [SIM] Partitioning: time 5.883e-05/0.007367, allocations: 25.06 kB / 0.6461 GB, free: 5.406 MB / 478.1 MB Notification: Performance of [SIM] Causalize: time 5.213e-05/0.007419, allocations: 18 kB / 0.6461 GB, free: 5.383 MB / 478.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 2.637e-05/0.007445, allocations: 27.77 kB / 0.6461 GB, free: 5.355 MB / 478.1 MB Notification: Performance of [INI] Simplify: time 0.0001314/0.007577, allocations: 105.1 kB / 0.6462 GB, free: 5.184 MB / 478.1 MB Notification: Performance of [INI] Inline: time 3.513e-05/0.007612, allocations: 31.98 kB / 0.6463 GB, free: 5.148 MB / 478.1 MB Notification: Performance of [INI] Partitioning: time 1.475e-05/0.007626, allocations: 17.77 kB / 0.6463 GB, free: 5.125 MB / 478.1 MB Notification: Performance of [INI] Cleanup: time 7.945e-06/0.007634, allocations: 0 / 0.6463 GB, free: 5.125 MB / 478.1 MB Notification: Performance of [INI] Causalize: time 0.0001891/0.007823, allocations: 104.1 kB / 0.6464 GB, free: 5.016 MB / 478.1 MB Notification: Performance of [INI] Tearing: time 1.085e-05/0.007834, allocations: 5.281 kB / 0.6464 GB, free: 5.012 MB / 478.1 MB Notification: Performance of [SIM] Initialization: time 3.51e-07/0.007835, allocations: 0 / 0.6464 GB, free: 5.012 MB / 478.1 MB Notification: Performance of [SIM] DAE-Mode: time 1.953e-05/0.007854, allocations: 20.05 kB / 0.6464 GB, free: 4.984 MB / 478.1 MB Notification: Performance of [SIM] Remove Dummies: time 2.845e-06/0.007857, allocations: 2.031 kB / 0.6464 GB, free: 4.984 MB / 478.1 MB Notification: Performance of [SIM] Tearing: time 7.92e-07/0.007858, allocations: 0 / 0.6464 GB, free: 4.984 MB / 478.1 MB Notification: Performance of [SIM] Categorize: time 8.155e-06/0.007866, allocations: 11.94 kB / 0.6464 GB, free: 4.973 MB / 478.1 MB Notification: Performance of [SIM] Solve: time 3.788e-05/0.007904, allocations: 4 kB / 0.6464 GB, free: 4.969 MB / 478.1 MB Notification: Performance of [SIM] Jacobian: time 6.532e-06/0.00791, allocations: 0.5312 kB / 0.6464 GB, free: 4.969 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.15e-05/0.007942, allocations: 15.81 kB / 0.6464 GB, free: 4.965 MB / 478.1 MB Notification: Performance of SimCode: time 0.001269/0.009211, allocations: 0.7032 MB / 0.6471 GB, free: 4.27 MB / 478.1 MB Notification: Performance of Templates: time 0.005374/0.01459, allocations: 2.171 MB / 0.6492 GB, free: 2.137 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.sim & ./IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.4137264610035345] Failed to read output from testmodel.py, exit status != 0: 0.022129485034383833 0.035079212000000005 0.026252951 Calling exit ...