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.001588/0.001588, 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.001824/0.001824, allocations: 216.4 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.793 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.9532/0.9532, allocations: 145 MB / 458.2 MB, free: 15.25 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.002119/0.002119, allocations: 72.48 kB / 0.6343 GB, free: 6.23 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.1988, allocations: 87.89 MB / 0.7201 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d): time 0.001702/0.2005, allocations: 0.5083 MB / 0.7206 GB, free: 13.84 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002443/0.2029, allocations: 1.611 MB / 0.7222 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.165e-05/0.203, allocations: 0 / 0.7222 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001414/0.2031, allocations: 19.91 kB / 0.7222 GB, free: 12.19 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.694e-05/0.2031, allocations: 7.984 kB / 0.7222 GB, free: 12.18 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.0008851/0.204, allocations: 269.1 kB / 0.7225 GB, free: 11.92 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.003e-05/0.2041, allocations: 23.91 kB / 0.7225 GB, free: 11.89 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.188e-05/0.2041, allocations: 4 kB / 0.7225 GB, free: 11.89 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.465e-05/0.2042, allocations: 15.97 kB / 0.7225 GB, free: 11.88 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.875e-05/0.2042, allocations: 15.92 kB / 0.7225 GB, free: 11.86 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.2042, allocations: 0 / 0.7225 GB, free: 11.86 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007105/0.2049, allocations: 427.2 kB / 0.7229 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.059e-05/0.205, allocations: 19.92 kB / 0.723 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.554e-05/0.205, allocations: 19.88 kB / 0.723 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004018/0.2054, allocations: 283.2 kB / 0.7232 GB, free: 11.12 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2054, allocations: 0 / 0.7232 GB, free: 11.12 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2054, allocations: 0 / 0.7232 GB, free: 11.12 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.2054, allocations: 4 kB / 0.7232 GB, free: 11.12 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.0004396/0.2059, allocations: 335.4 kB / 0.7236 GB, free: 10.77 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.2059, allocations: 8.031 kB / 0.7236 GB, free: 10.76 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.238e-05/0.2059, allocations: 8.891 kB / 0.7236 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.2061, allocations: 127.2 kB / 0.7237 GB, free: 10.6 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.2061, allocations: 384 / 0.7237 GB, free: 10.6 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.296e-06/0.2061, allocations: 384 / 0.7237 GB, free: 10.6 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.763e-05/0.2062, allocations: 49.94 kB / 0.7238 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.2062, allocations: 0 / 0.7238 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-06/0.2062, allocations: 0 / 0.7238 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.377e-06/0.2062, allocations: 0 / 0.7238 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.31e-05/0.2063, allocations: 19.98 kB / 0.7238 GB, free: 10.53 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001585/0.2064, allocations: 121.3 kB / 0.7239 GB, free: 10.38 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.181e-05/0.2065, allocations: 34.5 kB / 0.7239 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.274e-05/0.2065, allocations: 12.92 kB / 0.7239 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.2065, allocations: 8 kB / 0.7239 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.2066, allocations: 42.48 kB / 0.724 GB, free: 10.26 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.2066, allocations: 4 kB / 0.724 GB, free: 10.26 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001536/0.2067, allocations: 65.56 kB / 0.724 GB, free: 10.19 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.2067, allocations: 55.41 kB / 0.7241 GB, free: 10.12 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.2069, allocations: 168.8 kB / 0.7243 GB, free: 9.949 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.2069, allocations: 29.7 kB / 0.7243 GB, free: 9.914 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.461e-05/0.207, allocations: 92.09 kB / 0.7244 GB, free: 9.82 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.816e-06/0.207, allocations: 0 / 0.7244 GB, free: 9.82 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.291e-05/0.207, allocations: 29.7 kB / 0.7244 GB, free: 9.785 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.2072, allocations: 322.8 kB / 0.7247 GB, free: 9.461 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.46e-05/0.2072, allocations: 39.98 kB / 0.7247 GB, free: 9.422 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.409e-05/0.2073, allocations: 40.11 kB / 0.7248 GB, free: 9.383 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.573e-05/0.2074, allocations: 76.81 kB / 0.7249 GB, free: 9.305 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.2074, allocations: 0 / 0.7249 GB, free: 9.305 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001581/0.2075, allocations: 125.6 kB / 0.725 GB, free: 9.176 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.2075, allocations: 4 kB / 0.725 GB, free: 9.172 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.2076, allocations: 7.875 kB / 0.725 GB, free: 9.164 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.2076, allocations: 0 / 0.725 GB, free: 9.164 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.132e-05/0.2076, allocations: 4 kB / 0.725 GB, free: 9.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.2076, allocations: 0 / 0.725 GB, free: 9.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.24e-05/0.2076, allocations: 7.891 kB / 0.725 GB, free: 9.152 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.2076, allocations: 0 / 0.725 GB, free: 9.152 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.0001433/0.2078, allocations: 137 kB / 0.7251 GB, free: 9.012 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.258e-05/0.2078, allocations: 7.953 kB / 0.7251 GB, free: 9.004 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.2079, allocations: 65.36 kB / 0.7252 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.2079, allocations: 0 / 0.7252 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.2079, allocations: 0 / 0.7252 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-06/0.2079, allocations: 0 / 0.7252 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.208, allocations: 117.3 kB / 0.7253 GB, free: 8.785 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.208, allocations: 4 kB / 0.7253 GB, free: 8.781 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.79e-06/0.208, allocations: 3.984 kB / 0.7253 GB, free: 8.777 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.208, allocations: 4.031 kB / 0.7253 GB, free: 8.773 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-06/0.208, allocations: 0 / 0.7253 GB, free: 8.773 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.208, allocations: 3.938 kB / 0.7253 GB, free: 8.77 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.208, allocations: 0 / 0.7253 GB, free: 8.77 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.048e-05/0.2081, allocations: 81.05 kB / 0.7254 GB, free: 8.672 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.214e-05/0.2081, allocations: 11.89 kB / 0.7254 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.2081, allocations: 0 / 0.7254 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.356e-05/0.2081, allocations: 3.938 kB / 0.7254 GB, free: 8.656 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.562e-05/0.2082, allocations: 3.938 kB / 0.7254 GB, free: 8.652 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.2082, allocations: 7.984 kB / 0.7254 GB, free: 8.645 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.874e-05/0.2083, allocations: 122.1 kB / 0.7256 GB, free: 8.527 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2083, allocations: 0 / 0.7256 GB, free: 8.527 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002963/0.2086, allocations: 87.8 kB / 0.7256 GB, free: 8.441 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.0005286/0.2091, allocations: 232.9 kB / 0.7259 GB, free: 8.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001622/0.2093, allocations: 97.66 kB / 0.7259 GB, free: 8.129 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2093, allocations: 0 / 0.7259 GB, free: 8.129 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.727e-05/0.2093, allocations: 11.94 kB / 0.726 GB, free: 8.117 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.2094, allocations: 4 kB / 0.726 GB, free: 8.113 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003054/0.2097, allocations: 206.8 kB / 0.7262 GB, free: 7.879 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.816e-05/0.2098, allocations: 79.06 kB / 0.7262 GB, free: 7.781 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.864e-05/0.2098, allocations: 11.44 kB / 0.7262 GB, free: 7.77 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.2098, allocations: 0 / 0.7262 GB, free: 7.77 MB / 0.545 GB Notification: Performance of Templates: time 0.004435/0.2143, allocations: 2.263 MB / 0.7285 GB, free: 5.504 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: 10.04585552494973] Failed to read output from testmodel.py, exit status != 0: 0.2227160600014031 0.23620775600000002 0.027869092 Calling exit ...