Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009573/0.0009573, allocations: 84.23 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.0009609/0.0009609, 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.9499/0.9499, allocations: 177.1 MB / 203.7 MB, free: 5.711 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.7193/0.7193, allocations: 154.6 MB / 414.7 MB, free: 0.8203 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_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_1d") translateModel(IDEAS.Utilities.Clustering.Validation.KMeans_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_1d") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.205e-05, allocations: 5.594 kB / 0.6195 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Clustering.Validation.KMeans_1d): time 0.001489/0.001511, allocations: 0.5279 MB / 0.62 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002053/0.003564, allocations: 1.614 MB / 0.6216 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.299e-05/0.003617, allocations: 0 / 0.6216 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.000212/0.003829, allocations: 19.97 kB / 0.6216 GB, free: 11 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.51e-05/0.003854, allocations: 11.92 kB / 0.6216 GB, free: 10.98 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.0008371/0.004691, allocations: 279 kB / 0.6219 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.0048, allocations: 31.91 kB / 0.6219 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.544e-05/0.004856, allocations: 3.984 kB / 0.6219 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.931e-05/0.004905, allocations: 15.92 kB / 0.6219 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.3e-05/0.004948, allocations: 11.98 kB / 0.6219 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.004966, allocations: 0 / 0.6219 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004869/0.005453, allocations: 451 kB / 0.6224 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of combineBinaries: time 5.953e-05/0.005512, allocations: 47.42 kB / 0.6224 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of replaceArrayConstructors: time 2.274e-05/0.005535, allocations: 35.7 kB / 0.6224 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.401e-05/0.005549, allocations: 4 kB / 0.6225 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.668e-06/0.005558, allocations: 0 / 0.6225 GB, free: 10.12 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.0004105/0.005969, allocations: 276.9 kB / 0.6227 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001142/0.006083, allocations: 48.03 kB / 0.6228 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of [SIM] Early Inline: time 7e-05/0.006153, allocations: 76.33 kB / 0.6228 GB, free: 9.57 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 1: time 2.937e-05/0.006183, allocations: 36.42 kB / 0.6229 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of [SIM] Alias: time 0.0003228/0.006505, allocations: 116.8 kB / 0.623 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of [SIM] Simplify 2: time 2.465e-05/0.00653, allocations: 44.36 kB / 0.623 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of [SIM] Remove Stream: time 2.502e-05/0.006555, allocations: 32.44 kB / 0.6231 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of [SIM] Detect States: time 9.923e-05/0.006654, allocations: 104.9 kB / 0.6232 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of [SIM] Events: time 1.298e-05/0.006667, allocations: 0 / 0.6232 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of [SIM] Partitioning: time 9.756e-05/0.006765, allocations: 60.73 kB / 0.6232 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of [SIM] Causalize: time 8.29e-05/0.006848, allocations: 28.12 kB / 0.6232 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of [SIM] After Index Reduction Inline: time 2.005e-05/0.006868, allocations: 23.91 kB / 0.6233 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of [INI] Simplify: time 9.343e-05/0.006961, allocations: 76.73 kB / 0.6233 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of [INI] Inline: time 2.752e-05/0.006989, allocations: 47.91 kB / 0.6234 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of [INI] Partitioning: time 7.564e-06/0.006996, allocations: 8.125 kB / 0.6234 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of [INI] Cleanup: time 1.931e-05/0.007016, allocations: 11.98 kB / 0.6234 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of [INI] Causalize: time 0.0001786/0.007194, allocations: 112 kB / 0.6235 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of [INI] Tearing: time 1.294e-05/0.007207, allocations: 4.188 kB / 0.6235 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of [SIM] Initialization: time 2.444e-06/0.00721, allocations: 4 kB / 0.6235 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of [SIM] DAE-Mode: time 1.244e-05/0.007222, allocations: 8.125 kB / 0.6235 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of [SIM] Remove Dummies: time 4.939e-06/0.007227, allocations: 0 / 0.6235 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of [SIM] Tearing: time 7.21e-07/0.007228, allocations: 0 / 0.6235 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of [SIM] Categorize: time 1.2e-05/0.00724, allocations: 8 kB / 0.6235 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of [SIM] Solve: time 5.106e-05/0.007291, allocations: 8 kB / 0.6235 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of [SIM] Jacobian: time 9.207e-06/0.0073, allocations: 0 / 0.6235 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of [SIM] Minimize Homotopy System: time 5.01e-07/0.0073, allocations: 0 / 0.6235 GB, free: 8.527 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.262e-05/0.007343, allocations: 18.73 kB / 0.6236 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of SimCode: time 0.001393/0.008736, allocations: 0.7471 MB / 0.6243 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of Templates: time 0.004243/0.01298, allocations: 2.218 MB / 0.6264 GB, free: 5.566 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_1d.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_1d.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_1d.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_1d.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_1d.sim & ./IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_1d -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_1d.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.9380816658958793] Failed to read output from testmodel.py, exit status != 0: 0.018531876616179943 0.02775564 0.020443814 Calling exit ...