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.0007695/0.0007695, 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.000838/0.000838, allocations: 174.3 kB / 23.36 MB, free: 1.156 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.8427/0.8427, allocations: 177.1 MB / 203.7 MB, free: 5.688 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.672/0.672, allocations: 154.6 MB / 414.7 MB, free: 0.7539 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_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 1.108e-05/1.108e-05, allocations: 8 kB / 0.6195 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Clustering.Validation.KMeans_1d): time 0.001006/0.001017, allocations: 0.5129 MB / 0.62 GB, free: 12.56 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001725/0.002742, allocations: 1.622 MB / 0.6216 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.711e-05/0.002779, allocations: 3.938 kB / 0.6216 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.002921, allocations: 19.97 kB / 0.6217 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.037e-05/0.002941, allocations: 11.92 kB / 0.6217 GB, free: 10.88 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.0006532/0.003595, allocations: 279 kB / 0.6219 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.381e-05/0.003669, allocations: 27.91 kB / 0.622 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.963e-05/0.003708, allocations: 0 / 0.622 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.57e-05/0.003754, allocations: 19.91 kB / 0.622 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.665e-05/0.00379, allocations: 19.97 kB / 0.622 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.003803, allocations: 0 / 0.622 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000395/0.004198, allocations: 447.1 kB / 0.6224 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of combineBinaries: time 4.629e-05/0.004244, allocations: 55.47 kB / 0.6225 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of replaceArrayConstructors: time 1.659e-05/0.004261, allocations: 27.66 kB / 0.6225 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 9.769e-06/0.00427, allocations: 0 / 0.6225 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.662e-06/0.004277, allocations: 0 / 0.6225 GB, free: 10.02 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.0003209/0.004598, allocations: 296.9 kB / 0.6228 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of [SIM] FunctionAlias: time 7.976e-05/0.004678, allocations: 36.08 kB / 0.6228 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of [SIM] Early Inline: time 6.429e-05/0.004742, allocations: 72.28 kB / 0.6229 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 1: time 2.221e-05/0.004764, allocations: 32.44 kB / 0.6229 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of [SIM] Alias: time 0.000259/0.005023, allocations: 128.8 kB / 0.623 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 2: time 1.689e-05/0.00504, allocations: 40.61 kB / 0.6231 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of [SIM] Remove Stream: time 1.77e-05/0.005058, allocations: 40.31 kB / 0.6231 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of [SIM] Detect States: time 6.926e-05/0.005127, allocations: 105 kB / 0.6232 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of [SIM] Events: time 8.917e-06/0.005136, allocations: 0 / 0.6232 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of [SIM] Partitioning: time 7.002e-05/0.005206, allocations: 56.56 kB / 0.6233 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of [SIM] Causalize: time 4.154e-05/0.005248, allocations: 20.11 kB / 0.6233 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of [SIM] After Index Reduction Inline: time 1.848e-05/0.005266, allocations: 23.98 kB / 0.6233 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of [INI] Simplify: time 7.03e-05/0.005336, allocations: 92.64 kB / 0.6234 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of [INI] Inline: time 1.678e-05/0.005353, allocations: 32.23 kB / 0.6234 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of [INI] Partitioning: time 5.179e-06/0.005358, allocations: 8.125 kB / 0.6234 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of [INI] Cleanup: time 1.101e-05/0.005369, allocations: 7.984 kB / 0.6235 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of [INI] Causalize: time 0.0001319/0.005501, allocations: 119 kB / 0.6236 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of [INI] Tearing: time 8.326e-06/0.00551, allocations: 0 / 0.6236 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of [SIM] Initialization: time 4.31e-07/0.00551, allocations: 0 / 0.6236 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of [SIM] DAE-Mode: time 1.306e-05/0.005523, allocations: 12.12 kB / 0.6236 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of [SIM] Remove Dummies: time 3.367e-06/0.005527, allocations: 0 / 0.6236 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of [SIM] Tearing: time 2.625e-06/0.005529, allocations: 12 kB / 0.6236 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of [SIM] Categorize: time 6.282e-06/0.005535, allocations: 0 / 0.6236 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of [SIM] Solve: time 3.683e-05/0.005572, allocations: 7.984 kB / 0.6236 GB, free: 8.426 MB / 0.5886 GB Notification: Performance of [SIM] Jacobian: time 6.432e-06/0.005579, allocations: 3.938 kB / 0.6236 GB, free: 8.422 MB / 0.5886 GB Notification: Performance of [SIM] Minimize Homotopy System: time 4.91e-07/0.005579, allocations: 0 / 0.6236 GB, free: 8.422 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 2.754e-05/0.005607, allocations: 17.83 kB / 0.6236 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of SimCode: time 0.000867/0.006474, allocations: 0.7303 MB / 0.6243 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of Templates: time 0.003478/0.009952, allocations: 2.224 MB / 0.6265 GB, free: 5.473 MB / 0.5886 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: 3.4395951675251126] Failed to read output from testmodel.py, exit status != 0: 0.01403205655515194 0.021441460000000002 0.015237305000000001 Calling exit ...