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.001494/0.001494, allocations: 105.6 kB / 19.69 MB, free: 2.277 MB / 14.72 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.001599/0.001599, allocations: 216.1 kB / 23.01 MB, free: 4.602 MB / 14.72 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.34/1.34, allocations: 230.6 MB / 256.8 MB, free: 8.059 MB / 206.1 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.8519/0.8519, allocations: 145 MB / 458.2 MB, free: 15.71 MB / 366.1 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_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: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 64.69 kB / 0.6344 GB, free: 7.02 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1684, allocations: 87.89 MB / 0.7202 GB, free: 15.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d): time 0.001784/0.1701, allocations: 0.5134 MB / 0.7207 GB, free: 14.62 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002512/0.1727, allocations: 1.701 MB / 0.7224 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.785e-05/0.1727, allocations: 7.875 kB / 0.7224 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.1728, allocations: 19.92 kB / 0.7224 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.24e-05/0.1729, allocations: 7.984 kB / 0.7224 GB, free: 12.87 MB / 0.545 GB [/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.000963/0.1738, allocations: 271.2 kB / 0.7226 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.9e-05/0.1739, allocations: 11.98 kB / 0.7227 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.717e-05/0.1739, allocations: 4 kB / 0.7227 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.665e-05/0.174, allocations: 11.98 kB / 0.7227 GB, free: 12.58 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.52e-05/0.174, allocations: 27.91 kB / 0.7227 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.174, allocations: 3.938 kB / 0.7227 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008017/0.1748, allocations: 459.2 kB / 0.7231 GB, free: 12.1 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.718e-05/0.1749, allocations: 23.92 kB / 0.7232 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.828e-05/0.1749, allocations: 19.81 kB / 0.7232 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004869/0.1754, allocations: 287.2 kB / 0.7235 GB, free: 11.77 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1754, allocations: 0 / 0.7235 GB, free: 11.77 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.432e-06/0.1754, allocations: 0 / 0.7235 GB, free: 11.77 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.1754, allocations: 0 / 0.7235 GB, free: 11.77 MB / 0.545 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.0004667/0.1759, allocations: 335.3 kB / 0.7238 GB, free: 11.42 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.1759, allocations: 8.031 kB / 0.7238 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.717e-05/0.1759, allocations: 12.88 kB / 0.7238 GB, free: 11.4 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.1761, allocations: 123 kB / 0.7239 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.1761, allocations: 384 / 0.7239 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.236e-06/0.1761, allocations: 384 / 0.7239 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.709e-05/0.1762, allocations: 42 kB / 0.724 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.1762, allocations: 3.938 kB / 0.724 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.1762, allocations: 0 / 0.724 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1762, allocations: 4 kB / 0.724 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.506e-05/0.1763, allocations: 23.92 kB / 0.724 GB, free: 11.18 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001825/0.1764, allocations: 140.7 kB / 0.7241 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.437e-05/0.1765, allocations: 30.56 kB / 0.7241 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.227e-05/0.1765, allocations: 12.92 kB / 0.7242 GB, free: 10.94 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.605e-05/0.1766, allocations: 11.98 kB / 0.7242 GB, free: 10.93 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.1766, allocations: 34.5 kB / 0.7242 GB, free: 10.89 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.322e-06/0.1766, allocations: 4 kB / 0.7242 GB, free: 10.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001591/0.1768, allocations: 61.58 kB / 0.7243 GB, free: 10.82 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.1768, allocations: 55.41 kB / 0.7243 GB, free: 10.75 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.177, allocations: 164.7 kB / 0.7245 GB, free: 10.58 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.177, allocations: 25.7 kB / 0.7245 GB, free: 10.55 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.071e-05/0.177, allocations: 96.09 kB / 0.7246 GB, free: 10.45 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.011e-05/0.177, allocations: 3.938 kB / 0.7246 GB, free: 10.45 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/0.1771, allocations: 25.7 kB / 0.7246 GB, free: 10.42 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1772, allocations: 327 kB / 0.7249 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.648e-05/0.1773, allocations: 39.98 kB / 0.725 GB, free: 10.05 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.542e-05/0.1773, allocations: 43.92 kB / 0.725 GB, free: 10.01 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.523e-05/0.1774, allocations: 68.83 kB / 0.7251 GB, free: 9.938 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1774, allocations: 0 / 0.7251 GB, free: 9.938 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001601/0.1776, allocations: 125.5 kB / 0.7252 GB, free: 9.809 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.1776, allocations: 7.938 kB / 0.7252 GB, free: 9.801 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.1776, allocations: 4 kB / 0.7252 GB, free: 9.797 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1776, allocations: 0 / 0.7252 GB, free: 9.797 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.18e-05/0.1776, allocations: 4.062 kB / 0.7252 GB, free: 9.793 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.1776, allocations: 0 / 0.7252 GB, free: 9.793 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.025e-05/0.1777, allocations: 15.83 kB / 0.7252 GB, free: 9.777 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.1777, allocations: 0 / 0.7252 GB, free: 9.777 MB / 0.545 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.0001568/0.1778, allocations: 125.8 kB / 0.7253 GB, free: 9.645 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.371e-05/0.1778, allocations: 7.891 kB / 0.7254 GB, free: 9.637 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001126/0.178, allocations: 61.42 kB / 0.7254 GB, free: 9.566 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.178, allocations: 4.031 kB / 0.7254 GB, free: 9.562 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.178, allocations: 0 / 0.7254 GB, free: 9.562 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.178, allocations: 4 kB / 0.7254 GB, free: 9.559 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.1781, allocations: 148.7 kB / 0.7256 GB, free: 9.371 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1781, allocations: 0 / 0.7256 GB, free: 9.371 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.568e-06/0.1781, allocations: 0 / 0.7256 GB, free: 9.371 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.1781, allocations: 3.938 kB / 0.7256 GB, free: 9.367 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.488e-06/0.1781, allocations: 0 / 0.7256 GB, free: 9.367 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.1781, allocations: 4 kB / 0.7256 GB, free: 9.363 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1781, allocations: 0 / 0.7256 GB, free: 9.363 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.754e-05/0.1782, allocations: 81.08 kB / 0.7256 GB, free: 9.266 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.193e-05/0.1782, allocations: 7.891 kB / 0.7257 GB, free: 9.258 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.1782, allocations: 7.969 kB / 0.7257 GB, free: 9.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.434e-05/0.1783, allocations: 4 kB / 0.7257 GB, free: 9.246 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.122e-05/0.1783, allocations: 3.938 kB / 0.7257 GB, free: 9.242 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.1783, allocations: 0 / 0.7257 GB, free: 9.242 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.783e-05/0.1784, allocations: 122.1 kB / 0.7258 GB, free: 9.125 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1784, allocations: 0 / 0.7258 GB, free: 9.125 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003372/0.1787, allocations: 91.83 kB / 0.7259 GB, free: 9.035 MB / 0.545 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.0005271/0.1792, allocations: 237.2 kB / 0.7261 GB, free: 8.82 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001721/0.1794, allocations: 89.67 kB / 0.7262 GB, free: 8.727 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1794, allocations: 4.062 kB / 0.7262 GB, free: 8.723 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.522e-05/0.1794, allocations: 8 kB / 0.7262 GB, free: 8.715 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.1796, allocations: 4 kB / 0.7262 GB, free: 8.711 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003234/0.1799, allocations: 198.8 kB / 0.7264 GB, free: 8.484 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.1802, allocations: 0.6963 MB / 0.7271 GB, free: 7.762 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.821e-05/0.1802, allocations: 11.38 kB / 0.7271 GB, free: 7.75 MB / 0.545 GB Notification: Performance of SimCode: time 4.31e-07/0.1802, allocations: 0 / 0.7271 GB, free: 7.75 MB / 0.545 GB Notification: Performance of Templates: time 0.004738/0.185, allocations: 2.263 MB / 0.7293 GB, free: 5.484 MB / 0.545 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: 8.950206904904917] Failed to read output from testmodel.py, exit status != 0: 0.19376622303389013 0.20829311399999995 0.029843315000000002 Calling exit ...