Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.0007513/0.0007513, allocations: 81.05 kB / 10.01 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001052/0.001804, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007323/0.0007323, allocations: 164.8 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009469/0.001679, allocations: 479.5 kB / 11.83 MB, free: 2.34 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.9752/0.9752, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07848/1.054, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.5714/0.5714, allocations: 110.3 MB / 354.4 MB, free: 12.28 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.06637/0.6377, allocations: 34.96 MB / 389.4 MB, free: 9.242 MB / 378.7 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d") translateModel(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 3.938 kB / 390.7 MB, free: 7.941 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/1.997e-05, allocations: 2.312 kB / 390.7 MB, free: 7.938 MB / 378.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d): time 0.001388/0.001408, allocations: 0.5753 MB / 391.3 MB, free: 7.363 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001872/0.00328, allocations: 1.66 MB / 393 MB, free: 5.684 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.184e-05/0.003312, allocations: 0 / 393 MB, free: 5.684 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001352/0.003447, allocations: 79.75 kB / 393 MB, free: 5.605 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 3.68e-05/0.003484, allocations: 31.95 kB / 393.1 MB, free: 5.574 MB / 378.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.0006344/0.004119, allocations: 239 kB / 393.3 MB, free: 5.34 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 7.431e-05/0.004193, allocations: 35.89 kB / 393.3 MB, free: 5.305 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.411e-05/0.004227, allocations: 7.938 kB / 393.3 MB, free: 5.297 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.97e-05/0.004287, allocations: 23.97 kB / 393.4 MB, free: 5.273 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.569e-05/0.004332, allocations: 27.97 kB / 393.4 MB, free: 5.246 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.004345, allocations: 7.938 kB / 393.4 MB, free: 5.238 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/IBPSA/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: 'inertia' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. Notification: Performance of NFFlatten.collectFunctions: time 0.0005458/0.00489, allocations: 439.2 kB / 393.8 MB, free: 4.809 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.808e-05/0.004938, allocations: 27.92 kB / 393.9 MB, free: 4.781 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.434e-05/0.004953, allocations: 7.938 kB / 393.9 MB, free: 4.773 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.005247, allocations: 291.2 kB / 394.1 MB, free: 4.488 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.005256, allocations: 4 kB / 394.1 MB, free: 4.484 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.005256, allocations: 0 / 394.1 MB, free: 4.484 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.086e-06/0.005265, allocations: 0 / 394.1 MB, free: 4.484 MB / 378.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.0003444/0.005609, allocations: 371.5 kB / 394.5 MB, free: 4.098 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/0.005638, allocations: 8.031 kB / 394.5 MB, free: 4.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.447e-05/0.005662, allocations: 12.92 kB / 394.5 MB, free: 4.078 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.005765, allocations: 133.5 kB / 394.7 MB, free: 3.922 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.911e-06/0.005771, allocations: 384 / 394.7 MB, free: 3.922 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.246e-06/0.005779, allocations: 384 / 394.7 MB, free: 3.922 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.916e-05/0.005838, allocations: 41.06 kB / 394.7 MB, free: 3.875 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.548e-06/0.005843, allocations: 192 / 394.7 MB, free: 3.875 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.14e-06/0.005848, allocations: 384 / 394.7 MB, free: 3.875 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.005853, allocations: 3.938 kB / 394.7 MB, free: 3.871 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.615e-06/0.00586, allocations: 3.938 kB / 394.7 MB, free: 3.867 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.212e-05/0.005942, allocations: 74.66 kB / 394.8 MB, free: 3.777 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.246e-05/0.005975, allocations: 26.61 kB / 394.8 MB, free: 3.742 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.268e-05/0.005988, allocations: 8.859 kB / 394.8 MB, free: 3.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.813e-05/0.006026, allocations: 8.047 kB / 394.8 MB, free: 3.723 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/0.0062, allocations: 42.48 kB / 394.9 MB, free: 3.672 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 6.01e-07/0.006201, allocations: 0 / 394.9 MB, free: 3.672 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 8.689e-05/0.006288, allocations: 33.64 kB / 394.9 MB, free: 3.633 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.006316, allocations: 55.41 kB / 395 MB, free: 3.566 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.00642, allocations: 182.4 kB / 395.1 MB, free: 3.375 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.006429, allocations: 25.7 kB / 395.2 MB, free: 3.344 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.549e-05/0.006464, allocations: 100.2 kB / 395.3 MB, free: 3.242 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.155e-05/0.006476, allocations: 4 kB / 395.3 MB, free: 3.238 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.006509, allocations: 29.69 kB / 395.3 MB, free: 3.203 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.853e-05/0.006588, allocations: 330.7 kB / 395.6 MB, free: 2.871 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.991e-05/0.006608, allocations: 14.83 kB / 395.6 MB, free: 2.855 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.165e-05/0.006619, allocations: 8 kB / 395.6 MB, free: 2.848 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.957e-05/0.006659, allocations: 35.77 kB / 395.7 MB, free: 2.809 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.006663, allocations: 3.984 kB / 395.7 MB, free: 2.805 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 7.187e-05/0.006735, allocations: 73.58 kB / 395.7 MB, free: 2.727 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.006749, allocations: 7.984 kB / 395.8 MB, free: 2.719 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.006763, allocations: 0 / 395.8 MB, free: 2.719 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.006773, allocations: 4.062 kB / 395.8 MB, free: 2.715 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.529e-05/0.006788, allocations: 4 kB / 395.8 MB, free: 2.711 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.476e-06/0.006792, allocations: 3.984 kB / 395.8 MB, free: 2.707 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.313e-05/0.006815, allocations: 15.78 kB / 395.8 MB, free: 2.691 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.006822, allocations: 0 / 395.8 MB, free: 2.691 MB / 378.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.422e-05/0.006896, allocations: 120.7 kB / 395.9 MB, free: 2.562 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.524e-06/0.006904, allocations: 3.984 kB / 395.9 MB, free: 2.559 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.959e-05/0.006983, allocations: 50.12 kB / 396 MB, free: 2.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.006985, allocations: 0 / 396 MB, free: 2.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.006987, allocations: 4.031 kB / 396 MB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.00699, allocations: 0 / 396 MB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.099e-05/0.007061, allocations: 85.8 kB / 396 MB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.007062, allocations: 0 / 396 MB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.866e-06/0.007065, allocations: 0 / 396 MB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.516e-06/0.007073, allocations: 7.953 kB / 396 MB, free: 2.387 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.007075, allocations: 0 / 396 MB, free: 2.387 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.226e-06/0.007078, allocations: 0 / 396 MB, free: 2.387 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.007079, allocations: 4 kB / 396 MB, free: 2.383 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.4e-07/0.007079, allocations: 0 / 396 MB, free: 2.383 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.691e-05/0.007126, allocations: 70.72 kB / 396.1 MB, free: 2.293 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.396e-06/0.007134, allocations: 0 / 396.1 MB, free: 2.293 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.247e-06/0.007144, allocations: 4 kB / 396.1 MB, free: 2.289 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.176e-05/0.007155, allocations: 7.922 kB / 396.1 MB, free: 2.281 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.007158, allocations: 0 / 396.1 MB, free: 2.281 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.719e-05/0.007195, allocations: 45.98 kB / 396.2 MB, free: 2.234 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007195, allocations: 0 / 396.2 MB, free: 2.234 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002536/0.007448, allocations: 91.8 kB / 396.3 MB, free: 2.145 MB / 378.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.0004097/0.007858, allocations: 273.9 kB / 396.5 MB, free: 1.875 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.489e-05/0.007943, allocations: 66.53 kB / 396.6 MB, free: 1.801 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.007948, allocations: 0 / 396.6 MB, free: 1.801 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.614e-06/0.007956, allocations: 8.859 kB / 396.6 MB, free: 1.789 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.352e-05/0.008029, allocations: 19.67 kB / 396.6 MB, free: 1.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002081/0.008237, allocations: 202.8 kB / 396.8 MB, free: 1.543 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.846e-05/0.008266, allocations: 67.33 kB / 396.9 MB, free: 1.457 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.35e-05/0.008279, allocations: 0 / 396.9 MB, free: 1.457 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.74e-05/0.008306, allocations: 51.38 kB / 396.9 MB, free: 1.406 MB / 378.7 MB Notification: Performance of SimCode: time 3.81e-07/0.008307, allocations: 0 / 396.9 MB, free: 1.406 MB / 378.7 MB Notification: Performance of Templates: time 0.004067/0.01237, allocations: 2.5 MB / 399.4 MB, free: 14.9 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.090827622450888]