Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d.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.001392/0.001392, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001444/0.001444, allocations: 213.5 kB / 22.99 MB, free: 4.945 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.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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.9447/0.9447, allocations: 145 MB / 458.2 MB, free: 15.23 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_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d") translateModel(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d") [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.002121/0.002121, allocations: 70.17 kB / 0.6343 GB, free: 6.164 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1913, allocations: 87.88 MB / 0.7201 GB, free: 14.28 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d): time 0.001709/0.193, allocations: 0.5134 MB / 0.7206 GB, free: 13.77 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002568/0.1956, allocations: 1.607 MB / 0.7222 GB, free: 12.14 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.166e-05/0.1956, allocations: 0 / 0.7222 GB, free: 12.14 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002038/0.1958, allocations: 59.84 kB / 0.7222 GB, free: 12.08 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.964e-05/0.1959, allocations: 31.95 kB / 0.7223 GB, free: 12.05 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.0009758/0.1969, allocations: 270.6 kB / 0.7225 GB, free: 11.79 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.526e-05/0.1969, allocations: 31.91 kB / 0.7226 GB, free: 11.76 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.337e-05/0.197, allocations: 7.969 kB / 0.7226 GB, free: 11.75 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.466e-05/0.197, allocations: 23.91 kB / 0.7226 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.71e-05/0.1971, allocations: 51.88 kB / 0.7226 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.1971, allocations: 0 / 0.7226 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000718/0.1978, allocations: 423.2 kB / 0.723 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.374e-05/0.1979, allocations: 27.92 kB / 0.7231 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.072e-05/0.1979, allocations: 27.67 kB / 0.7231 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004711/0.1984, allocations: 303.1 kB / 0.7234 GB, free: 10.91 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1984, allocations: 0 / 0.7234 GB, free: 10.91 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1984, allocations: 0 / 0.7234 GB, free: 10.91 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.188e-05/0.1984, allocations: 0 / 0.7234 GB, free: 10.91 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.0005099/0.1989, allocations: 359.6 kB / 0.7237 GB, free: 10.53 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.199, allocations: 12.03 kB / 0.7237 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.345e-05/0.199, allocations: 4.891 kB / 0.7237 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.1992, allocations: 134.9 kB / 0.7239 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.1992, allocations: 8.359 kB / 0.7239 GB, free: 10.35 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.1992, allocations: 4.375 kB / 0.7239 GB, free: 10.35 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.1993, allocations: 41.95 kB / 0.7239 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.1993, allocations: 0 / 0.7239 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.1993, allocations: 0 / 0.7239 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.1994, allocations: 0 / 0.7239 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.773e-05/0.1994, allocations: 23.98 kB / 0.7239 GB, free: 10.28 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001847/0.1996, allocations: 133.3 kB / 0.7241 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.608e-05/0.1996, allocations: 30.56 kB / 0.7241 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.561e-05/0.1997, allocations: 16.86 kB / 0.7241 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.705e-05/0.1997, allocations: 8 kB / 0.7241 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.1997, allocations: 38.55 kB / 0.7242 GB, free: 10 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.1997, allocations: 0 / 0.7242 GB, free: 10 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001792/0.1999, allocations: 65.58 kB / 0.7242 GB, free: 9.934 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.2, allocations: 51.41 kB / 0.7243 GB, free: 9.871 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.2002, allocations: 222.6 kB / 0.7245 GB, free: 9.641 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.2002, allocations: 29.7 kB / 0.7245 GB, free: 9.605 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.283e-05/0.2003, allocations: 104.1 kB / 0.7246 GB, free: 9.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.318e-06/0.2003, allocations: 0 / 0.7246 GB, free: 9.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.775e-05/0.2004, allocations: 33.7 kB / 0.7246 GB, free: 9.461 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.2005, allocations: 323 kB / 0.725 GB, free: 9.137 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.079e-05/0.2006, allocations: 59.92 kB / 0.725 GB, free: 9.078 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.876e-05/0.2007, allocations: 58.92 kB / 0.7251 GB, free: 9.023 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.2008, allocations: 92.78 kB / 0.7252 GB, free: 8.93 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2008, allocations: 0 / 0.7252 GB, free: 8.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002191/0.201, allocations: 153.6 kB / 0.7253 GB, free: 8.773 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.201, allocations: 8 kB / 0.7253 GB, free: 8.766 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/0.201, allocations: 7.922 kB / 0.7253 GB, free: 8.758 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.201, allocations: 0 / 0.7253 GB, free: 8.758 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.45e-05/0.2011, allocations: 0 / 0.7253 GB, free: 8.758 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.2011, allocations: 4 kB / 0.7253 GB, free: 8.754 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.868e-05/0.2011, allocations: 15.91 kB / 0.7253 GB, free: 8.738 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.2011, allocations: 3.938 kB / 0.7253 GB, free: 8.734 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: 10 (cluster_size[3],cluster_size[2],cluster_size[1],labels[6],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.0001791/0.2013, allocations: 144.8 kB / 0.7255 GB, free: 8.586 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.657e-05/0.2013, allocations: 11.94 kB / 0.7255 GB, free: 8.574 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001635/0.2015, allocations: 62.12 kB / 0.7255 GB, free: 8.504 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.2015, allocations: 4 kB / 0.7256 GB, free: 8.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2015, allocations: 0 / 0.7256 GB, free: 8.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2015, allocations: 0 / 0.7256 GB, free: 8.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.2016, allocations: 137.2 kB / 0.7257 GB, free: 8.336 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.2016, allocations: 8.031 kB / 0.7257 GB, free: 8.328 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.071e-06/0.2016, allocations: 3.984 kB / 0.7257 GB, free: 8.324 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.2016, allocations: 0 / 0.7257 GB, free: 8.324 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.2016, allocations: 0 / 0.7257 GB, free: 8.324 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-06/0.2016, allocations: 3.938 kB / 0.7257 GB, free: 8.32 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2016, allocations: 0 / 0.7257 GB, free: 8.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.885e-05/0.2017, allocations: 81.05 kB / 0.7258 GB, free: 8.223 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.942e-05/0.2017, allocations: 15.91 kB / 0.7258 GB, free: 8.207 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.2017, allocations: 0 / 0.7258 GB, free: 8.207 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.674e-05/0.2018, allocations: 7.938 kB / 0.7258 GB, free: 8.199 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.341e-05/0.2018, allocations: 8.016 kB / 0.7258 GB, free: 8.191 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-06/0.2018, allocations: 0 / 0.7258 GB, free: 8.191 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001322/0.2019, allocations: 144.4 kB / 0.7259 GB, free: 8.051 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2019, allocations: 0 / 0.7259 GB, free: 8.051 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003198/0.2022, allocations: 87.8 kB / 0.726 GB, free: 7.965 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.0005623/0.2028, allocations: 236.3 kB / 0.7263 GB, free: 7.746 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002075/0.203, allocations: 117.6 kB / 0.7264 GB, free: 7.625 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.203, allocations: 7.938 kB / 0.7264 GB, free: 7.617 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.582e-05/0.203, allocations: 8 kB / 0.7264 GB, free: 7.609 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.2032, allocations: 7.688 kB / 0.7264 GB, free: 7.602 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003808/0.2035, allocations: 243.5 kB / 0.7266 GB, free: 7.332 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.552e-05/0.2036, allocations: 92.17 kB / 0.7267 GB, free: 7.223 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.923e-05/0.2037, allocations: 7.438 kB / 0.7267 GB, free: 7.215 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.2037, allocations: 128 / 0.7267 GB, free: 7.215 MB / 0.545 GB Notification: Performance of Templates: time 0.005019/0.2087, allocations: 2.414 MB / 0.7291 GB, free: 4.801 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.050003928132355] Failed to read output from testmodel.py, exit status != 0: 0.2177974176593125 0.24186763999999994 0.038680165 Calling exit ...