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.001459/0.001459, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001589/0.001589, allocations: 211.1 kB / 23.01 MB, free: 4.57 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.324/1.324, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.8671/0.8671, allocations: 145 MB / 458.2 MB, free: 15.49 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.001888/0.001888, allocations: 71.8 kB / 0.6344 GB, free: 6.828 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.147, allocations: 87.89 MB / 0.7202 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d): time 0.001633/0.1486, allocations: 0.5173 MB / 0.7207 GB, free: 14.44 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002302/0.1509, allocations: 1.685 MB / 0.7223 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.772e-05/0.1509, allocations: 0 / 0.7223 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001767/0.1511, allocations: 59.84 kB / 0.7224 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.196e-05/0.1512, allocations: 39.89 kB / 0.7224 GB, free: 12.64 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.0008599/0.152, allocations: 259.3 kB / 0.7227 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.822e-05/0.1521, allocations: 39.84 kB / 0.7227 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.1521, allocations: 4 kB / 0.7227 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.393e-05/0.1522, allocations: 23.95 kB / 0.7227 GB, free: 12.32 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.922e-05/0.1523, allocations: 43.89 kB / 0.7228 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.1523, allocations: 4 kB / 0.7228 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007115/0.153, allocations: 467.2 kB / 0.7232 GB, free: 11.81 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.351e-05/0.153, allocations: 31.91 kB / 0.7233 GB, free: 11.78 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.038e-05/0.1531, allocations: 19.75 kB / 0.7233 GB, free: 11.76 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004193/0.1535, allocations: 299.1 kB / 0.7236 GB, free: 11.47 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.1535, allocations: 0 / 0.7236 GB, free: 11.47 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1535, allocations: 0 / 0.7236 GB, free: 11.47 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.1535, allocations: 0 / 0.7236 GB, free: 11.47 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.0004583/0.1539, allocations: 365.3 kB / 0.7239 GB, free: 11.08 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.154, allocations: 12.03 kB / 0.7239 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.601e-05/0.154, allocations: 12.89 kB / 0.7239 GB, free: 11.06 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.1542, allocations: 138.9 kB / 0.7241 GB, free: 10.9 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.1542, allocations: 4.312 kB / 0.7241 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.183e-06/0.1542, allocations: 384 / 0.7241 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.001e-05/0.1543, allocations: 42 kB / 0.7241 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.1543, allocations: 0 / 0.7241 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.1543, allocations: 4 kB / 0.7241 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.1543, allocations: 0 / 0.7241 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.72e-05/0.1543, allocations: 12 kB / 0.7241 GB, free: 10.83 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000178/0.1545, allocations: 164.7 kB / 0.7243 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.732e-05/0.1546, allocations: 26.52 kB / 0.7243 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.368e-05/0.1546, allocations: 20.84 kB / 0.7243 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.474e-05/0.1546, allocations: 11.98 kB / 0.7244 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.1546, allocations: 38.5 kB / 0.7244 GB, free: 10.51 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.1546, allocations: 0 / 0.7244 GB, free: 10.51 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001508/0.1548, allocations: 69.62 kB / 0.7245 GB, free: 10.44 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.1548, allocations: 51.41 kB / 0.7245 GB, free: 10.38 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.155, allocations: 218.6 kB / 0.7247 GB, free: 10.15 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.1551, allocations: 25.7 kB / 0.7247 GB, free: 10.12 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.174e-05/0.1551, allocations: 112 kB / 0.7248 GB, free: 10 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.927e-06/0.1551, allocations: 0 / 0.7248 GB, free: 10 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.382e-05/0.1552, allocations: 29.7 kB / 0.7249 GB, free: 9.969 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1553, allocations: 327 kB / 0.7252 GB, free: 9.641 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.695e-05/0.1554, allocations: 59.97 kB / 0.7252 GB, free: 9.582 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.119e-05/0.1554, allocations: 51.98 kB / 0.7253 GB, free: 9.531 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.934e-05/0.1555, allocations: 99.72 kB / 0.7254 GB, free: 9.434 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1555, allocations: 0 / 0.7254 GB, free: 9.434 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001769/0.1557, allocations: 149.6 kB / 0.7255 GB, free: 9.281 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1557, allocations: 11.94 kB / 0.7255 GB, free: 9.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.1557, allocations: 0 / 0.7255 GB, free: 9.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.1558, allocations: 0 / 0.7255 GB, free: 9.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.378e-05/0.1558, allocations: 3.938 kB / 0.7255 GB, free: 9.266 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.1558, allocations: 64 / 0.7255 GB, free: 9.266 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.883e-05/0.1558, allocations: 23.78 kB / 0.7256 GB, free: 9.242 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.1558, allocations: 3.984 kB / 0.7256 GB, free: 9.238 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.0001311/0.1559, allocations: 133.8 kB / 0.7257 GB, free: 9.098 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.89e-05/0.156, allocations: 11.89 kB / 0.7257 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.1561, allocations: 62.17 kB / 0.7258 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.1561, allocations: 0 / 0.7258 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1561, allocations: 4 kB / 0.7258 GB, free: 9.012 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1561, allocations: 4.031 kB / 0.7258 GB, free: 9.008 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.1562, allocations: 152.7 kB / 0.7259 GB, free: 8.816 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.1562, allocations: 0 / 0.7259 GB, free: 8.816 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.008e-06/0.1562, allocations: 0 / 0.7259 GB, free: 8.816 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.1562, allocations: 7.875 kB / 0.7259 GB, free: 8.809 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.1562, allocations: 3.984 kB / 0.7259 GB, free: 8.805 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.1562, allocations: 0 / 0.7259 GB, free: 8.805 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1562, allocations: 3.938 kB / 0.7259 GB, free: 8.801 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.715e-05/0.1563, allocations: 89.08 kB / 0.726 GB, free: 8.695 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.833e-05/0.1563, allocations: 15.84 kB / 0.726 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.1563, allocations: 0 / 0.726 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.254e-05/0.1564, allocations: 0 / 0.726 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.937e-06/0.1564, allocations: 0 / 0.726 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.1564, allocations: 4 kB / 0.726 GB, free: 8.676 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001231/0.1565, allocations: 148.4 kB / 0.7262 GB, free: 8.531 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1565, allocations: 0 / 0.7262 GB, free: 8.531 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003131/0.1568, allocations: 91.73 kB / 0.7263 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.0004858/0.1573, allocations: 241.7 kB / 0.7265 GB, free: 8.215 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001752/0.1575, allocations: 113.6 kB / 0.7266 GB, free: 8.098 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1575, allocations: 0 / 0.7266 GB, free: 8.098 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.748e-05/0.1575, allocations: 16.06 kB / 0.7266 GB, free: 8.082 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.1576, allocations: 3.75 kB / 0.7266 GB, free: 8.078 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003382/0.158, allocations: 242.4 kB / 0.7269 GB, free: 7.812 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.1583, allocations: 0.7041 MB / 0.7275 GB, free: 7.082 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.631e-05/0.1583, allocations: 7.438 kB / 0.7276 GB, free: 7.074 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.1583, allocations: 0 / 0.7276 GB, free: 7.074 MB / 0.545 GB Notification: Performance of Templates: time 0.004521/0.1628, allocations: 2.38 MB / 0.7299 GB, free: 4.691 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: 8.883623644011095] Failed to read output from testmodel.py, exit status != 0: 0.17097482085227966 0.18502960000000002 0.028590827000000003 Calling exit ...