Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008164/0.0008164, allocations: 80.25 kB / 20.06 MB, free: 4.469 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.0008106/0.0008106, allocations: 173.9 kB / 23.36 MB, free: 1.164 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.8899/0.8899, allocations: 177.2 MB / 203.7 MB, free: 5.691 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7051/0.7051, allocations: 154.6 MB / 414.7 MB, free: 0.7344 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.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(IDEAS.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Clustering.Validation.KMeans_2d") translateModel(IDEAS.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Clustering.Validation.KMeans_2d") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.89e-05/1.89e-05, allocations: 2.312 kB / 0.6196 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Clustering.Validation.KMeans_2d): time 0.001038/0.001057, allocations: 0.5206 MB / 0.6201 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001639/0.002696, allocations: 1.622 MB / 0.6216 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.921e-05/0.002735, allocations: 3.938 kB / 0.6216 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.000173/0.002908, allocations: 55.91 kB / 0.6217 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.519e-05/0.002933, allocations: 31.89 kB / 0.6217 GB, free: 10.8 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.0007633/0.003697, allocations: 282.9 kB / 0.622 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.999e-05/0.003787, allocations: 39.89 kB / 0.622 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.167e-05/0.003828, allocations: 0 / 0.622 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.197e-05/0.00387, allocations: 23.95 kB / 0.6221 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.198e-05/0.003922, allocations: 39.89 kB / 0.6221 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.003936, allocations: 0 / 0.6221 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004631/0.004399, allocations: 447.1 kB / 0.6225 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of combineBinaries: time 5.321e-05/0.004453, allocations: 55.47 kB / 0.6226 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of replaceArrayConstructors: time 1.773e-05/0.00447, allocations: 27.66 kB / 0.6226 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 9.668e-06/0.00448, allocations: 0 / 0.6226 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.074e-06/0.004487, allocations: 0 / 0.6226 GB, free: 9.898 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.0003266/0.004814, allocations: 293 kB / 0.6229 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of [SIM] FunctionAlias: time 8.329e-05/0.004897, allocations: 36.03 kB / 0.6229 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of [SIM] Early Inline: time 5.734e-05/0.004954, allocations: 72.28 kB / 0.623 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 1: time 2.356e-05/0.004978, allocations: 40.42 kB / 0.623 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of [SIM] Alias: time 0.0002617/0.00524, allocations: 124.8 kB / 0.6231 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 2: time 1.657e-05/0.005256, allocations: 44.56 kB / 0.6232 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of [SIM] Remove Stream: time 1.923e-05/0.005275, allocations: 36.42 kB / 0.6232 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of [SIM] Detect States: time 6.876e-05/0.005344, allocations: 96.98 kB / 0.6233 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of [SIM] Events: time 9.297e-06/0.005353, allocations: 0 / 0.6233 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of [SIM] Partitioning: time 7.179e-05/0.005425, allocations: 60.55 kB / 0.6234 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of [SIM] Causalize: time 4.873e-05/0.005474, allocations: 20.11 kB / 0.6234 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of [SIM] After Index Reduction Inline: time 1.741e-05/0.005491, allocations: 31.91 kB / 0.6234 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of [INI] Simplify: time 7.486e-05/0.005566, allocations: 84.86 kB / 0.6235 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of [INI] Inline: time 2.456e-05/0.005591, allocations: 40.03 kB / 0.6235 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of [INI] Partitioning: time 5.981e-06/0.005597, allocations: 12.12 kB / 0.6236 GB, free: 8.461 MB / 0.5886 GB Notification: Performance of [INI] Cleanup: time 1.276e-05/0.005609, allocations: 7.938 kB / 0.6236 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of [INI] Causalize: time 0.0001397/0.005749, allocations: 128.5 kB / 0.6237 GB, free: 8.324 MB / 0.5886 GB Notification: Performance of [INI] Tearing: time 8.907e-06/0.005758, allocations: 4 kB / 0.6237 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of [SIM] Initialization: time 3.51e-07/0.005758, allocations: 0 / 0.6237 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of [SIM] DAE-Mode: time 1.097e-05/0.005769, allocations: 8.125 kB / 0.6237 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of [SIM] Remove Dummies: time 3.226e-06/0.005773, allocations: 0 / 0.6237 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of [SIM] Tearing: time 7.72e-07/0.005773, allocations: 4 kB / 0.6237 GB, free: 8.301 MB / 0.5886 GB Notification: Performance of [SIM] Categorize: time 9.318e-06/0.005783, allocations: 8 kB / 0.6237 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of [SIM] Solve: time 3.586e-05/0.005819, allocations: 7.984 kB / 0.6237 GB, free: 8.285 MB / 0.5886 GB Notification: Performance of [SIM] Jacobian: time 7.244e-06/0.005826, allocations: 0 / 0.6237 GB, free: 8.285 MB / 0.5886 GB Notification: Performance of [SIM] Minimize Homotopy System: time 4.41e-07/0.005826, allocations: 0 / 0.6237 GB, free: 8.285 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 3.104e-05/0.005857, allocations: 17.27 kB / 0.6237 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of SimCode: time 0.001002/0.006859, allocations: 0.8027 MB / 0.6245 GB, free: 7.484 MB / 0.5886 GB Notification: Performance of Templates: time 0.003537/0.0104, allocations: 2.239 MB / 0.6267 GB, free: 5.246 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Clustering.Validation.KMeans_2d.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Clustering.Validation.KMeans_2d.pipe ; mkfifo IDEAS_IDEAS.Utilities.Clustering.Validation.KMeans_2d.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Clustering.Validation.KMeans_2d.pipe >> ../files/IDEAS_IDEAS.Utilities.Clustering.Validation.KMeans_2d.sim & ./IDEAS_IDEAS.Utilities.Clustering.Validation.KMeans_2d -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Clustering.Validation.KMeans_2d.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.5082693714648485] Failed to read output from testmodel.py, exit status != 0: 0.014243043959140778 0.022153779000000002 0.016130896000000002 Calling exit ...