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.001541/0.001541, 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.001612/0.001612, 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 0.9774/0.9774, allocations: 177.1 MB / 204.6 MB, free: 5.496 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.6115/0.6115, allocations: 110.3 MB / 371.3 MB, free: 12.37 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.182e-06/1.182e-06, allocations: 0 / 422.3 MB, free: 9.43 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.866e-05/1.984e-05, allocations: 2.312 kB / 422.3 MB, free: 9.426 MB / 394.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d): time 0.001297/0.001317, allocations: 0.5439 MB / 422.9 MB, free: 8.879 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.004942/0.006259, allocations: 1.645 MB / 424.5 MB, free: 7.215 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.986e-05/0.006289, allocations: 0 / 424.5 MB, free: 7.215 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001355/0.006424, allocations: 23.91 kB / 424.6 MB, free: 7.191 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 2.284e-05/0.006447, allocations: 7.984 kB / 424.6 MB, free: 7.184 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/IBPSA/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.0008392/0.007286, allocations: 271 kB / 424.8 MB, free: 6.918 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 6.865e-05/0.007355, allocations: 23.92 kB / 424.9 MB, free: 6.895 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.404e-05/0.007389, allocations: 3.984 kB / 424.9 MB, free: 6.891 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.973e-05/0.007429, allocations: 11.98 kB / 424.9 MB, free: 6.879 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.258e-05/0.007461, allocations: 15.92 kB / 424.9 MB, free: 6.863 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.007473, allocations: 0 / 424.9 MB, free: 6.863 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005515/0.008024, allocations: 435.1 kB / 425.3 MB, free: 6.438 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.515e-05/0.008069, allocations: 19.92 kB / 425.3 MB, free: 6.418 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.542e-05/0.008085, allocations: 7.938 kB / 425.3 MB, free: 6.41 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003622/0.008447, allocations: 335.1 kB / 425.7 MB, free: 6.082 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.008449, allocations: 0 / 425.7 MB, free: 6.082 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.00845, allocations: 0 / 425.7 MB, free: 6.082 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.008453, allocations: 4 kB / 425.7 MB, free: 6.078 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.0002823/0.008736, allocations: 308.2 kB / 426 MB, free: 5.754 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.008766, allocations: 12.03 kB / 426 MB, free: 5.742 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.362e-05/0.008789, allocations: 8.859 kB / 426 MB, free: 5.734 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.008891, allocations: 129.6 kB / 426.1 MB, free: 5.582 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.111e-06/0.008897, allocations: 384 / 426.1 MB, free: 5.582 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-06/0.008905, allocations: 384 / 426.1 MB, free: 5.582 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.716e-05/0.008952, allocations: 33.09 kB / 426.1 MB, free: 5.543 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.67e-06/0.008958, allocations: 192 / 426.1 MB, free: 5.543 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.538e-06/0.008962, allocations: 4.375 kB / 426.2 MB, free: 5.539 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.008967, allocations: 3.938 kB / 426.2 MB, free: 5.535 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.602e-06/0.008973, allocations: 3.984 kB / 426.2 MB, free: 5.531 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.904e-05/0.009042, allocations: 70.69 kB / 426.2 MB, free: 5.445 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.644e-05/0.009069, allocations: 18.52 kB / 426.2 MB, free: 5.418 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.318e-06/0.009078, allocations: 12.86 kB / 426.3 MB, free: 5.402 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.009105, allocations: 4.094 kB / 426.3 MB, free: 5.398 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.00912, allocations: 34.56 kB / 426.3 MB, free: 5.355 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.009121, allocations: 0 / 426.3 MB, free: 5.355 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 6.388e-05/0.009185, allocations: 33.69 kB / 426.3 MB, free: 5.316 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.00921, allocations: 55.34 kB / 426.4 MB, free: 5.25 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.009416, allocations: 162.4 kB / 426.5 MB, free: 5.078 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.687e-06/0.009425, allocations: 25.7 kB / 426.6 MB, free: 5.047 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.097e-05/0.009456, allocations: 92.11 kB / 426.7 MB, free: 4.953 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.897e-06/0.009465, allocations: 7.938 kB / 426.7 MB, free: 4.945 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/0.009498, allocations: 29.83 kB / 426.7 MB, free: 4.91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.349e-05/0.009571, allocations: 326.8 kB / 427 MB, free: 4.582 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.716e-05/0.009588, allocations: 10.83 kB / 427 MB, free: 4.57 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.132e-05/0.0096, allocations: 8 kB / 427 MB, free: 4.562 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.486e-05/0.009635, allocations: 27.67 kB / 427.1 MB, free: 4.531 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.009636, allocations: 0 / 427.1 MB, free: 4.531 MB / 394.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 6.924e-05/0.009706, allocations: 61.62 kB / 427.1 MB, free: 4.465 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.009716, allocations: 4 kB / 427.1 MB, free: 4.461 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.009725, allocations: 0 / 427.1 MB, free: 4.461 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.009736, allocations: 3.938 kB / 427.1 MB, free: 4.457 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.201e-05/0.009748, allocations: 0 / 427.1 MB, free: 4.457 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.084e-06/0.009751, allocations: 4.062 kB / 427.1 MB, free: 4.453 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.098e-05/0.009772, allocations: 19.89 kB / 427.2 MB, free: 4.434 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.009778, allocations: 0 / 427.2 MB, free: 4.434 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 6.418e-05/0.009842, allocations: 116.7 kB / 427.3 MB, free: 4.309 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.434e-06/0.00985, allocations: 4 kB / 427.3 MB, free: 4.305 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.35e-05/0.009923, allocations: 37.5 kB / 427.3 MB, free: 4.254 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.009925, allocations: 0 / 427.3 MB, free: 4.254 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.009926, allocations: 0 / 427.3 MB, free: 4.254 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.009928, allocations: 0 / 427.3 MB, free: 4.254 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.543e-05/0.009994, allocations: 89.84 kB / 427.4 MB, free: 4.148 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.009996, allocations: 3.984 kB / 427.4 MB, free: 4.145 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.396e-06/0.009999, allocations: 0 / 427.4 MB, free: 4.145 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.01, allocations: 3.938 kB / 427.4 MB, free: 4.141 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.755e-06/0.01, allocations: 0 / 427.4 MB, free: 4.141 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.01, allocations: 0 / 427.4 MB, free: 4.141 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.01001, allocations: 0 / 427.4 MB, free: 4.141 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.89e-05/0.01005, allocations: 70.7 kB / 427.5 MB, free: 4.051 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.381e-05/0.01007, allocations: 11.89 kB / 427.5 MB, free: 4.039 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.536e-06/0.01008, allocations: 3.938 kB / 427.5 MB, free: 4.035 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.917e-06/0.01009, allocations: 4.031 kB / 427.5 MB, free: 4.031 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.368e-06/0.01009, allocations: 0 / 427.5 MB, free: 4.031 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.0101, allocations: 0 / 427.5 MB, free: 4.031 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.219e-05/0.01013, allocations: 40.67 kB / 427.5 MB, free: 3.988 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01013, allocations: 0 / 427.5 MB, free: 3.988 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002662/0.01039, allocations: 83.86 kB / 427.6 MB, free: 3.906 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.0004247/0.01082, allocations: 246.2 kB / 427.9 MB, free: 3.664 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.001e-05/0.01091, allocations: 66.47 kB / 427.9 MB, free: 3.59 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.01091, allocations: 0 / 427.9 MB, free: 3.59 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.755e-06/0.01092, allocations: 8.859 kB / 427.9 MB, free: 3.578 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.903e-05/0.01098, allocations: 11.06 kB / 427.9 MB, free: 3.57 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001899/0.01117, allocations: 154.4 kB / 428.1 MB, free: 3.391 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.887e-05/0.0112, allocations: 59.34 kB / 428.1 MB, free: 3.312 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.725e-05/0.01122, allocations: 12.11 kB / 428.2 MB, free: 3.301 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.925e-05/0.01124, allocations: 51.38 kB / 428.2 MB, free: 3.25 MB / 394.7 MB Notification: Performance of SimCode: time 3.8e-07/0.01124, allocations: 0 / 428.2 MB, free: 3.25 MB / 394.7 MB Notification: Performance of Templates: time 0.004056/0.0153, allocations: 2.526 MB / 430.7 MB, free: 0.7188 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2310840701684356]