Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.001405/0.001405, allocations: 100.4 kB / 19.76 MB, free: 1.906 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.001456/0.001456, allocations: 215.8 kB / 23.07 MB, free: 4.988 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.255/1.255, allocations: 230.7 MB / 256.9 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.7988/0.7988, allocations: 145 MB / 458.3 MB, free: 15.29 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d") translateModel(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.005e-05/1.005e-05, allocations: 2.281 kB / 0.6344 GB, free: 6.242 MB / 462.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d): time 0.001205/0.001215, allocations: 0.5301 MB / 0.6349 GB, free: 5.734 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002129/0.003344, allocations: 1.602 MB / 0.6364 GB, free: 4.117 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.514e-05/0.003369, allocations: 3.938 kB / 0.6364 GB, free: 4.113 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001162/0.003486, allocations: 23.91 kB / 0.6365 GB, free: 4.09 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 2.209e-05/0.003508, allocations: 8.484 kB / 0.6365 GB, free: 4.082 MB / 462.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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/IBPSA/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.000735/0.004243, allocations: 266.4 kB / 0.6367 GB, free: 3.824 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 6.192e-05/0.004305, allocations: 23.92 kB / 0.6368 GB, free: 3.801 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.653e-05/0.004341, allocations: 10.8 kB / 0.6368 GB, free: 3.793 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.612e-05/0.004367, allocations: 11.92 kB / 0.6368 GB, free: 3.781 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.569e-05/0.004403, allocations: 19.91 kB / 0.6368 GB, free: 3.762 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.004413, allocations: 3.938 kB / 0.6368 GB, free: 3.758 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005483/0.004961, allocations: 423.2 kB / 0.6372 GB, free: 3.344 MB / 462.1 MB Notification: Performance of combineBinaries: time 6.11e-05/0.005022, allocations: 59.41 kB / 0.6373 GB, free: 3.285 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 2.33e-05/0.005046, allocations: 28.66 kB / 0.6373 GB, free: 3.258 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 1.19e-05/0.005058, allocations: 0 / 0.6373 GB, free: 3.258 MB / 462.1 MB Notification: Performance of FrontEnd: time 8.846e-06/0.005066, allocations: 5.484 kB / 0.6373 GB, free: 3.254 MB / 462.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.000391/0.005457, allocations: 289.4 kB / 0.6376 GB, free: 2.852 MB / 462.1 MB Notification: Performance of [SIM] FunctionAlias: time 7.27e-05/0.00553, allocations: 37.55 kB / 0.6376 GB, free: 2.805 MB / 462.1 MB Notification: Performance of [SIM] Early Inline: time 7.772e-05/0.005608, allocations: 64.34 kB / 0.6377 GB, free: 2.715 MB / 462.1 MB Notification: Performance of [SIM] Simplify 1: time 6.913e-05/0.005677, allocations: 64.67 kB / 0.6377 GB, free: 2.605 MB / 462.1 MB Notification: Performance of [SIM] Alias: time 0.0002537/0.005931, allocations: 126 kB / 0.6378 GB, free: 2.426 MB / 462.1 MB Notification: Performance of [SIM] Simplify 2: time 5.745e-05/0.005988, allocations: 64.72 kB / 0.6379 GB, free: 2.316 MB / 462.1 MB Notification: Performance of [SIM] Remove Stream: time 3.687e-05/0.006025, allocations: 37.16 kB / 0.6379 GB, free: 2.254 MB / 462.1 MB Notification: Performance of [SIM] Detect States: time 8.111e-05/0.006106, allocations: 76.72 kB / 0.638 GB, free: 2.125 MB / 462.1 MB Notification: Performance of [SIM] Events: time 1.34e-05/0.00612, allocations: 9.5 kB / 0.638 GB, free: 2.117 MB / 462.1 MB Notification: Performance of [SIM] Partitioning: time 4.837e-05/0.006168, allocations: 20.05 kB / 0.638 GB, free: 2.09 MB / 462.1 MB Notification: Performance of [SIM] Causalize: time 4.967e-05/0.006218, allocations: 21.59 kB / 0.6381 GB, free: 2.062 MB / 462.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 2.405e-05/0.006242, allocations: 19.97 kB / 0.6381 GB, free: 2.043 MB / 462.1 MB Notification: Performance of [INI] Simplify: time 0.0001164/0.006358, allocations: 101 kB / 0.6382 GB, free: 1.875 MB / 462.1 MB Notification: Performance of [INI] Inline: time 3.473e-05/0.006393, allocations: 36.58 kB / 0.6382 GB, free: 1.836 MB / 462.1 MB Notification: Performance of [INI] Partitioning: time 1.608e-05/0.006409, allocations: 17.62 kB / 0.6382 GB, free: 1.812 MB / 462.1 MB Notification: Performance of [INI] Cleanup: time 8.566e-06/0.006417, allocations: 4 kB / 0.6382 GB, free: 1.809 MB / 462.1 MB Notification: Performance of [INI] Causalize: time 0.0001755/0.006593, allocations: 110.1 kB / 0.6383 GB, free: 1.699 MB / 462.1 MB Notification: Performance of [INI] Tearing: time 8.957e-06/0.006602, allocations: 5.188 kB / 0.6383 GB, free: 1.695 MB / 462.1 MB Notification: Performance of [SIM] Initialization: time 1.993e-06/0.006604, allocations: 4 kB / 0.6384 GB, free: 1.691 MB / 462.1 MB Notification: Performance of [SIM] DAE-Mode: time 1.439e-05/0.006618, allocations: 9.031 kB / 0.6384 GB, free: 1.676 MB / 462.1 MB Notification: Performance of [SIM] Remove Dummies: time 2.695e-06/0.006621, allocations: 0 / 0.6384 GB, free: 1.676 MB / 462.1 MB Notification: Performance of [SIM] Tearing: time 1.242e-06/0.006622, allocations: 1.469 kB / 0.6384 GB, free: 1.676 MB / 462.1 MB Notification: Performance of [SIM] Categorize: time 7.695e-06/0.00663, allocations: 7.984 kB / 0.6384 GB, free: 1.668 MB / 462.1 MB Notification: Performance of [SIM] Solve: time 4.091e-05/0.006671, allocations: 12 kB / 0.6384 GB, free: 1.656 MB / 462.1 MB Notification: Performance of [SIM] Jacobian: time 5.971e-06/0.006677, allocations: 4.75 kB / 0.6384 GB, free: 1.652 MB / 462.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 2.589e-05/0.006703, allocations: 16.12 kB / 0.6384 GB, free: 1.641 MB / 462.1 MB Notification: Performance of SimCode: time 0.001066/0.007769, allocations: 0.6871 MB / 0.6391 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of Templates: time 0.004439/0.01221, allocations: 2.089 MB / 0.6411 GB, free: 14.95 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.554212509014178] Failed to read output from testmodel.py, exit status != 0: 0.018670056015253067 0.031001345000000003 0.023332715 Calling exit ...