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.0009301/0.0009301, allocations: 72.95 kB / 20.72 MB, free: 3.766 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.0009739/0.0009739, allocations: 169 kB / 24.14 MB, free: 352 kB / 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.9623/0.9623, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5751/0.5751, allocations: 115 MB / 376 MB, free: 7.484 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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.723e-06/1.723e-06, allocations: 0 / 428.7 MB, free: 2.84 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.337e-05/2.51e-05, allocations: 2.312 kB / 428.7 MB, free: 2.836 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Clustering.Validation.KMeans_2d): time 0.001326/0.001351, allocations: 0.5284 MB / 429.2 MB, free: 2.309 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001984/0.003336, allocations: 1.664 MB / 430.9 MB, free: 0.625 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.451e-05/0.00337, allocations: 4 kB / 430.9 MB, free: 0.6211 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001533/0.003523, allocations: 63.77 kB / 430.9 MB, free: 0.5586 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 2.938e-05/0.003553, allocations: 31.95 kB / 431 MB, free: 0.5273 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.0008366/0.004389, allocations: 282.9 kB / 431.2 MB, free: 256 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 7.323e-05/0.004463, allocations: 27.97 kB / 431.3 MB, free: 228 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.748e-05/0.00449, allocations: 7.922 kB / 431.3 MB, free: 220 kB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.206e-05/0.004532, allocations: 23.97 kB / 431.3 MB, free: 196 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.642e-05/0.004579, allocations: 35.95 kB / 431.3 MB, free: 160 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.00459, allocations: 4 kB / 431.3 MB, free: 156 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00061/0.0052, allocations: 462.9 kB / 431.8 MB, free: 15.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.099e-05/0.005251, allocations: 19.94 kB / 431.8 MB, free: 15.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.089e-05/0.005271, allocations: 15.92 kB / 431.8 MB, free: 15.66 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004298/0.005701, allocations: 355 kB / 432.2 MB, free: 15.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.005705, allocations: 4 kB / 432.2 MB, free: 15.31 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.005706, allocations: 0 / 432.2 MB, free: 15.31 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.556e-06/0.00571, allocations: 0 / 432.2 MB, free: 15.31 MB / 410.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.0003191/0.006029, allocations: 339.9 kB / 432.5 MB, free: 14.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.006059, allocations: 12.03 kB / 432.5 MB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.14e-05/0.006081, allocations: 4.938 kB / 432.5 MB, free: 14.94 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.848e-05/0.006179, allocations: 129.5 kB / 432.7 MB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.151e-06/0.006185, allocations: 384 / 432.7 MB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.627e-06/0.006194, allocations: 4.375 kB / 432.7 MB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.411e-05/0.006248, allocations: 33.08 kB / 432.7 MB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.739e-06/0.006253, allocations: 4.125 kB / 432.7 MB, free: 14.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.34e-06/0.006258, allocations: 384 / 432.7 MB, free: 14.74 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.006262, allocations: 3.938 kB / 432.7 MB, free: 14.74 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.447e-06/0.006272, allocations: 7.938 kB / 432.7 MB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.316e-05/0.006355, allocations: 82.66 kB / 432.8 MB, free: 14.63 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.946e-05/0.006385, allocations: 18.58 kB / 432.8 MB, free: 14.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.222e-05/0.006397, allocations: 8.953 kB / 432.8 MB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-05/0.00643, allocations: 15.89 kB / 432.8 MB, free: 14.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.6e-05/0.006446, allocations: 30.56 kB / 432.9 MB, free: 14.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.006447, allocations: 0 / 432.9 MB, free: 14.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 7.227e-05/0.00652, allocations: 41.62 kB / 432.9 MB, free: 14.49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.395e-05/0.006543, allocations: 51.41 kB / 432.9 MB, free: 14.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.006644, allocations: 178.5 kB / 433.1 MB, free: 14.24 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.006658, allocations: 29.7 kB / 433.2 MB, free: 14.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.125e-05/0.006689, allocations: 96.23 kB / 433.2 MB, free: 14.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.744e-06/0.006697, allocations: 7.953 kB / 433.3 MB, free: 14.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.08e-05/0.006728, allocations: 29.67 kB / 433.3 MB, free: 14.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.922e-05/0.006807, allocations: 326.8 kB / 433.6 MB, free: 13.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.845e-05/0.006825, allocations: 14.77 kB / 433.6 MB, free: 13.72 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.223e-05/0.006837, allocations: 12 kB / 433.6 MB, free: 13.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.019e-05/0.006878, allocations: 43.61 kB / 433.7 MB, free: 13.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.00688, allocations: 0 / 433.7 MB, free: 13.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 7.238e-05/0.006952, allocations: 73.56 kB / 433.7 MB, free: 13.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.006963, allocations: 4 kB / 433.7 MB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.006975, allocations: 8.062 kB / 433.8 MB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.885e-06/0.006983, allocations: 0 / 433.8 MB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.018e-05/0.006993, allocations: 0 / 433.8 MB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.994e-06/0.006995, allocations: 0 / 433.8 MB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.065e-05/0.007016, allocations: 11.89 kB / 433.8 MB, free: 13.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.007022, allocations: 0 / 433.8 MB, free: 13.56 MB / 410.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 6.81e-05/0.00709, allocations: 116.7 kB / 433.9 MB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.752e-06/0.007097, allocations: 4 kB / 433.9 MB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.235e-05/0.007169, allocations: 46.12 kB / 433.9 MB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.007173, allocations: 8.016 kB / 433.9 MB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.007174, allocations: 0 / 433.9 MB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.007177, allocations: 0 / 433.9 MB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.26e-05/0.007239, allocations: 89.73 kB / 434 MB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.00724, allocations: 0 / 434 MB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.007e-06/0.007244, allocations: 4 kB / 434 MB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.007245, allocations: 0 / 434 MB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.855e-06/0.007248, allocations: 0 / 434 MB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.007249, allocations: 0 / 434 MB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.00725, allocations: 0 / 434 MB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.623e-05/0.007296, allocations: 66.72 kB / 434.1 MB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.213e-05/0.007309, allocations: 19.94 kB / 434.1 MB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.266e-06/0.007317, allocations: 3.984 kB / 434.1 MB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.735e-06/0.007325, allocations: 0 / 434.1 MB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.101e-05/0.007336, allocations: 11.94 kB / 434.1 MB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.007337, allocations: 0 / 434.1 MB, free: 13.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.807e-05/0.007375, allocations: 49.72 kB / 434.2 MB, free: 13.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007376, allocations: 0 / 434.2 MB, free: 13.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000248/0.007624, allocations: 87.8 kB / 434.3 MB, free: 13 MB / 410.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.0004045/0.008028, allocations: 263 kB / 434.5 MB, free: 12.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.23e-05/0.00812, allocations: 62.55 kB / 434.6 MB, free: 12.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.008126, allocations: 4 kB / 434.6 MB, free: 12.67 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.759e-06/0.008131, allocations: 4.859 kB / 434.6 MB, free: 12.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.127e-05/0.008192, allocations: 11.92 kB / 434.6 MB, free: 12.65 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002048/0.008397, allocations: 191.1 kB / 434.8 MB, free: 12.44 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.16e-05/0.008428, allocations: 67.33 kB / 434.9 MB, free: 12.35 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.003e-05/0.008448, allocations: 11.86 kB / 434.9 MB, free: 12.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.912e-05/0.008477, allocations: 51.38 kB / 434.9 MB, free: 12.29 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.008478, allocations: 0 / 434.9 MB, free: 12.29 MB / 410.7 MB Notification: Performance of Templates: time 0.004551/0.01303, allocations: 2.588 MB / 437.5 MB, free: 9.699 MB / 410.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.4742790390737355]