Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001792/0.001792, allocations: 80.88 kB / 21.56 MB, free: 2.934 MB / 18.57 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.001864/0.001864, allocations: 165.1 kB / 24.97 MB, free: 8.617 MB / 18.57 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.506/1.506, allocations: 177.1 MB / 205.4 MB, free: 4.465 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.179/3.179, allocations: 389.5 MB / 0.6361 GB, free: 13.42 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Clustering.Validation.KMeans_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d") translateModel(Buildings.Utilities.Clustering.Validation.KMeans_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/1.854e-05, allocations: 5.969 kB / 0.7759 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Clustering.Validation.KMeans_1d): time 0.001801/0.001819, allocations: 0.5795 MB / 0.7765 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002888/0.004707, allocations: 1.661 MB / 0.7781 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.717e-05/0.004744, allocations: 4 kB / 0.7781 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.004871, allocations: 19.91 kB / 0.7781 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.521e-05/0.004897, allocations: 7.984 kB / 0.7781 GB, free: 11.74 MB / 0.7448 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'. Notification: Performance of NFTyping.typeClassSections: time 0.0009287/0.005825, allocations: 259 kB / 0.7784 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8e-05/0.005905, allocations: 31.91 kB / 0.7784 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.103e-05/0.005936, allocations: 0 / 0.7784 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.826e-05/0.005985, allocations: 15.97 kB / 0.7784 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.164e-05/0.006026, allocations: 15.92 kB / 0.7784 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.00604, allocations: 4 kB / 0.7784 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009383/0.006978, allocations: 479 kB / 0.7789 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of combineBinaries: time 7.287e-05/0.007051, allocations: 39.73 kB / 0.7789 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of replaceArrayConstructors: time 2.75e-05/0.007078, allocations: 23.75 kB / 0.779 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.7e-06/0.007084, allocations: 4 kB / 0.779 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.211e-06/0.00709, allocations: 0 / 0.779 GB, free: 10.89 MB / 0.7448 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.0005372/0.007627, allocations: 301.1 kB / 0.7792 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of [SIM] FunctionAlias: time 8.251e-05/0.00771, allocations: 23.91 kB / 0.7793 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of [SIM] Early Inline: time 0.0001122/0.007822, allocations: 68.33 kB / 0.7793 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of [SIM] Simplify 1: time 6.375e-05/0.007886, allocations: 40.44 kB / 0.7794 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of [SIM] Alias: time 0.000324/0.00821, allocations: 144.8 kB / 0.7795 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of [SIM] Simplify 2: time 5.466e-05/0.008265, allocations: 36.42 kB / 0.7795 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of [SIM] Remove Stream: time 4.616e-05/0.008311, allocations: 32.44 kB / 0.7796 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of [SIM] Detect States: time 0.0001509/0.008462, allocations: 108.8 kB / 0.7797 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of [SIM] Events: time 1.178e-05/0.008473, allocations: 4 kB / 0.7797 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of [SIM] Partitioning: time 0.0001195/0.008593, allocations: 60.55 kB / 0.7797 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of [SIM] Causalize: time 0.0002834/0.008876, allocations: 32.28 kB / 0.7798 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of [SIM] After Index Reduction Inline: time 4.45e-05/0.008921, allocations: 31.97 kB / 0.7798 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of [INI] Simplify: time 0.0001625/0.009083, allocations: 92.84 kB / 0.7799 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of [INI] Inline: time 5.452e-05/0.009138, allocations: 36.03 kB / 0.7799 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of [INI] Partitioning: time 1.76e-05/0.009155, allocations: 12.12 kB / 0.7799 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of [INI] Cleanup: time 1.901e-05/0.009174, allocations: 15.86 kB / 0.78 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of [INI] Causalize: time 0.000192/0.009366, allocations: 100.6 kB / 0.78 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of [INI] Tearing: time 6.161e-06/0.009373, allocations: 0 / 0.78 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of [SIM] Initialization: time 4.91e-07/0.009373, allocations: 0 / 0.78 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of [SIM] Remove Dummies: time 2.294e-06/0.009375, allocations: 0 / 0.78 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of [SIM] Tearing: time 8.21e-07/0.009376, allocations: 0 / 0.78 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of [SIM] Categorize: time 7.113e-06/0.009383, allocations: 4 kB / 0.7801 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of [SIM] Solve: time 4.725e-05/0.009431, allocations: 19.92 kB / 0.7801 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of [SIM] Jacobian: time 4.949e-06/0.009436, allocations: 0 / 0.7801 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of [SIM] Minimize Homotopy System: time 3.91e-07/0.009436, allocations: 0 / 0.7801 GB, free: 9.273 MB / 0.7448 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 4.572e-05/0.009482, allocations: 22.56 kB / 0.7801 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of SimCode: time 0.001733/0.01121, allocations: 0.7137 MB / 0.7808 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of Templates: time 0.007108/0.01832, allocations: 2.608 MB / 0.7833 GB, free: 5.945 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d.pipe ; mkfifo Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d.pipe >> ../files/Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d.sim & ./Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.418314841575921]