Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.000661/0.000661, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008998/0.001561, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.000678/0.000678, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008369/0.001515, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.014/1.014, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08753/1.102, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7961/0.7961, allocations: 155.3 MB / 399.2 MB, free: 15.93 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2923/1.088, allocations: 49.13 MB / 448.4 MB, free: 6.027 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_2d") translateModel(IDEAS.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_2d") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 3.938 kB / 449.6 MB, free: 4.785 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.208e-05/2.401e-05, allocations: 4.281 kB / 449.6 MB, free: 4.781 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Clustering.Validation.KMeans_2d): time 0.001893/0.001917, allocations: 0.567 MB / 450.2 MB, free: 4.246 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002211/0.004128, allocations: 1.673 MB / 451.9 MB, free: 2.566 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.073e-05/0.004168, allocations: 0 / 451.9 MB, free: 2.566 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000154/0.004322, allocations: 74.3 kB / 452 MB, free: 2.496 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.328e-05/0.004366, allocations: 37.5 kB / 452 MB, free: 2.461 MB / 426.7 MB [/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.00083/0.005196, allocations: 252.4 kB / 452.2 MB, free: 2.219 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 9.298e-05/0.005289, allocations: 32.55 kB / 452.3 MB, free: 2.191 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.687e-05/0.005326, allocations: 4 kB / 452.3 MB, free: 2.188 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.064e-05/0.005396, allocations: 30.66 kB / 452.3 MB, free: 2.16 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.158e-05/0.005458, allocations: 34.42 kB / 452.3 MB, free: 2.129 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.005471, allocations: 4 kB / 452.3 MB, free: 2.125 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007802/0.006251, allocations: 460.9 kB / 452.8 MB, free: 1.676 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.3e-05/0.006314, allocations: 25.47 kB / 452.8 MB, free: 1.656 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.13e-05/0.006336, allocations: 9.688 kB / 452.8 MB, free: 1.648 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004403/0.006776, allocations: 299.7 kB / 453.1 MB, free: 1.355 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.401e-05/0.00679, allocations: 0.7188 kB / 453.1 MB, free: 1.355 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.006791, allocations: 4 kB / 453.1 MB, free: 1.352 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.934e-05/0.006811, allocations: 1 kB / 453.1 MB, free: 1.352 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004623/0.007273, allocations: 373.4 kB / 453.5 MB, free: 0.9688 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.007307, allocations: 12.03 kB / 453.5 MB, free: 0.957 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.007336, allocations: 2.906 kB / 453.5 MB, free: 0.957 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.007479, allocations: 143.3 kB / 453.7 MB, free: 0.793 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.195e-06/0.007488, allocations: 384 / 453.7 MB, free: 0.793 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.745e-06/0.007495, allocations: 384 / 453.7 MB, free: 0.793 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.065e-05/0.007566, allocations: 29.09 kB / 453.7 MB, free: 0.7578 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.007573, allocations: 1.5 kB / 453.7 MB, free: 0.7578 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.54e-06/0.007578, allocations: 4.375 kB / 453.7 MB, free: 0.7539 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.007585, allocations: 3.938 kB / 453.7 MB, free: 0.75 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.289e-05/0.007598, allocations: 4.594 kB / 453.7 MB, free: 0.7461 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001059/0.007704, allocations: 78.64 kB / 453.8 MB, free: 0.6523 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.507e-05/0.007739, allocations: 15.8 kB / 453.8 MB, free: 0.6289 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.377e-05/0.007753, allocations: 8.953 kB / 453.8 MB, free: 0.6172 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.645e-05/0.007799, allocations: 5.062 kB / 453.8 MB, free: 0.6133 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.007823, allocations: 34.56 kB / 453.8 MB, free: 0.5703 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 2.385e-06/0.007826, allocations: 0.9375 kB / 453.8 MB, free: 0.5703 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 9.424e-05/0.00792, allocations: 42.78 kB / 453.9 MB, free: 0.5234 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.007953, allocations: 51.41 kB / 453.9 MB, free: 472 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.008089, allocations: 182.2 kB / 454.1 MB, free: 280 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.008102, allocations: 29.7 kB / 454.1 MB, free: 244 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.22e-05/0.008144, allocations: 97.59 kB / 454.2 MB, free: 144 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.303e-05/0.008157, allocations: 7.953 kB / 454.2 MB, free: 136 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.926e-05/0.008196, allocations: 29.67 kB / 454.3 MB, free: 100 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.008305, allocations: 326.8 kB / 454.6 MB, free: 15.77 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.204e-05/0.008327, allocations: 16.33 kB / 454.6 MB, free: 15.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.762e-05/0.008345, allocations: 13.95 kB / 454.6 MB, free: 15.74 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.007e-05/0.008395, allocations: 42.84 kB / 454.7 MB, free: 15.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.008397, allocations: 0 / 454.7 MB, free: 15.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 9.106e-05/0.008489, allocations: 72.42 kB / 454.7 MB, free: 15.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.008502, allocations: 8 kB / 454.7 MB, free: 15.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.008515, allocations: 1.094 kB / 454.7 MB, free: 15.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/0.008523, allocations: 0 / 454.7 MB, free: 15.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.902e-05/0.008542, allocations: 3.984 kB / 454.7 MB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.008545, allocations: 0.625 kB / 454.7 MB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.383e-05/0.008579, allocations: 22.08 kB / 454.8 MB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.008587, allocations: 0 / 454.8 MB, free: 15.59 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (labels[1],labels[2],labels[3],labels[4],labels[5],labels[6],cluster_size[1],cluster_size[2],cluster_size[3],cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.18e-05/0.008668, allocations: 112.7 kB / 454.9 MB, free: 15.47 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/0.008679, allocations: 4 kB / 454.9 MB, free: 15.47 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.906e-05/0.008769, allocations: 48.75 kB / 454.9 MB, free: 15.42 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.008772, allocations: 4 kB / 454.9 MB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.008774, allocations: 0 / 454.9 MB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.008776, allocations: 0 / 454.9 MB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.699e-05/0.008853, allocations: 86.55 kB / 455 MB, free: 15.31 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.008855, allocations: 0 / 455 MB, free: 15.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.609e-06/0.008859, allocations: 1.219 kB / 455 MB, free: 15.31 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.585e-05/0.008875, allocations: 19.83 kB / 455 MB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.008876, allocations: 0 / 455 MB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-06/0.008879, allocations: 0 / 455 MB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.008881, allocations: 0.75 kB / 455 MB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.008882, allocations: 0 / 455 MB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.664e-05/0.008938, allocations: 67.91 kB / 455.1 MB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.00895, allocations: 4 kB / 455.1 MB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.24e-05/0.008962, allocations: 0.625 kB / 455.1 MB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.165e-05/0.008974, allocations: 1.219 kB / 455.1 MB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.008976, allocations: 4.5 kB / 455.1 MB, free: 15.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 5.196e-05/0.009028, allocations: 58.03 kB / 455.2 MB, free: 15.14 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009028, allocations: 0 / 455.2 MB, free: 15.14 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00029/0.009318, allocations: 92.42 kB / 455.3 MB, free: 15.05 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005642/0.009882, allocations: 268.4 kB / 455.5 MB, free: 14.83 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000115/0.009997, allocations: 74.23 kB / 455.6 MB, free: 14.75 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.01, allocations: 0 / 455.6 MB, free: 14.75 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.155e-06/0.01001, allocations: 9.859 kB / 455.6 MB, free: 14.74 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.692e-05/0.01009, allocations: 11.94 kB / 455.6 MB, free: 14.73 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002599/0.01035, allocations: 185.9 kB / 455.8 MB, free: 14.52 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.016e-05/0.01039, allocations: 63.34 kB / 455.9 MB, free: 14.44 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.196e-05/0.01041, allocations: 9.109 kB / 455.9 MB, free: 14.43 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/0.01045, allocations: 59.3 kB / 455.9 MB, free: 14.38 MB / 442.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01045, allocations: 0 / 455.9 MB, free: 14.38 MB / 442.7 MB Notification: Performance of Templates: time 0.005418/0.01586, allocations: 2.604 MB / 458.5 MB, free: 11.97 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_2d.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_2d.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_2d.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_2d.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_2d.sim & ./IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_2d -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Clustering.Validation.KMeans_2d.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.607023282907903]