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.00134/0.00134, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001443/0.001443, allocations: 186 kB / 20.78 MB, free: 1.547 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.506/1.506, allocations: 225.6 MB / 249.4 MB, free: 3.172 MB / 190.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.9522/0.9522, allocations: 145.2 MB / 449.7 MB, free: 13.23 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.001947/0.001947, allocations: 70.14 kB / 0.6231 GB, free: 34.97 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1695, allocations: 86.65 MB / 0.7078 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d): time 0.001845/0.1714, allocations: 0.5233 MB / 0.7083 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002628/0.174, allocations: 1.63 MB / 0.7099 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.808e-05/0.174, allocations: 0 / 0.7099 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001357/0.1742, allocations: 23.91 kB / 0.7099 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.32e-05/0.1742, allocations: 7.984 kB / 0.7099 GB, free: 15.72 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.0008368/0.175, allocations: 247.3 kB / 0.7101 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.569e-05/0.1751, allocations: 31.89 kB / 0.7102 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.863e-05/0.1751, allocations: 4 kB / 0.7102 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.393e-05/0.1752, allocations: 11.92 kB / 0.7102 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.096e-05/0.1752, allocations: 19.92 kB / 0.7102 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.008e-05/0.1752, allocations: 0 / 0.7102 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006568/0.1759, allocations: 363.4 kB / 0.7105 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.109e-05/0.1759, allocations: 19.98 kB / 0.7106 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.528e-05/0.176, allocations: 15.81 kB / 0.7106 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004282/0.1764, allocations: 287.1 kB / 0.7108 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.1764, allocations: 0 / 0.7108 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1764, allocations: 0 / 0.7108 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.1764, allocations: 0 / 0.7108 GB, free: 14.74 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.0005058/0.1769, allocations: 410.7 kB / 0.7112 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.1769, allocations: 8.031 kB / 0.7112 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/0.177, allocations: 12.89 kB / 0.7113 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.1771, allocations: 184.2 kB / 0.7114 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.1772, allocations: 4.359 kB / 0.7114 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.1772, allocations: 384 / 0.7114 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.794e-05/0.1773, allocations: 41.95 kB / 0.7115 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.1773, allocations: 0 / 0.7115 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-06/0.1773, allocations: 0 / 0.7115 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.1773, allocations: 3.938 kB / 0.7115 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.324e-05/0.1773, allocations: 19.98 kB / 0.7115 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001891/0.1775, allocations: 177.6 kB / 0.7117 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.376e-05/0.1776, allocations: 26.58 kB / 0.7117 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.058e-05/0.1776, allocations: 12.91 kB / 0.7117 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.1776, allocations: 4 kB / 0.7117 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.1776, allocations: 42.44 kB / 0.7118 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.1776, allocations: 0 / 0.7118 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001468/0.1778, allocations: 61.73 kB / 0.7118 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.1778, allocations: 51.41 kB / 0.7119 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.178, allocations: 180.4 kB / 0.712 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.178, allocations: 29.7 kB / 0.7121 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.103e-05/0.1781, allocations: 92.12 kB / 0.7122 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.586e-06/0.1781, allocations: 0 / 0.7122 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.314e-05/0.1781, allocations: 25.7 kB / 0.7122 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1783, allocations: 318.8 kB / 0.7125 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.661e-05/0.1783, allocations: 48.02 kB / 0.7125 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.412e-05/0.1784, allocations: 43.91 kB / 0.7126 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.616e-05/0.1785, allocations: 72.77 kB / 0.7126 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1785, allocations: 0 / 0.7126 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001612/0.1786, allocations: 129.6 kB / 0.7128 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.1786, allocations: 7.938 kB / 0.7128 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.1786, allocations: 0 / 0.7128 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.1787, allocations: 7.984 kB / 0.7128 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.184e-05/0.1787, allocations: 3.938 kB / 0.7128 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.1787, allocations: 0 / 0.7128 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.648e-05/0.1787, allocations: 12 kB / 0.7128 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.1787, allocations: 4 kB / 0.7128 GB, free: 12.52 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.0001388/0.1788, allocations: 121.8 kB / 0.7129 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.1789, allocations: 11.89 kB / 0.7129 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/0.179, allocations: 61.5 kB / 0.713 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.179, allocations: 0 / 0.713 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.179, allocations: 0 / 0.713 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-06/0.179, allocations: 0 / 0.713 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001233/0.1791, allocations: 169.7 kB / 0.7131 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1791, allocations: 0 / 0.7131 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.108e-06/0.1791, allocations: 4 kB / 0.7131 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1791, allocations: 3.938 kB / 0.7132 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.539e-06/0.1791, allocations: 0 / 0.7132 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1791, allocations: 0 / 0.7132 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1791, allocations: 0 / 0.7132 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.964e-05/0.1792, allocations: 89 kB / 0.7132 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.954e-05/0.1793, allocations: 96.97 kB / 0.7133 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.1793, allocations: 0 / 0.7133 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.156e-05/0.1793, allocations: 3.938 kB / 0.7133 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.03e-05/0.1793, allocations: 0 / 0.7133 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.1793, allocations: 0 / 0.7133 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.931e-05/0.1794, allocations: 128.5 kB / 0.7135 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1794, allocations: 0 / 0.7135 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003138/0.1797, allocations: 83.8 kB / 0.7135 GB, free: 11.66 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.000513/0.1802, allocations: 231.8 kB / 0.7138 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001643/0.1804, allocations: 93.67 kB / 0.7138 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1804, allocations: 0 / 0.7138 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.777e-05/0.1804, allocations: 19.86 kB / 0.7139 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/0.1806, allocations: 8.125 kB / 0.7139 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002777/0.1808, allocations: 173.1 kB / 0.714 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.1812, allocations: 0.6885 MB / 0.7147 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.933e-05/0.1812, allocations: 4 kB / 0.7147 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.383e-05/0.1812, allocations: 7.438 kB / 0.7147 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of SimCode: time 2.6e-07/0.1812, allocations: 0 / 0.7147 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of Templates: time 0.005356/0.1866, allocations: 2.09 MB / 0.7168 GB, free: 8.316 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.871032493188977]