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.001273/0.001273, allocations: 74.72 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.001386/0.001386, allocations: 169.5 kB / 23.23 MB, free: 4.191 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.288/1.288, allocations: 177.2 MB / 203.6 MB, free: 8.211 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.156/1.156, allocations: 154.7 MB / 414.7 MB, free: 6.523 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_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.906e-05/1.906e-05, allocations: 4.25 kB / 0.6195 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Clustering.Validation.KMeans_2d): time 0.001551/0.00157, allocations: 0.5039 MB / 0.62 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002592/0.004162, allocations: 1.623 MB / 0.6216 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.268e-05/0.004194, allocations: 5.656 kB / 0.6216 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002017/0.004396, allocations: 59.84 kB / 0.6216 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.076e-05/0.004437, allocations: 31.89 kB / 0.6216 GB, free: 2.23 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.005514, allocations: 285.9 kB / 0.6219 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.005635, allocations: 38.98 kB / 0.622 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.162e-05/0.005676, allocations: 4 kB / 0.622 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.505e-05/0.005731, allocations: 23.91 kB / 0.622 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.394e-05/0.005805, allocations: 39.88 kB / 0.622 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.005821, allocations: 0 / 0.622 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007787/0.0066, allocations: 445.1 kB / 0.6224 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of combineBinaries: time 7.984e-05/0.006679, allocations: 55.47 kB / 0.6225 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of replaceArrayConstructors: time 2.955e-05/0.006709, allocations: 31.61 kB / 0.6225 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.093e-05/0.00672, allocations: 1.312 kB / 0.6225 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of FrontEnd: time 7.273e-06/0.006727, allocations: 0 / 0.6225 GB, free: 1.332 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.0004934/0.007221, allocations: 287.2 kB / 0.6228 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001098/0.00733, allocations: 35.98 kB / 0.6228 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of [SIM] Early Inline: time 8.889e-05/0.007419, allocations: 65.12 kB / 0.6229 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of [SIM] Simplify 1: time 8.222e-05/0.007502, allocations: 68.67 kB / 0.623 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of [SIM] Alias: time 0.000326/0.007828, allocations: 122.2 kB / 0.6231 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of [SIM] Simplify 2: time 6.567e-05/0.007893, allocations: 68.72 kB / 0.6231 GB, free: 404 kB / 0.5137 GB Notification: Performance of [SIM] Remove Stream: time 3.545e-05/0.007929, allocations: 33.78 kB / 0.6232 GB, free: 344 kB / 0.5137 GB Notification: Performance of [SIM] Detect States: time 0.0001326/0.008061, allocations: 96.98 kB / 0.6233 GB, free: 180 kB / 0.5137 GB Notification: Performance of [SIM] Events: time 1.867e-05/0.00808, allocations: 8.766 kB / 0.6233 GB, free: 172 kB / 0.5137 GB Notification: Performance of [SIM] Partitioning: time 0.00011/0.00819, allocations: 52.56 kB / 0.6233 GB, free: 84 kB / 0.5137 GB Notification: Performance of [SIM] Causalize: time 6.32e-05/0.008253, allocations: 25.3 kB / 0.6234 GB, free: 52 kB / 0.5137 GB Notification: Performance of [SIM] After Index Reduction Inline: time 3.198e-05/0.008285, allocations: 23.92 kB / 0.6234 GB, free: 28 kB / 0.5137 GB Notification: Performance of [INI] Simplify: time 0.000161/0.008446, allocations: 109.6 kB / 0.6235 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of [INI] Inline: time 4.286e-05/0.008489, allocations: 33.42 kB / 0.6235 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of [INI] Partitioning: time 1.086e-05/0.0085, allocations: 8.125 kB / 0.6235 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of [INI] Cleanup: time 2.154e-05/0.008521, allocations: 11.98 kB / 0.6235 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of [INI] Causalize: time 0.0002362/0.008758, allocations: 127.8 kB / 0.6237 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of [INI] Tearing: time 9.057e-06/0.008767, allocations: 3.938 kB / 0.6237 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of [SIM] Initialization: time 2.765e-06/0.008769, allocations: 4 kB / 0.6237 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of [SIM] Remove Dummies: time 3.757e-06/0.008773, allocations: 0.9375 kB / 0.6237 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of [SIM] Tearing: time 1.502e-06/0.008775, allocations: 0.625 kB / 0.6237 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of [SIM] Categorize: time 6.232e-06/0.008781, allocations: 0 / 0.6237 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of [SIM] Solve: time 4.533e-05/0.008826, allocations: 10.42 kB / 0.6237 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of [SIM] Jacobian: time 1.155e-05/0.008838, allocations: 7.938 kB / 0.6237 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of [SIM] Minimize Homotopy System: time 3.41e-07/0.008838, allocations: 0 / 0.6237 GB, free: 15.64 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 4.035e-05/0.008878, allocations: 25.45 kB / 0.6237 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of SimCode: time 0.001618/0.0105, allocations: 0.8147 MB / 0.6245 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of Templates: time 0.00619/0.01669, allocations: 2.193 MB / 0.6266 GB, free: 12.7 MB / 0.5294 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: 5.34015479683876] Failed to read output from testmodel.py, exit status != 0: 0.024755850434303284 0.039013726000000006 0.029043045000000003 Calling exit ...