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.001813/0.001813, 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.002009/0.002009, 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.397/1.397, 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.9158/0.9158, 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_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.002551/0.002551, allocations: 62.33 kB / 0.6231 GB, free: 34.96 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.2016, allocations: 86.64 MB / 0.7078 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d): time 0.001844/0.2034, allocations: 0.5271 MB / 0.7083 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002689/0.2061, allocations: 1.638 MB / 0.7099 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.229e-05/0.2061, allocations: 0 / 0.7099 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002294/0.2064, allocations: 63.83 kB / 0.7099 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.05e-05/0.2064, allocations: 27.95 kB / 0.71 GB, free: 15.61 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.0009781/0.2074, allocations: 254.4 kB / 0.7102 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.703e-05/0.2075, allocations: 27.91 kB / 0.7102 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.902e-05/0.2075, allocations: 4 kB / 0.7102 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.297e-05/0.2076, allocations: 27.89 kB / 0.7103 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.992e-05/0.2076, allocations: 43.89 kB / 0.7103 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.2077, allocations: 0 / 0.7103 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006144/0.2083, allocations: 371.4 kB / 0.7107 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.523e-05/0.2083, allocations: 19.92 kB / 0.7107 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.093e-05/0.2084, allocations: 35.67 kB / 0.7107 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004258/0.2088, allocations: 295.1 kB / 0.711 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2088, allocations: 0 / 0.711 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2088, allocations: 0 / 0.711 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.2088, allocations: 0 / 0.711 GB, free: 14.55 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.0005501/0.2094, allocations: 438.4 kB / 0.7114 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.2094, allocations: 12.03 kB / 0.7114 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.121e-05/0.2094, allocations: 8.844 kB / 0.7114 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.2097, allocations: 205.2 kB / 0.7116 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.2097, allocations: 384 / 0.7116 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.2097, allocations: 384 / 0.7116 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.2098, allocations: 45.95 kB / 0.7117 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.2098, allocations: 4 kB / 0.7117 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.2098, allocations: 3.984 kB / 0.7117 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.2098, allocations: 0 / 0.7117 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.56e-05/0.2099, allocations: 19.94 kB / 0.7117 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002206/0.2101, allocations: 177.7 kB / 0.7119 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.216e-05/0.2101, allocations: 30.58 kB / 0.7119 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.968e-05/0.2102, allocations: 20.84 kB / 0.7119 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.775e-05/0.2102, allocations: 8 kB / 0.7119 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.2102, allocations: 34.5 kB / 0.7119 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.2102, allocations: 0 / 0.7119 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001841/0.2104, allocations: 69.58 kB / 0.712 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.2105, allocations: 55.53 kB / 0.7121 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.2107, allocations: 220 kB / 0.7123 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.2107, allocations: 25.7 kB / 0.7123 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.373e-05/0.2108, allocations: 100.1 kB / 0.7124 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.003e-05/0.2108, allocations: 0 / 0.7124 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-05/0.2108, allocations: 33.7 kB / 0.7124 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.211, allocations: 322.8 kB / 0.7127 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.186e-05/0.2111, allocations: 59.91 kB / 0.7128 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.714e-05/0.2111, allocations: 59.98 kB / 0.7129 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.2112, allocations: 88.78 kB / 0.7129 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2112, allocations: 0 / 0.7129 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001957/0.2114, allocations: 171.9 kB / 0.7131 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.2114, allocations: 11.94 kB / 0.7131 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.2115, allocations: 0 / 0.7131 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.2115, allocations: 0 / 0.7131 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.434e-05/0.2115, allocations: 0 / 0.7131 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.2115, allocations: 0 / 0.7131 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.421e-05/0.2115, allocations: 7.953 kB / 0.7131 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.2115, allocations: 0 / 0.7131 GB, free: 12.15 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.0001876/0.2117, allocations: 145.8 kB / 0.7133 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.669e-05/0.2117, allocations: 15.84 kB / 0.7133 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.2119, allocations: 62.23 kB / 0.7133 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.2119, allocations: 0 / 0.7133 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/0.2119, allocations: 4 kB / 0.7133 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2119, allocations: 0 / 0.7133 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.212, allocations: 177.7 kB / 0.7135 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.212, allocations: 8.031 kB / 0.7135 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.138e-06/0.212, allocations: 0 / 0.7135 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.212, allocations: 3.938 kB / 0.7135 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.212, allocations: 4 kB / 0.7135 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.212, allocations: 0 / 0.7135 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.212, allocations: 3.984 kB / 0.7135 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.81e-05/0.2121, allocations: 88.97 kB / 0.7136 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.989e-05/0.2122, allocations: 89 kB / 0.7137 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.2122, allocations: 7.969 kB / 0.7137 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.234e-05/0.2122, allocations: 0 / 0.7137 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.631e-05/0.2122, allocations: 0 / 0.7137 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.2123, allocations: 0 / 0.7137 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001229/0.2124, allocations: 147.2 kB / 0.7138 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.2124, allocations: 0 / 0.7138 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003174/0.2127, allocations: 87.8 kB / 0.7139 GB, free: 11.22 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.000583/0.2133, allocations: 232.2 kB / 0.7141 GB, free: 11 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002101/0.2135, allocations: 113.7 kB / 0.7143 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2135, allocations: 7.875 kB / 0.7143 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.831e-05/0.2135, allocations: 11.98 kB / 0.7143 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001543/0.2137, allocations: 11.94 kB / 0.7143 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003801/0.214, allocations: 221.8 kB / 0.7145 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.2144, allocations: 0.7002 MB / 0.7152 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.225e-05/0.2144, allocations: 4 kB / 0.7152 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.736e-05/0.2144, allocations: 7.438 kB / 0.7152 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of SimCode: time 4.21e-07/0.2144, allocations: 0 / 0.7152 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of Templates: time 0.005859/0.2203, allocations: 2.121 MB / 0.7173 GB, free: 7.75 MB / 0.5294 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.766276381909847]