Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001241/0.001241, allocations: 104.3 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.001355/0.001355, allocations: 216.4 kB / 23.07 MB, free: 4.977 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.329/1.329, allocations: 230.7 MB / 256.9 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 179] 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.002379/0.002379, allocations: 295.2 kB / 313.6 MB, free: 2.551 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.122/1.122, 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_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Clustering.Validation.KMeans_2d") translateModel(BuildingSystems.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Clustering.Validation.KMeans_2d") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.454e-05/1.454e-05, allocations: 5.375 kB / 0.7408 GB, free: 27.96 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Clustering.Validation.KMeans_2d): time 0.001213/0.001228, allocations: 0.524 MB / 0.7413 GB, free: 27.64 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001752/0.00298, allocations: 1.609 MB / 0.7428 GB, free: 26.53 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.852e-05/0.003009, allocations: 0 / 0.7428 GB, free: 26.53 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001648/0.003173, allocations: 61.75 kB / 0.7429 GB, free: 26.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.84e-05/0.003202, allocations: 32.64 kB / 0.7429 GB, free: 26.52 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.0006749/0.003877, allocations: 261.7 kB / 0.7432 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.701e-05/0.003954, allocations: 40 kB / 0.7432 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.121e-05/0.003995, allocations: 6.438 kB / 0.7432 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.308e-05/0.004028, allocations: 25.72 kB / 0.7432 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.631e-05/0.004074, allocations: 32.81 kB / 0.7433 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.004087, allocations: 0 / 0.7433 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000447/0.004534, allocations: 426.1 kB / 0.7437 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of combineBinaries: time 5.072e-05/0.004585, allocations: 59.86 kB / 0.7437 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 1.745e-05/0.004603, allocations: 30.06 kB / 0.7438 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.428e-06/0.004612, allocations: 2.594 kB / 0.7438 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.462e-06/0.004618, allocations: 0 / 0.7438 GB, free: 26.22 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.0003339/0.004952, allocations: 307.5 kB / 0.7441 GB, free: 25.88 MB / 0.5294 GB Notification: Performance of [SIM] FunctionAlias: time 6.018e-05/0.005013, allocations: 24.69 kB / 0.7441 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of [SIM] Early Inline: time 4.978e-05/0.005062, allocations: 64.92 kB / 0.7442 GB, free: 25.79 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 1: time 3.89e-05/0.005101, allocations: 68.75 kB / 0.7442 GB, free: 25.68 MB / 0.5294 GB Notification: Performance of [SIM] Alias: time 0.0002301/0.005331, allocations: 126.2 kB / 0.7443 GB, free: 25.54 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 2: time 4.117e-05/0.005373, allocations: 68.19 kB / 0.7444 GB, free: 25.44 MB / 0.5294 GB Notification: Performance of [SIM] Remove Stream: time 2.452e-05/0.005397, allocations: 37.94 kB / 0.7444 GB, free: 25.38 MB / 0.5294 GB Notification: Performance of [SIM] Detect States: time 5.006e-05/0.005447, allocations: 75.52 kB / 0.7445 GB, free: 25.27 MB / 0.5294 GB Notification: Performance of [SIM] Events: time 1.093e-05/0.005458, allocations: 7.859 kB / 0.7445 GB, free: 25.26 MB / 0.5294 GB Notification: Performance of [SIM] Partitioning: time 4.234e-05/0.0055, allocations: 20.09 kB / 0.7445 GB, free: 25.24 MB / 0.5294 GB Notification: Performance of [SIM] Causalize: time 4.143e-05/0.005542, allocations: 21.34 kB / 0.7446 GB, free: 25.22 MB / 0.5294 GB Notification: Performance of [SIM] After Index Reduction Inline: time 1.624e-05/0.005558, allocations: 29 kB / 0.7446 GB, free: 25.21 MB / 0.5294 GB Notification: Performance of [INI] Simplify: time 6.825e-05/0.005626, allocations: 100.7 kB / 0.7447 GB, free: 25.06 MB / 0.5294 GB Notification: Performance of [INI] Inline: time 2.048e-05/0.005647, allocations: 29.47 kB / 0.7447 GB, free: 25.04 MB / 0.5294 GB Notification: Performance of [INI] Partitioning: time 6.242e-06/0.005653, allocations: 10.62 kB / 0.7447 GB, free: 25.03 MB / 0.5294 GB Notification: Performance of [INI] Cleanup: time 8.516e-06/0.005662, allocations: 7.188 kB / 0.7447 GB, free: 25.02 MB / 0.5294 GB Notification: Performance of [INI] Causalize: time 0.0001554/0.005817, allocations: 124.6 kB / 0.7448 GB, free: 24.99 MB / 0.5294 GB Notification: Performance of [INI] Tearing: time 8.175e-06/0.005825, allocations: 6.25 kB / 0.7449 GB, free: 24.98 MB / 0.5294 GB Notification: Performance of [SIM] Initialization: time 3.5e-07/0.005825, allocations: 0 / 0.7449 GB, free: 24.98 MB / 0.5294 GB Notification: Performance of [SIM] DAE-Mode: time 8.306e-06/0.005834, allocations: 16.12 kB / 0.7449 GB, free: 24.96 MB / 0.5294 GB Notification: Performance of [SIM] Remove Dummies: time 3.236e-06/0.005837, allocations: 2.406 kB / 0.7449 GB, free: 24.96 MB / 0.5294 GB Notification: Performance of [SIM] Tearing: time 7.61e-07/0.005838, allocations: 0 / 0.7449 GB, free: 24.96 MB / 0.5294 GB Notification: Performance of [SIM] Categorize: time 4.588e-06/0.005842, allocations: 0 / 0.7449 GB, free: 24.96 MB / 0.5294 GB Notification: Performance of [SIM] Solve: time 3.303e-05/0.005875, allocations: 8.547 kB / 0.7449 GB, free: 24.96 MB / 0.5294 GB Notification: Performance of [SIM] Jacobian: time 6.683e-06/0.005882, allocations: 4 kB / 0.7449 GB, free: 24.96 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 3.434e-05/0.005916, allocations: 25.92 kB / 0.7449 GB, free: 24.94 MB / 0.5294 GB Notification: Performance of SimCode: time 0.0009691/0.006886, allocations: 0.7627 MB / 0.7457 GB, free: 24.62 MB / 0.5294 GB Notification: Performance of Templates: time 0.004368/0.01125, allocations: 2.082 MB / 0.7477 GB, free: 24.44 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Clustering.Validation.KMeans_2d.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Clustering.Validation.KMeans_2d.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Clustering.Validation.KMeans_2d.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Clustering.Validation.KMeans_2d.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Clustering.Validation.KMeans_2d.sim & ./BuildingSystems_BuildingSystems.Utilities.Clustering.Validation.KMeans_2d -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Clustering.Validation.KMeans_2d.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.412126251962036] Failed to read output from testmodel.py, exit status != 0: 0.016579637012910098 0.027602802000000003 0.020725646 Calling exit ...