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.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.001829/0.001829, allocations: 114.2 kB / 18.94 MB, free: 2.953 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.002047/0.002047, allocations: 190.6 kB / 22.23 MB, free: 5.137 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.503/1.503, allocations: 225.6 MB / 251 MB, free: 13.04 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.9384/0.9384, allocations: 145 MB / 451.2 MB, free: 5.438 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.7.0/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_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: Performance of FrontEnd - loaded program: time 0.002174/0.002174, allocations: 68.48 kB / 0.6253 GB, free: 15.51 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1907, allocations: 86.71 MB / 0.71 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d): time 0.002276/0.193, allocations: 0.5114 MB / 0.7105 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002858/0.1958, allocations: 1.626 MB / 0.7121 GB, free: 6.664 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.534e-05/0.1959, allocations: 7.938 kB / 0.7121 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002501/0.1961, allocations: 59.84 kB / 0.7121 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.288e-05/0.1962, allocations: 39.88 kB / 0.7122 GB, free: 6.559 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.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.001221/0.1974, allocations: 271.2 kB / 0.7124 GB, free: 6.293 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.1975, allocations: 27.97 kB / 0.7125 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.516e-05/0.1976, allocations: 4 kB / 0.7125 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.991e-05/0.1976, allocations: 27.89 kB / 0.7125 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.709e-05/0.1977, allocations: 43.89 kB / 0.7125 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.1977, allocations: 7.938 kB / 0.7125 GB, free: 6.184 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009422/0.1987, allocations: 459.2 kB / 0.713 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.897e-05/0.1988, allocations: 23.92 kB / 0.713 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.6e-05/0.1988, allocations: 23.75 kB / 0.713 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006805/0.1995, allocations: 311 kB / 0.7133 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.1995, allocations: 0 / 0.7133 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1995, allocations: 4 kB / 0.7133 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.1995, allocations: 0 / 0.7133 GB, free: 5.379 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.0006722/0.2002, allocations: 361.3 kB / 0.7137 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.2002, allocations: 12.03 kB / 0.7137 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.285e-05/0.2003, allocations: 16.84 kB / 0.7137 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.2005, allocations: 130.2 kB / 0.7138 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.2005, allocations: 384 / 0.7138 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.2005, allocations: 8.359 kB / 0.7138 GB, free: 4.809 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.2006, allocations: 38.02 kB / 0.7139 GB, free: 4.766 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.2006, allocations: 0 / 0.7139 GB, free: 4.766 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.2006, allocations: 0 / 0.7139 GB, free: 4.766 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.2007, allocations: 4 kB / 0.7139 GB, free: 4.762 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.43e-05/0.2007, allocations: 27.92 kB / 0.7139 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002318/0.2009, allocations: 152.8 kB / 0.714 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.196e-05/0.201, allocations: 30.56 kB / 0.7141 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.804e-05/0.201, allocations: 16.92 kB / 0.7141 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.702e-05/0.2011, allocations: 7.984 kB / 0.7141 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.2011, allocations: 34.5 kB / 0.7141 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.282e-06/0.2011, allocations: 4 kB / 0.7141 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001994/0.2013, allocations: 73.53 kB / 0.7142 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.2014, allocations: 51.41 kB / 0.7142 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.2016, allocations: 207.6 kB / 0.7144 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.2016, allocations: 25.7 kB / 0.7145 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.949e-05/0.2017, allocations: 112 kB / 0.7146 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.408e-05/0.2017, allocations: 0 / 0.7146 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.26e-05/0.2018, allocations: 33.7 kB / 0.7146 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.2019, allocations: 327 kB / 0.7149 GB, free: 3.562 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.295e-05/0.202, allocations: 55.92 kB / 0.715 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.103e-05/0.202, allocations: 55.97 kB / 0.715 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.2022, allocations: 88.78 kB / 0.7151 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.2022, allocations: 0 / 0.7151 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001999/0.2024, allocations: 176.4 kB / 0.7153 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.2024, allocations: 7.938 kB / 0.7153 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.042e-05/0.2024, allocations: 4 kB / 0.7153 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.2024, allocations: 0 / 0.7153 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.565e-05/0.2025, allocations: 4.062 kB / 0.7153 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.2025, allocations: 0 / 0.7153 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.142e-05/0.2025, allocations: 7.953 kB / 0.7153 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.2025, allocations: 0 / 0.7153 GB, free: 3.164 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: 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.0001843/0.2027, allocations: 129.8 kB / 0.7154 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.2027, allocations: 15.84 kB / 0.7154 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001401/0.2028, allocations: 74.05 kB / 0.7155 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2028, allocations: 32 / 0.7155 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.2029, allocations: 7.984 kB / 0.7155 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.2029, allocations: 0 / 0.7155 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.203, allocations: 152.7 kB / 0.7157 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.203, allocations: 0 / 0.7157 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.45e-06/0.203, allocations: 0 / 0.7157 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.203, allocations: 3.938 kB / 0.7157 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.203, allocations: 4 kB / 0.7157 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.203, allocations: 0 / 0.7157 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.203, allocations: 0 / 0.7157 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.2031, allocations: 85.03 kB / 0.7157 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.51e-05/0.2031, allocations: 15.88 kB / 0.7158 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.2032, allocations: 4 kB / 0.7158 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.417e-05/0.2032, allocations: 0 / 0.7158 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.892e-05/0.2032, allocations: 7.938 kB / 0.7158 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.2032, allocations: 0 / 0.7158 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001502/0.2033, allocations: 152.3 kB / 0.7159 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.2033, allocations: 0 / 0.7159 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000472/0.2038, allocations: 91.83 kB / 0.716 GB, free: 2.355 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.0009427/0.2048, allocations: 219.5 kB / 0.7162 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002507/0.205, allocations: 113.7 kB / 0.7163 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.205, allocations: 4.062 kB / 0.7163 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.821e-05/0.205, allocations: 15.98 kB / 0.7163 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001885/0.2052, allocations: 3.938 kB / 0.7163 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00048/0.2057, allocations: 220.3 kB / 0.7166 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.2061, allocations: 0.7041 MB / 0.7172 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.828e-05/0.2061, allocations: 7.922 kB / 0.7173 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.77e-05/0.2062, allocations: 11.44 kB / 0.7173 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of SimCode: time 6.01e-07/0.2062, allocations: 0 / 0.7173 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of Templates: time 0.006703/0.2129, allocations: 2.133 MB / 0.7193 GB, free: 14.89 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: 5.894359806552529] Failed to read output from testmodel.py, exit status != 0: 0.2212642775848508 0.23842544499999996 0.035497937 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7ff1a37197b0>