Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.001143/0.001143, allocations: 80.25 kB / 20.06 MB, free: 4.465 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.0008885/0.0008885, allocations: 173.9 kB / 23.36 MB, free: 1.16 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 0.9148/0.9148, allocations: 177.1 MB / 203.7 MB, free: 5.691 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7102/0.7102, allocations: 154.6 MB / 414.7 MB, free: 0.7812 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_2d") translateModel(IDEAS.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_2d") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.644e-05/1.644e-05, allocations: 2.312 kB / 0.6195 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Clustering.Validation.KMeans_2d): time 0.001071/0.001088, allocations: 0.5235 MB / 0.62 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001974/0.003062, allocations: 1.61 MB / 0.6216 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.901e-05/0.003101, allocations: 3.938 kB / 0.6216 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001974/0.003298, allocations: 59.84 kB / 0.6216 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.701e-05/0.003325, allocations: 35.83 kB / 0.6217 GB, free: 10.89 MB / 0.5886 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.0007339/0.004059, allocations: 275 kB / 0.6219 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.973e-05/0.004149, allocations: 47.88 kB / 0.622 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.528e-05/0.004194, allocations: 0 / 0.622 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.594e-05/0.00424, allocations: 31.89 kB / 0.622 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.193e-05/0.004292, allocations: 31.95 kB / 0.622 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.004305, allocations: 0 / 0.622 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004446/0.00475, allocations: 443.1 kB / 0.6225 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of combineBinaries: time 5.275e-05/0.004803, allocations: 51.47 kB / 0.6225 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of replaceArrayConstructors: time 1.523e-05/0.004818, allocations: 27.66 kB / 0.6225 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.584e-06/0.004826, allocations: 4 kB / 0.6225 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of FrontEnd: time 5.941e-06/0.004832, allocations: 0 / 0.6225 GB, free: 9.992 MB / 0.5886 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.000373/0.005205, allocations: 296.8 kB / 0.6228 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of [SIM] FunctionAlias: time 9.94e-05/0.005304, allocations: 43.39 kB / 0.6229 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of [SIM] Early Inline: time 6.266e-05/0.005367, allocations: 64.34 kB / 0.6229 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 1: time 2.948e-05/0.005396, allocations: 44.42 kB / 0.623 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of [SIM] Alias: time 0.0003095/0.005706, allocations: 120.8 kB / 0.6231 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 2: time 2.277e-05/0.005728, allocations: 40.36 kB / 0.6231 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of [SIM] Remove Stream: time 2.765e-05/0.005756, allocations: 40.38 kB / 0.6232 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of [SIM] Detect States: time 9.318e-05/0.005849, allocations: 100.9 kB / 0.6233 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of [SIM] Events: time 1.219e-05/0.005861, allocations: 0 / 0.6233 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of [SIM] Partitioning: time 9.328e-05/0.005955, allocations: 60.55 kB / 0.6233 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of [SIM] Causalize: time 6.788e-05/0.006023, allocations: 32.3 kB / 0.6233 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of [SIM] After Index Reduction Inline: time 1.713e-05/0.00604, allocations: 23.91 kB / 0.6234 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of [INI] Simplify: time 8.36e-05/0.006123, allocations: 72.8 kB / 0.6234 GB, free: 8.621 MB / 0.5886 GB Notification: Performance of [INI] Inline: time 2.418e-05/0.006147, allocations: 43.98 kB / 0.6235 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of [INI] Partitioning: time 8.646e-06/0.006156, allocations: 12.11 kB / 0.6235 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of [INI] Cleanup: time 1.823e-05/0.006174, allocations: 11.94 kB / 0.6235 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of [INI] Causalize: time 0.0001688/0.006343, allocations: 124 kB / 0.6236 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of [INI] Tearing: time 1.195e-05/0.006355, allocations: 4 kB / 0.6236 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of [SIM] Initialization: time 6.31e-07/0.006356, allocations: 4.188 kB / 0.6236 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of [SIM] DAE-Mode: time 1.222e-05/0.006368, allocations: 8.125 kB / 0.6236 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of [SIM] Remove Dummies: time 4.769e-06/0.006373, allocations: 0 / 0.6236 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of [SIM] Tearing: time 1.833e-06/0.006374, allocations: 4 kB / 0.6236 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of [SIM] Categorize: time 7.675e-06/0.006382, allocations: 0 / 0.6236 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of [SIM] Solve: time 4.703e-05/0.006429, allocations: 15.98 kB / 0.6237 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of [SIM] Jacobian: time 9.118e-06/0.006438, allocations: 0 / 0.6237 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of [SIM] Minimize Homotopy System: time 5.31e-07/0.006439, allocations: 0 / 0.6237 GB, free: 8.371 MB / 0.5886 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.443e-05/0.006483, allocations: 20.97 kB / 0.6237 GB, free: 8.359 MB / 0.5886 GB Notification: Performance of SimCode: time 0.001072/0.007556, allocations: 0.8098 MB / 0.6245 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of Templates: time 0.003856/0.01141, allocations: 2.229 MB / 0.6266 GB, free: 5.336 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_2d.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_2d.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_2d.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_2d.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_2d.sim & ./IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_2d -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_2d.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.848200491629541] Failed to read output from testmodel.py, exit status != 0: 0.016029857099056244 0.023934957 0.017534475 Calling exit ...