Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.001389/0.001389, allocations: 104.3 kB / 19.77 MB, free: 2.051 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.00144/0.00144, allocations: 219.2 kB / 23.07 MB, free: 4.844 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.245/1.245, allocations: 230.7 MB / 256.9 MB, free: 7.73 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.8059/0.8059, allocations: 145 MB / 458.3 MB, free: 15.24 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_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d") translateModel(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.675e-05/1.675e-05, allocations: 2.281 kB / 0.6344 GB, free: 6.176 MB / 462.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d): time 0.001309/0.001325, allocations: 0.5276 MB / 0.6349 GB, free: 5.668 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002219/0.003545, allocations: 1.604 MB / 0.6364 GB, free: 4.051 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.488e-05/0.00357, allocations: 3.938 kB / 0.6364 GB, free: 4.047 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001635/0.003733, allocations: 64.53 kB / 0.6365 GB, free: 3.984 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 4.209e-05/0.003775, allocations: 28.58 kB / 0.6365 GB, free: 3.957 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.0007978/0.004573, allocations: 278.3 kB / 0.6368 GB, free: 3.688 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 7.907e-05/0.004652, allocations: 34.17 kB / 0.6368 GB, free: 3.656 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.971e-05/0.004692, allocations: 7.984 kB / 0.6368 GB, free: 3.648 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.852e-05/0.00473, allocations: 19.92 kB / 0.6369 GB, free: 3.629 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.316e-05/0.004783, allocations: 31.95 kB / 0.6369 GB, free: 3.598 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.839e-06/0.004793, allocations: 0 / 0.6369 GB, free: 3.598 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005751/0.005368, allocations: 428.3 kB / 0.6373 GB, free: 3.18 MB / 462.1 MB Notification: Performance of combineBinaries: time 6.604e-05/0.005434, allocations: 55.41 kB / 0.6374 GB, free: 3.125 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 2.65e-05/0.005461, allocations: 32.53 kB / 0.6374 GB, free: 3.094 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 8.215e-06/0.005469, allocations: 0 / 0.6374 GB, free: 3.094 MB / 462.1 MB Notification: Performance of FrontEnd: time 6.041e-06/0.005475, allocations: 5.5 kB / 0.6374 GB, free: 3.09 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.0004879/0.005963, allocations: 293.4 kB / 0.6377 GB, free: 2.684 MB / 462.1 MB Notification: Performance of [SIM] FunctionAlias: time 7.041e-05/0.006034, allocations: 33.53 kB / 0.6377 GB, free: 2.641 MB / 462.1 MB Notification: Performance of [SIM] Early Inline: time 8.097e-05/0.006114, allocations: 64.34 kB / 0.6378 GB, free: 2.551 MB / 462.1 MB Notification: Performance of [SIM] Simplify 1: time 6.346e-05/0.006178, allocations: 64.73 kB / 0.6378 GB, free: 2.441 MB / 462.1 MB Notification: Performance of [SIM] Alias: time 0.0002559/0.006434, allocations: 126.1 kB / 0.6379 GB, free: 2.262 MB / 462.1 MB Notification: Performance of [SIM] Simplify 2: time 6.245e-05/0.006496, allocations: 60.73 kB / 0.638 GB, free: 2.156 MB / 462.1 MB Notification: Performance of [SIM] Remove Stream: time 3.294e-05/0.006529, allocations: 36.44 kB / 0.638 GB, free: 2.094 MB / 462.1 MB Notification: Performance of [SIM] Detect States: time 8.704e-05/0.006616, allocations: 85.25 kB / 0.6381 GB, free: 1.957 MB / 462.1 MB Notification: Performance of [SIM] Events: time 1.073e-05/0.006627, allocations: 5.469 kB / 0.6381 GB, free: 1.953 MB / 462.1 MB Notification: Performance of [SIM] Partitioning: time 4.424e-05/0.006671, allocations: 12.12 kB / 0.6381 GB, free: 1.934 MB / 462.1 MB Notification: Performance of [SIM] Causalize: time 9.152e-05/0.006763, allocations: 33.42 kB / 0.6382 GB, free: 1.895 MB / 462.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 1.981e-05/0.006783, allocations: 15.98 kB / 0.6382 GB, free: 1.879 MB / 462.1 MB Notification: Performance of [INI] Simplify: time 0.0001215/0.006904, allocations: 105 kB / 0.6383 GB, free: 1.707 MB / 462.1 MB Notification: Performance of [INI] Inline: time 4.19e-05/0.006946, allocations: 36.7 kB / 0.6383 GB, free: 1.668 MB / 462.1 MB Notification: Performance of [INI] Partitioning: time 1.233e-05/0.006958, allocations: 13.62 kB / 0.6383 GB, free: 1.648 MB / 462.1 MB Notification: Performance of [INI] Cleanup: time 8.666e-06/0.006967, allocations: 4 kB / 0.6383 GB, free: 1.645 MB / 462.1 MB Notification: Performance of [INI] Causalize: time 0.0001896/0.007157, allocations: 118.5 kB / 0.6384 GB, free: 1.523 MB / 462.1 MB Notification: Performance of [INI] Tearing: time 9.097e-06/0.007166, allocations: 5.344 kB / 0.6384 GB, free: 1.52 MB / 462.1 MB Notification: Performance of [SIM] Initialization: time 3.5e-07/0.007166, allocations: 0 / 0.6384 GB, free: 1.52 MB / 462.1 MB Notification: Performance of [SIM] DAE-Mode: time 1.343e-05/0.00718, allocations: 8.125 kB / 0.6385 GB, free: 1.504 MB / 462.1 MB Notification: Performance of [SIM] Remove Dummies: time 2.564e-06/0.007182, allocations: 0.9062 kB / 0.6385 GB, free: 1.504 MB / 462.1 MB Notification: Performance of [SIM] Tearing: time 5.661e-06/0.007188, allocations: 12 kB / 0.6385 GB, free: 1.492 MB / 462.1 MB Notification: Performance of [SIM] Categorize: time 6.001e-06/0.007194, allocations: 5.391 kB / 0.6385 GB, free: 1.488 MB / 462.1 MB Notification: Performance of [SIM] Solve: time 3.373e-05/0.007227, allocations: 4 kB / 0.6385 GB, free: 1.484 MB / 462.1 MB Notification: Performance of [SIM] Jacobian: time 6.001e-06/0.007233, allocations: 0 / 0.6385 GB, free: 1.484 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 3.306e-05/0.007267, allocations: 19.98 kB / 0.6385 GB, free: 1.473 MB / 462.1 MB Notification: Performance of SimCode: time 0.001158/0.008425, allocations: 0.7752 MB / 0.6393 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of Templates: time 0.004684/0.01311, allocations: 2.1 MB / 0.6413 GB, free: 14.69 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.615802964020986] Failed to read output from testmodel.py, exit status != 0: 0.019904252025298774 0.032632985 0.024523948 Calling exit ...