Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001772/0.001772, allocations: 76.2 kB / 19.96 MB, free: 1.453 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.001783/0.001783, allocations: 169.6 kB / 23.23 MB, free: 4.207 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.305/1.305, allocations: 177.2 MB / 203.6 MB, free: 8.242 MB / 190.1 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-531:686: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-531:694: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 1.14/1.14, allocations: 154.7 MB / 414.7 MB, free: 6.504 MB / 382.1 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_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Clustering.Validation.KMeans_1d") translateModel(IDEAS.Utilities.Clustering.Validation.KMeans_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Clustering.Validation.KMeans_1d") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.087e-05/2.087e-05, allocations: 2.828 kB / 0.6195 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Clustering.Validation.KMeans_1d): time 0.001615/0.001635, allocations: 0.505 MB / 0.62 GB, free: 3.926 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002573/0.004208, allocations: 1.616 MB / 0.6215 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.713e-05/0.004245, allocations: 7.938 kB / 0.6216 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001429/0.004388, allocations: 15.97 kB / 0.6216 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.493e-05/0.004413, allocations: 11.92 kB / 0.6216 GB, free: 2.262 MB / 0.5137 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.001077/0.00549, allocations: 290.9 kB / 0.6219 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.539e-05/0.005585, allocations: 27.95 kB / 0.6219 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.647e-05/0.005632, allocations: 11.94 kB / 0.6219 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.722e-05/0.005679, allocations: 16.59 kB / 0.6219 GB, free: 1.93 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.776e-05/0.005727, allocations: 16.58 kB / 0.6219 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.005744, allocations: 4 kB / 0.6219 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008071/0.006552, allocations: 449.3 kB / 0.6224 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of combineBinaries: time 7.135e-05/0.006623, allocations: 47.48 kB / 0.6224 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of replaceArrayConstructors: time 2.701e-05/0.00665, allocations: 27.62 kB / 0.6224 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.084e-05/0.006661, allocations: 0 / 0.6224 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.099e-05/0.006672, allocations: 5.391 kB / 0.6224 GB, free: 1.395 MB / 0.5137 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.000498/0.00717, allocations: 284.5 kB / 0.6227 GB, free: 1 MB / 0.5137 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001214/0.007291, allocations: 45.42 kB / 0.6228 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of [SIM] Early Inline: time 9.907e-05/0.00739, allocations: 64.39 kB / 0.6228 GB, free: 0.8555 MB / 0.5137 GB Notification: Performance of [SIM] Simplify 1: time 7.222e-05/0.007462, allocations: 64.67 kB / 0.6229 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of [SIM] Alias: time 0.0003335/0.007796, allocations: 114.4 kB / 0.623 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of [SIM] Simplify 2: time 6.555e-05/0.007862, allocations: 64.73 kB / 0.623 GB, free: 480 kB / 0.5137 GB Notification: Performance of [SIM] Remove Stream: time 4.082e-05/0.007902, allocations: 41.8 kB / 0.6231 GB, free: 412 kB / 0.5137 GB Notification: Performance of [SIM] Detect States: time 0.0001212/0.008024, allocations: 101 kB / 0.6232 GB, free: 244 kB / 0.5137 GB Notification: Performance of [SIM] Events: time 1.475e-05/0.008038, allocations: 7.938 kB / 0.6232 GB, free: 236 kB / 0.5137 GB Notification: Performance of [SIM] Partitioning: time 0.0001041/0.008142, allocations: 58.05 kB / 0.6232 GB, free: 144 kB / 0.5137 GB Notification: Performance of [SIM] Causalize: time 6.406e-05/0.008206, allocations: 20.11 kB / 0.6233 GB, free: 116 kB / 0.5137 GB Notification: Performance of [SIM] After Index Reduction Inline: time 3.124e-05/0.008238, allocations: 25.27 kB / 0.6233 GB, free: 92 kB / 0.5137 GB Notification: Performance of [INI] Simplify: time 0.0001561/0.008394, allocations: 105 kB / 0.6234 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of [INI] Inline: time 4.24e-05/0.008436, allocations: 32.02 kB / 0.6234 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of [INI] Partitioning: time 1.555e-05/0.008452, allocations: 16.62 kB / 0.6234 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of [INI] Cleanup: time 1.444e-05/0.008466, allocations: 5.469 kB / 0.6234 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of [INI] Causalize: time 0.0002143/0.00868, allocations: 108 kB / 0.6235 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of [INI] Tearing: time 1.191e-05/0.008692, allocations: 4 kB / 0.6235 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of [SIM] Initialization: time 6.51e-07/0.008693, allocations: 2.062 kB / 0.6235 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of [SIM] Remove Dummies: time 3.867e-06/0.008697, allocations: 0 / 0.6235 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of [SIM] Tearing: time 9.42e-07/0.008698, allocations: 0 / 0.6235 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of [SIM] Categorize: time 6.251e-06/0.008704, allocations: 0 / 0.6235 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of [SIM] Solve: time 5.114e-05/0.008755, allocations: 16.52 kB / 0.6236 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of [SIM] Jacobian: time 8.616e-06/0.008764, allocations: 4.469 kB / 0.6236 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of [SIM] Minimize Homotopy System: time 1.162e-06/0.008765, allocations: 6.438 kB / 0.6236 GB, free: 15.71 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.494e-05/0.0088, allocations: 15.72 kB / 0.6236 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of SimCode: time 0.00159/0.01039, allocations: 0.7466 MB / 0.6243 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of Templates: time 0.006104/0.01649, allocations: 2.187 MB / 0.6265 GB, free: 12.85 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Clustering.Validation.KMeans_1d.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Clustering.Validation.KMeans_1d.pipe ; mkfifo IDEAS_IDEAS.Utilities.Clustering.Validation.KMeans_1d.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Clustering.Validation.KMeans_1d.pipe >> ../files/IDEAS_IDEAS.Utilities.Clustering.Validation.KMeans_1d.sim & ./IDEAS_IDEAS.Utilities.Clustering.Validation.KMeans_1d -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Clustering.Validation.KMeans_1d.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.466357819736004] Failed to read output from testmodel.py, exit status != 0: 0.024870939552783966 0.039163477 0.029478892000000003 Calling exit ...