Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001445/0.001445, 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.00157/0.00157, allocations: 209.4 kB / 23.06 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.35/1.35, allocations: 230.7 MB / 256.9 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002432/0.002432, allocations: 286.2 kB / 313.6 MB, free: 2.664 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.146/1.146, allocations: 180.7 MB / 0.5378 GB, free: 14.48 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Clustering.Validation.KMeans_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Clustering.Validation.KMeans_1d") translateModel(BuildingSystems.Utilities.Clustering.Validation.KMeans_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Clustering.Validation.KMeans_1d") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.627e-05/1.627e-05, allocations: 4.391 kB / 0.7408 GB, free: 28.24 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Clustering.Validation.KMeans_1d): time 0.001157/0.001174, allocations: 0.5277 MB / 0.7413 GB, free: 27.92 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001573/0.002746, allocations: 1.601 MB / 0.7428 GB, free: 26.82 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.419e-05/0.00277, allocations: 0 / 0.7428 GB, free: 26.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.002889, allocations: 26.28 kB / 0.7429 GB, free: 26.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 1.981e-05/0.002909, allocations: 12.98 kB / 0.7429 GB, free: 26.81 MB / 0.5294 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/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.0006625/0.003571, allocations: 263.5 kB / 0.7431 GB, free: 26.71 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.373e-05/0.003635, allocations: 29 kB / 0.7431 GB, free: 26.7 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.563e-05/0.003671, allocations: 2.625 kB / 0.7431 GB, free: 26.7 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.397e-05/0.003695, allocations: 15.14 kB / 0.7432 GB, free: 26.7 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.188e-05/0.003727, allocations: 15.62 kB / 0.7432 GB, free: 26.69 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.003738, allocations: 2.625 kB / 0.7432 GB, free: 26.69 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004254/0.004163, allocations: 427.9 kB / 0.7436 GB, free: 26.57 MB / 0.5294 GB Notification: Performance of combineBinaries: time 4.529e-05/0.004208, allocations: 55.69 kB / 0.7436 GB, free: 26.54 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 1.592e-05/0.004224, allocations: 29.56 kB / 0.7437 GB, free: 26.52 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.606e-06/0.004233, allocations: 6.562 kB / 0.7437 GB, free: 26.52 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.861e-06/0.004239, allocations: 3.938 kB / 0.7437 GB, free: 26.51 MB / 0.5294 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.0002804/0.004519, allocations: 298.7 kB / 0.744 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of [SIM] FunctionAlias: time 5.733e-05/0.004576, allocations: 30.72 kB / 0.744 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of [SIM] Early Inline: time 5.002e-05/0.004626, allocations: 67.08 kB / 0.7441 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 1: time 3.174e-05/0.004658, allocations: 69.8 kB / 0.7441 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of [SIM] Alias: time 0.0002061/0.004864, allocations: 119.5 kB / 0.7442 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 2: time 2.382e-05/0.004888, allocations: 63.84 kB / 0.7443 GB, free: 25.74 MB / 0.5294 GB Notification: Performance of [SIM] Remove Stream: time 1.443e-05/0.004903, allocations: 42.56 kB / 0.7443 GB, free: 25.68 MB / 0.5294 GB Notification: Performance of [SIM] Detect States: time 3.951e-05/0.004942, allocations: 78.34 kB / 0.7444 GB, free: 25.56 MB / 0.5294 GB Notification: Performance of [SIM] Events: time 9.728e-06/0.004952, allocations: 3.859 kB / 0.7444 GB, free: 25.55 MB / 0.5294 GB Notification: Performance of [SIM] Partitioning: time 3.964e-05/0.004991, allocations: 20.89 kB / 0.7444 GB, free: 25.54 MB / 0.5294 GB Notification: Performance of [SIM] Causalize: time 3.788e-05/0.005029, allocations: 19.78 kB / 0.7445 GB, free: 25.52 MB / 0.5294 GB Notification: Performance of [SIM] After Index Reduction Inline: time 1.497e-05/0.005044, allocations: 19.73 kB / 0.7445 GB, free: 25.51 MB / 0.5294 GB Notification: Performance of [INI] Simplify: time 6.299e-05/0.005107, allocations: 112.1 kB / 0.7446 GB, free: 25.36 MB / 0.5294 GB Notification: Performance of [INI] Inline: time 2.018e-05/0.005127, allocations: 34.12 kB / 0.7446 GB, free: 25.34 MB / 0.5294 GB Notification: Performance of [INI] Partitioning: time 4.809e-06/0.005132, allocations: 10.72 kB / 0.7446 GB, free: 25.32 MB / 0.5294 GB Notification: Performance of [INI] Cleanup: time 7.725e-06/0.00514, allocations: 2.562 kB / 0.7446 GB, free: 25.32 MB / 0.5294 GB Notification: Performance of [INI] Causalize: time 0.000139/0.005279, allocations: 98.17 kB / 0.7447 GB, free: 25.29 MB / 0.5294 GB Notification: Performance of [INI] Tearing: time 7.304e-06/0.005286, allocations: 3.938 kB / 0.7447 GB, free: 25.29 MB / 0.5294 GB Notification: Performance of [SIM] Initialization: time 3.71e-07/0.005287, allocations: 0 / 0.7447 GB, free: 25.29 MB / 0.5294 GB Notification: Performance of [SIM] DAE-Mode: time 9.278e-06/0.005296, allocations: 14.84 kB / 0.7447 GB, free: 25.27 MB / 0.5294 GB Notification: Performance of [SIM] Remove Dummies: time 2.745e-06/0.005299, allocations: 4 kB / 0.7447 GB, free: 25.27 MB / 0.5294 GB Notification: Performance of [SIM] Tearing: time 1.784e-06/0.0053, allocations: 6.656 kB / 0.7448 GB, free: 25.26 MB / 0.5294 GB Notification: Performance of [SIM] Categorize: time 4.839e-06/0.005305, allocations: 3.422 kB / 0.7448 GB, free: 25.26 MB / 0.5294 GB Notification: Performance of [SIM] Solve: time 3.165e-05/0.005337, allocations: 2.562 kB / 0.7448 GB, free: 25.26 MB / 0.5294 GB Notification: Performance of [SIM] Jacobian: time 5.69e-06/0.005343, allocations: 2.781 kB / 0.7448 GB, free: 25.26 MB / 0.5294 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 2.548e-05/0.005368, allocations: 25.2 kB / 0.7448 GB, free: 25.24 MB / 0.5294 GB Notification: Performance of SimCode: time 0.0009061/0.006274, allocations: 0.7113 MB / 0.7455 GB, free: 24.94 MB / 0.5294 GB Notification: Performance of Templates: time 0.003978/0.01025, allocations: 2.079 MB / 0.7475 GB, free: 24.75 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Clustering.Validation.KMeans_1d.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Clustering.Validation.KMeans_1d.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Clustering.Validation.KMeans_1d.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Clustering.Validation.KMeans_1d.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Clustering.Validation.KMeans_1d.sim & ./BuildingSystems_BuildingSystems.Utilities.Clustering.Validation.KMeans_1d -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Clustering.Validation.KMeans_1d.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.496374229958747] Failed to read output from testmodel.py, exit status != 0: 0.015666886989492923 0.025586581 0.019200095 Calling exit ...