Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001148/0.001148, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001818/0.002966, allocations: 452 kB / 10.43 MB, free: 268 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.0008564/0.0008564, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008793/0.001736, allocations: 483.5 kB / 11.8 MB, free: 2.363 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 0.9467/0.9467, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09201/1.039, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6335/0.6335, allocations: 120.1 MB / 364.2 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07134/0.7048, allocations: 38.16 MB / 402.4 MB, free: 12.27 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d") translateModel(IBPSA.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 403.7 MB, free: 10.98 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.603e-05/1.733e-05, allocations: 6.25 kB / 403.7 MB, free: 10.97 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Clustering.Validation.KMeans_2d): time 0.001084/0.001102, allocations: 0.5675 MB / 404.3 MB, free: 10.4 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001802/0.002904, allocations: 1.672 MB / 405.9 MB, free: 8.711 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.257e-05/0.002936, allocations: 0 / 405.9 MB, free: 8.711 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001163/0.003053, allocations: 75.81 kB / 406 MB, free: 8.637 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 3.006e-05/0.003083, allocations: 35.95 kB / 406 MB, free: 8.602 MB / 394.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.0006269/0.003709, allocations: 250.9 kB / 406.3 MB, free: 8.355 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 7.478e-05/0.003784, allocations: 35.89 kB / 406.3 MB, free: 8.32 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.437e-05/0.003819, allocations: 4 kB / 406.3 MB, free: 8.316 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.341e-05/0.003882, allocations: 27.91 kB / 406.4 MB, free: 8.289 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.699e-05/0.003929, allocations: 39.95 kB / 406.4 MB, free: 8.25 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.003944, allocations: 0 / 406.4 MB, free: 8.25 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005539/0.004498, allocations: 463.1 kB / 406.9 MB, free: 7.797 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.145e-05/0.00455, allocations: 27.86 kB / 406.9 MB, free: 7.77 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.739e-05/0.004567, allocations: 11.94 kB / 406.9 MB, free: 7.758 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003224/0.00489, allocations: 299.2 kB / 407.2 MB, free: 7.465 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.939e-06/0.0049, allocations: 0 / 407.2 MB, free: 7.465 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.004901, allocations: 0 / 407.2 MB, free: 7.465 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.327e-06/0.00491, allocations: 0 / 407.2 MB, free: 7.465 MB / 394.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.0003724/0.005283, allocations: 375.6 kB / 407.5 MB, free: 7.074 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.005315, allocations: 8.031 kB / 407.6 MB, free: 7.066 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.79e-05/0.005343, allocations: 4.938 kB / 407.6 MB, free: 7.062 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.005466, allocations: 133.6 kB / 407.7 MB, free: 6.906 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.176e-06/0.005474, allocations: 4.375 kB / 407.7 MB, free: 6.902 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/0.005484, allocations: 384 / 407.7 MB, free: 6.902 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.94e-05/0.005553, allocations: 37.09 kB / 407.7 MB, free: 6.859 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.005559, allocations: 192 / 407.7 MB, free: 6.859 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-06/0.005565, allocations: 8.25 kB / 407.7 MB, free: 6.852 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.005572, allocations: 3.938 kB / 407.7 MB, free: 6.848 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.838e-06/0.005581, allocations: 8 kB / 407.8 MB, free: 6.84 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.945e-05/0.005661, allocations: 66.7 kB / 407.8 MB, free: 6.758 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.149e-05/0.005692, allocations: 22.59 kB / 407.8 MB, free: 6.727 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.193e-05/0.005704, allocations: 8.844 kB / 407.8 MB, free: 6.715 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.722e-05/0.005741, allocations: 8.062 kB / 407.9 MB, free: 6.707 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/0.005758, allocations: 30.56 kB / 407.9 MB, free: 6.668 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.005759, allocations: 0 / 407.9 MB, free: 6.668 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 8.082e-05/0.00584, allocations: 37.62 kB / 407.9 MB, free: 6.625 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.005866, allocations: 55.41 kB / 408 MB, free: 6.559 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.817e-05/0.005965, allocations: 186.5 kB / 408.2 MB, free: 6.363 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/0.005973, allocations: 25.7 kB / 408.2 MB, free: 6.332 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.381e-05/0.006007, allocations: 100 kB / 408.3 MB, free: 6.23 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.918e-06/0.006017, allocations: 0 / 408.3 MB, free: 6.23 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.913e-05/0.006046, allocations: 33.67 kB / 408.3 MB, free: 6.191 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.422e-05/0.00612, allocations: 326.8 kB / 408.6 MB, free: 5.863 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.942e-05/0.00614, allocations: 14.83 kB / 408.6 MB, free: 5.848 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.143e-05/0.006151, allocations: 11.94 kB / 408.7 MB, free: 5.836 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.025e-05/0.006191, allocations: 47.62 kB / 408.7 MB, free: 5.785 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.006193, allocations: 0 / 408.7 MB, free: 5.785 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 6.534e-05/0.006258, allocations: 73.62 kB / 408.8 MB, free: 5.707 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.006271, allocations: 8.062 kB / 408.8 MB, free: 5.699 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.006285, allocations: 0 / 408.8 MB, free: 5.699 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.006295, allocations: 0 / 408.8 MB, free: 5.699 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.402e-05/0.006309, allocations: 4 kB / 408.8 MB, free: 5.695 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.006312, allocations: 0 / 408.8 MB, free: 5.695 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.969e-05/0.006332, allocations: 7.891 kB / 408.8 MB, free: 5.688 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.006341, allocations: 8 kB / 408.8 MB, free: 5.68 MB / 394.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 7.139e-05/0.006413, allocations: 116.7 kB / 408.9 MB, free: 5.555 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.519e-06/0.006417, allocations: 0 / 408.9 MB, free: 5.555 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.835e-05/0.006516, allocations: 54.12 kB / 409 MB, free: 5.496 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.006517, allocations: 0 / 409 MB, free: 5.496 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.006519, allocations: 0 / 409 MB, free: 5.496 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.006523, allocations: 0 / 409 MB, free: 5.496 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.499e-05/0.006587, allocations: 81.81 kB / 409.1 MB, free: 5.398 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.006589, allocations: 3.938 kB / 409.1 MB, free: 5.395 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.412e-06/0.006595, allocations: 7.984 kB / 409.1 MB, free: 5.387 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.116e-05/0.006606, allocations: 15.89 kB / 409.1 MB, free: 5.371 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.006607, allocations: 0 / 409.1 MB, free: 5.371 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.006612, allocations: 4 kB / 409.1 MB, free: 5.367 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.006613, allocations: 0 / 409.1 MB, free: 5.367 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.006614, allocations: 4.031 kB / 409.1 MB, free: 5.363 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.865e-05/0.006663, allocations: 70.66 kB / 409.2 MB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.865e-06/0.006671, allocations: 0 / 409.2 MB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.033e-06/0.006678, allocations: 0 / 409.2 MB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.796e-06/0.006687, allocations: 0 / 409.2 MB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-06/0.006688, allocations: 0 / 409.2 MB, free: 5.273 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.615e-05/0.006724, allocations: 56.67 kB / 409.2 MB, free: 5.215 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006724, allocations: 0 / 409.2 MB, free: 5.215 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001942/0.006919, allocations: 83.8 kB / 409.3 MB, free: 5.133 MB / 394.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.0004409/0.007359, allocations: 271.5 kB / 409.6 MB, free: 4.859 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001044/0.007464, allocations: 62.52 kB / 409.6 MB, free: 4.789 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.00747, allocations: 4 kB / 409.6 MB, free: 4.785 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.577e-06/0.007479, allocations: 12.8 kB / 409.6 MB, free: 4.77 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.506e-05/0.007554, allocations: 20.06 kB / 409.7 MB, free: 4.75 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002103/0.007764, allocations: 186.9 kB / 409.8 MB, free: 4.539 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.308e-05/0.007797, allocations: 67.2 kB / 409.9 MB, free: 4.453 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.873e-05/0.007816, allocations: 7.984 kB / 409.9 MB, free: 4.445 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.96e-05/0.007846, allocations: 55.31 kB / 410 MB, free: 4.391 MB / 394.7 MB Notification: Performance of SimCode: time 4.21e-07/0.007846, allocations: 0 / 410 MB, free: 4.391 MB / 394.7 MB Notification: Performance of Templates: time 0.00404/0.01189, allocations: 2.558 MB / 412.5 MB, free: 1.828 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d.sim & ./IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1167399790138006]