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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001793/0.001793, allocations: 99.52 kB / 16.45 MB, free: 6.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002086/0.002086, allocations: 199.8 kB / 19.41 MB, free: 3.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.6.0-master/package.mo): time 0.998/0.998, allocations: 145.2 MB / 447.9 MB, free: 6.449 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002133/0.002133, allocations: 68.94 kB / 0.6204 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1911, allocations: 86.64 MB / 0.705 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d): time 0.002019/0.1931, allocations: 0.5191 MB / 0.7055 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002383/0.1955, allocations: 1.626 MB / 0.7071 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.214e-05/0.1955, allocations: 3.938 kB / 0.7071 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001381/0.1957, allocations: 23.97 kB / 0.7071 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.432e-05/0.1957, allocations: 11.92 kB / 0.7071 GB, free: 8.035 MB / 0.5294 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.6.0-master/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.0008644/0.1965, allocations: 245.8 kB / 0.7074 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.671e-05/0.1966, allocations: 15.97 kB / 0.7074 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.003e-05/0.1966, allocations: 12 kB / 0.7074 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.213e-05/0.1967, allocations: 15.92 kB / 0.7074 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.562e-05/0.1967, allocations: 23.91 kB / 0.7074 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.1967, allocations: 0 / 0.7074 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006422/0.1974, allocations: 367.4 kB / 0.7078 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.358e-05/0.1974, allocations: 11.98 kB / 0.7078 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.807e-05/0.1975, allocations: 19.81 kB / 0.7078 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004268/0.1979, allocations: 283.2 kB / 0.7081 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1979, allocations: 3.938 kB / 0.7081 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1979, allocations: 0 / 0.7081 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.1979, allocations: 0 / 0.7081 GB, free: 7.059 MB / 0.5294 GB 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.0004743/0.1984, allocations: 406.7 kB / 0.7085 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.1984, allocations: 16.02 kB / 0.7085 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.389e-05/0.1984, allocations: 8.828 kB / 0.7085 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.1986, allocations: 185.7 kB / 0.7087 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.1986, allocations: 384 / 0.7087 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.454e-06/0.1986, allocations: 384 / 0.7087 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.833e-05/0.1987, allocations: 42 kB / 0.7087 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.1987, allocations: 0 / 0.7087 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.1987, allocations: 0 / 0.7087 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.1987, allocations: 7.984 kB / 0.7087 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.29e-05/0.1988, allocations: 19.98 kB / 0.7087 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001998/0.199, allocations: 177.6 kB / 0.7089 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.29e-05/0.199, allocations: 26.52 kB / 0.7089 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.231e-05/0.1991, allocations: 12.92 kB / 0.709 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.916e-05/0.1991, allocations: 11.98 kB / 0.709 GB, free: 6.012 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.1991, allocations: 34.5 kB / 0.709 GB, free: 5.969 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 2.715e-06/0.1991, allocations: 4 kB / 0.709 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001614/0.1993, allocations: 61.58 kB / 0.7091 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.1993, allocations: 51.41 kB / 0.7091 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.1995, allocations: 179.8 kB / 0.7093 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.1995, allocations: 25.7 kB / 0.7093 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/0.1996, allocations: 96.12 kB / 0.7094 GB, free: 5.523 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.938e-06/0.1996, allocations: 0 / 0.7094 GB, free: 5.523 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.203e-05/0.1996, allocations: 21.72 kB / 0.7094 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.1998, allocations: 327 kB / 0.7097 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.796e-05/0.1998, allocations: 39.98 kB / 0.7098 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.158e-05/0.1999, allocations: 39.97 kB / 0.7098 GB, free: 5.09 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.824e-05/0.2, allocations: 68.83 kB / 0.7099 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2, allocations: 4 kB / 0.7099 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001623/0.2001, allocations: 129.5 kB / 0.71 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.2002, allocations: 7.938 kB / 0.71 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.2002, allocations: 4 kB / 0.71 GB, free: 4.871 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.2002, allocations: 3.938 kB / 0.71 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.276e-05/0.2002, allocations: 64 / 0.71 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.2002, allocations: 4 kB / 0.71 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.547e-05/0.2002, allocations: 7.953 kB / 0.71 GB, free: 4.855 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.2002, allocations: 0 / 0.71 GB, free: 4.855 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (cluster_size[3],cluster_size[2],cluster_size[1],labels[5],labels[4],labels[3],labels[2],labels[1],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 0.0001569/0.2004, allocations: 125.8 kB / 0.7101 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.264e-05/0.2004, allocations: 7.891 kB / 0.7102 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.2005, allocations: 57.56 kB / 0.7102 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.2005, allocations: 0 / 0.7102 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.2005, allocations: 4.031 kB / 0.7102 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.2005, allocations: 3.938 kB / 0.7102 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.2007, allocations: 173.7 kB / 0.7104 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2007, allocations: 3.938 kB / 0.7104 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.258e-06/0.2007, allocations: 0 / 0.7104 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.2007, allocations: 3.938 kB / 0.7104 GB, free: 4.418 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.2007, allocations: 4 kB / 0.7104 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2007, allocations: 0 / 0.7104 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2007, allocations: 0 / 0.7104 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.444e-05/0.2008, allocations: 85.06 kB / 0.7105 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.105e-05/0.2008, allocations: 89 kB / 0.7106 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.2008, allocations: 3.938 kB / 0.7106 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.193e-05/0.2009, allocations: 0 / 0.7106 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.041e-05/0.2009, allocations: 0 / 0.7106 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-06/0.2009, allocations: 0 / 0.7106 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.859e-05/0.201, allocations: 125.1 kB / 0.7107 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.201, allocations: 0 / 0.7107 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000328/0.2013, allocations: 83.81 kB / 0.7108 GB, free: 4 MB / 0.5294 GB 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.0005568/0.2018, allocations: 240.1 kB / 0.711 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001732/0.202, allocations: 89.67 kB / 0.7111 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.202, allocations: 64 / 0.7111 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.737e-05/0.202, allocations: 15.98 kB / 0.7111 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.2022, allocations: 4 kB / 0.7111 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002874/0.2025, allocations: 157.2 kB / 0.7112 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.2028, allocations: 0.6963 MB / 0.7119 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.727e-05/0.2028, allocations: 0 / 0.7119 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.697e-05/0.2028, allocations: 11.44 kB / 0.7119 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of SimCode: time 3.01e-07/0.2028, allocations: 4 kB / 0.7119 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of Templates: time 0.005381/0.2082, allocations: 2.098 MB / 0.714 GB, free: 0.6484 MB / 0.5294 GB " [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=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.797739176079631]