Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.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.001006/0.001006, allocations: 80.92 kB / 20.75 MB, free: 3.738 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.0009502/0.0009502, allocations: 165 kB / 24.17 MB, free: 332 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 1.025/1.025, allocations: 177.1 MB / 204.6 MB, free: 5.5 MB / 186.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.5981/0.5981, allocations: 110.3 MB / 371.3 MB, free: 12.36 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. " [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_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d") translateModel(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 422.4 MB, free: 9.391 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.325e-05/2.508e-05, allocations: 2.312 kB / 422.4 MB, free: 9.387 MB / 394.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d): time 0.001324/0.001349, allocations: 0.5832 MB / 423 MB, free: 8.801 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.003211, allocations: 1.653 MB / 424.6 MB, free: 7.129 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.649e-05/0.003247, allocations: 0 / 424.6 MB, free: 7.129 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001477/0.003395, allocations: 23.91 kB / 424.6 MB, free: 7.105 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 2.195e-05/0.003417, allocations: 7.938 kB / 424.7 MB, free: 7.098 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.000611/0.004028, allocations: 243 kB / 424.9 MB, free: 6.859 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 6.236e-05/0.004091, allocations: 19.92 kB / 424.9 MB, free: 6.84 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.381e-05/0.004124, allocations: 11.97 kB / 424.9 MB, free: 6.828 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.453e-05/0.004169, allocations: 19.92 kB / 424.9 MB, free: 6.809 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.185e-05/0.004201, allocations: 11.98 kB / 425 MB, free: 6.797 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.004213, allocations: 0 / 425 MB, free: 6.797 MB / 394.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.0005185/0.004731, allocations: 447.1 kB / 425.4 MB, free: 6.359 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.069e-05/0.004772, allocations: 23.91 kB / 425.4 MB, free: 6.336 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.633e-05/0.004788, allocations: 7.938 kB / 425.4 MB, free: 6.328 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003015/0.00509, allocations: 339.1 kB / 425.8 MB, free: 5.996 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.005094, allocations: 4 kB / 425.8 MB, free: 5.992 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.005094, allocations: 0 / 425.8 MB, free: 5.992 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.005098, allocations: 4 kB / 425.8 MB, free: 5.988 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.0002603/0.005359, allocations: 312.1 kB / 426.1 MB, free: 5.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.005391, allocations: 12.03 kB / 426.1 MB, free: 5.648 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.722e-05/0.005418, allocations: 0.9375 kB / 426.1 MB, free: 5.648 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.005532, allocations: 125.7 kB / 426.2 MB, free: 5.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.873e-06/0.005539, allocations: 384 / 426.2 MB, free: 5.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.99e-06/0.005544, allocations: 384 / 426.2 MB, free: 5.5 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.94e-05/0.005603, allocations: 37.08 kB / 426.2 MB, free: 5.457 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.00561, allocations: 192 / 426.2 MB, free: 5.457 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.98e-06/0.005615, allocations: 384 / 426.2 MB, free: 5.457 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.005621, allocations: 7.938 kB / 426.2 MB, free: 5.449 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.754e-06/0.005629, allocations: 3.938 kB / 426.2 MB, free: 5.445 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.847e-05/0.005707, allocations: 74.64 kB / 426.3 MB, free: 5.355 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.962e-05/0.005737, allocations: 14.58 kB / 426.3 MB, free: 5.332 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.207e-06/0.005746, allocations: 4.859 kB / 426.3 MB, free: 5.324 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.99e-05/0.005776, allocations: 12.08 kB / 426.4 MB, free: 5.312 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.005794, allocations: 30.56 kB / 426.4 MB, free: 5.273 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 6.91e-07/0.005794, allocations: 0 / 426.4 MB, free: 5.273 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 7.425e-05/0.005868, allocations: 33.64 kB / 426.4 MB, free: 5.234 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/0.005894, allocations: 59.53 kB / 426.5 MB, free: 5.164 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.971e-05/0.005984, allocations: 162.4 kB / 426.6 MB, free: 4.992 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.005994, allocations: 29.7 kB / 426.7 MB, free: 4.957 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.82e-05/0.006022, allocations: 88.11 kB / 426.7 MB, free: 4.867 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.208e-05/0.006035, allocations: 7.953 kB / 426.8 MB, free: 4.859 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.006062, allocations: 25.69 kB / 426.8 MB, free: 4.828 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.392e-05/0.006136, allocations: 318.8 kB / 427.1 MB, free: 4.508 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.765e-05/0.006153, allocations: 14.81 kB / 427.1 MB, free: 4.492 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.095e-05/0.006164, allocations: 8 kB / 427.1 MB, free: 4.484 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.676e-05/0.006201, allocations: 31.67 kB / 427.1 MB, free: 4.449 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.006204, allocations: 4 kB / 427.1 MB, free: 4.445 MB / 394.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 5.956e-05/0.006263, allocations: 69.59 kB / 427.2 MB, free: 4.371 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/0.006273, allocations: 4 kB / 427.2 MB, free: 4.367 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.006284, allocations: 0 / 427.2 MB, free: 4.367 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.006296, allocations: 3.984 kB / 427.2 MB, free: 4.363 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.179e-05/0.006307, allocations: 4 kB / 427.2 MB, free: 4.359 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.00631, allocations: 3.984 kB / 427.2 MB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.065e-05/0.006331, allocations: 7.891 kB / 427.2 MB, free: 4.348 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.006353, allocations: 0 / 427.2 MB, free: 4.348 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: 9 (labels[1],labels[2],labels[3],labels[4],labels[5],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.276e-05/0.006426, allocations: 112.7 kB / 427.3 MB, free: 4.227 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.237e-06/0.006435, allocations: 4.031 kB / 427.4 MB, free: 4.223 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.97e-05/0.006515, allocations: 49.44 kB / 427.4 MB, free: 4.16 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.006516, allocations: 0 / 427.4 MB, free: 4.16 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.006518, allocations: 0 / 427.4 MB, free: 4.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.00652, allocations: 4 kB / 427.4 MB, free: 4.156 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.735e-05/0.006578, allocations: 81.75 kB / 427.5 MB, free: 4.059 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.006578, allocations: 0 / 427.5 MB, free: 4.059 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.799e-06/0.006583, allocations: 0 / 427.5 MB, free: 4.059 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.006585, allocations: 0 / 427.5 MB, free: 4.059 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.246e-06/0.006588, allocations: 0 / 427.5 MB, free: 4.059 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.006589, allocations: 0 / 427.5 MB, free: 4.059 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.00659, allocations: 4.031 kB / 427.5 MB, free: 4.055 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.538e-05/0.006636, allocations: 66.72 kB / 427.6 MB, free: 3.969 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.197e-06/0.006645, allocations: 11.89 kB / 427.6 MB, free: 3.957 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.322e-06/0.006651, allocations: 0 / 427.6 MB, free: 3.957 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.827e-06/0.00666, allocations: 7.922 kB / 427.6 MB, free: 3.949 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.038e-05/0.00667, allocations: 4 kB / 427.6 MB, free: 3.945 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.006672, allocations: 0 / 427.6 MB, free: 3.945 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.677e-05/0.006699, allocations: 36.69 kB / 427.6 MB, free: 3.906 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006699, allocations: 0 / 427.6 MB, free: 3.906 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002263/0.006925, allocations: 83.86 kB / 427.7 MB, free: 3.824 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.0004031/0.007328, allocations: 267 kB / 428 MB, free: 3.562 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.53e-05/0.007414, allocations: 50.55 kB / 428 MB, free: 3.504 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.007417, allocations: 4 kB / 428 MB, free: 3.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.412e-06/0.007424, allocations: 8.922 kB / 428 MB, free: 3.488 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.833e-05/0.007482, allocations: 11.94 kB / 428 MB, free: 3.477 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001699/0.007652, allocations: 158.4 kB / 428.2 MB, free: 3.293 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.91e-05/0.007681, allocations: 63.34 kB / 428.2 MB, free: 3.211 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.625e-05/0.007697, allocations: 3.938 kB / 428.2 MB, free: 3.207 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.007724, allocations: 51.38 kB / 428.3 MB, free: 3.156 MB / 394.7 MB Notification: Performance of SimCode: time 3.71e-07/0.007725, allocations: 0 / 428.3 MB, free: 3.156 MB / 394.7 MB Notification: Performance of Templates: time 0.003973/0.0117, allocations: 2.518 MB / 430.8 MB, free: 0.6328 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3552441368810833]