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.0009849/0.0009849, allocations: 92.22 kB / 20.46 MB, free: 4.109 MB / 18.57 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.001638/0.001638, allocations: 157 kB / 23.82 MB, free: 0.7461 MB / 18.57 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 0.9647/0.9647, allocations: 177.1 MB / 204.2 MB, free: 5.617 MB / 186.7 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.6254/0.6254, allocations: 110.3 MB / 371 MB, free: 12.52 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0.875 kB / 475.1 MB, free: 15.21 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.222e-05/3.385e-05, allocations: 4.562 kB / 475.1 MB, free: 15.21 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d): time 0.001603/0.001637, allocations: 0.5291 MB / 475.7 MB, free: 14.91 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.003557, allocations: 1.648 MB / 477.3 MB, free: 13.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.854e-05/0.003606, allocations: 0 / 477.3 MB, free: 13.8 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002308/0.003837, allocations: 70.31 kB / 477.4 MB, free: 13.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.644e-05/0.003873, allocations: 27.42 kB / 477.4 MB, free: 13.79 MB / 410.7 MB [/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.0009427/0.004816, allocations: 271.2 kB / 477.7 MB, free: 13.68 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.67e-05/0.004912, allocations: 32.48 kB / 477.7 MB, free: 13.68 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.48e-05/0.004957, allocations: 6.844 kB / 477.7 MB, free: 13.67 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.04e-05/0.005008, allocations: 19.88 kB / 477.7 MB, free: 13.67 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.437e-05/0.005072, allocations: 43.78 kB / 477.8 MB, free: 13.67 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.005091, allocations: 2.625 kB / 477.8 MB, free: 13.67 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005636/0.005654, allocations: 437 kB / 478.2 MB, free: 13.54 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.65e-05/0.005721, allocations: 24.12 kB / 478.2 MB, free: 13.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.759e-05/0.005748, allocations: 17.08 kB / 478.3 MB, free: 13.53 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000404/0.006153, allocations: 341.2 kB / 478.6 MB, free: 13.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.006155, allocations: 1.125 kB / 478.6 MB, free: 13.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.006155, allocations: 0 / 478.6 MB, free: 13.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.006161, allocations: 3.938 kB / 478.6 MB, free: 13.43 MB / 410.7 MB 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.0003807/0.006542, allocations: 465.7 kB / 479 MB, free: 12.99 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.006587, allocations: 11.31 kB / 479.1 MB, free: 12.99 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/0.006632, allocations: 8.078 kB / 479.1 MB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.006776, allocations: 137.5 kB / 479.2 MB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.006791, allocations: 4.938 kB / 479.2 MB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.0068, allocations: 384 / 479.2 MB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.361e-05/0.006884, allocations: 34.23 kB / 479.2 MB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.006894, allocations: 192 / 479.2 MB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.006904, allocations: 384 / 479.2 MB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.006914, allocations: 6.281 kB / 479.2 MB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.528e-05/0.00693, allocations: 6.375 kB / 479.3 MB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001496/0.007079, allocations: 154.1 kB / 479.4 MB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.018e-05/0.007119, allocations: 34.2 kB / 479.4 MB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.692e-05/0.007136, allocations: 7.688 kB / 479.4 MB, free: 12.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.93e-05/0.007185, allocations: 13.28 kB / 479.5 MB, free: 12.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.007204, allocations: 40.2 kB / 479.5 MB, free: 12.53 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.007205, allocations: 0.8125 kB / 479.5 MB, free: 12.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001253/0.00733, allocations: 49.55 kB / 479.5 MB, free: 12.49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.407e-05/0.007354, allocations: 55.34 kB / 479.6 MB, free: 12.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.00748, allocations: 258.2 kB / 479.9 MB, free: 12.22 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.791e-06/0.007485, allocations: 25.7 kB / 479.9 MB, free: 12.19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.777e-05/0.007533, allocations: 162 kB / 480 MB, free: 12.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.016e-05/0.007543, allocations: 0 / 480 MB, free: 12.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.007579, allocations: 39.81 kB / 480.1 MB, free: 12.01 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003551/0.007934, allocations: 0.5041 MB / 480.6 MB, free: 27.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.468e-05/0.007959, allocations: 13.91 kB / 480.6 MB, free: 27.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.551e-05/0.007974, allocations: 10.28 kB / 480.6 MB, free: 27.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.696e-05/0.008021, allocations: 47.36 kB / 480.6 MB, free: 27.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.008023, allocations: 0 / 480.6 MB, free: 27.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 8.131e-05/0.008105, allocations: 93.77 kB / 480.7 MB, free: 27.43 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.008119, allocations: 9.125 kB / 480.7 MB, free: 27.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.008134, allocations: 1.562 kB / 480.8 MB, free: 27.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.00815, allocations: 2.906 kB / 480.8 MB, free: 27.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.603e-05/0.008166, allocations: 0 / 480.8 MB, free: 27.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.008173, allocations: 3.938 kB / 480.8 MB, free: 27.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.478e-05/0.008198, allocations: 7.578 kB / 480.8 MB, free: 27.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.008206, allocations: 1.406 kB / 480.8 MB, free: 27.43 MB / 426.7 MB 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 7.586e-05/0.008281, allocations: 165.7 kB / 480.9 MB, free: 27.26 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.494e-06/0.008289, allocations: 10.59 kB / 480.9 MB, free: 27.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.176e-05/0.008371, allocations: 46.45 kB / 481 MB, free: 27.21 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.008372, allocations: 0.75 kB / 481 MB, free: 27.21 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.008377, allocations: 3.938 kB / 481 MB, free: 27.21 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.00838, allocations: 4.875 kB / 481 MB, free: 27.21 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.4e-05/0.008454, allocations: 152.3 kB / 481.1 MB, free: 27.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.008455, allocations: 0 / 481.1 MB, free: 27.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.035e-06/0.008458, allocations: 0.9062 kB / 481.1 MB, free: 27.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.008461, allocations: 4 kB / 481.1 MB, free: 27.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.008469, allocations: 7.406 kB / 481.2 MB, free: 27.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.00847, allocations: 0 / 481.2 MB, free: 27.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.008471, allocations: 0 / 481.2 MB, free: 27.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.422e-05/0.008516, allocations: 77.34 kB / 481.2 MB, free: 26.96 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.155e-05/0.008527, allocations: 11.19 kB / 481.2 MB, free: 26.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.008539, allocations: 3.031 kB / 481.2 MB, free: 26.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.973e-06/0.008546, allocations: 1.062 kB / 481.2 MB, free: 26.95 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.89e-05/0.008565, allocations: 0 / 481.2 MB, free: 26.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.008568, allocations: 3.938 kB / 481.2 MB, free: 26.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.017e-05/0.008648, allocations: 177.1 kB / 481.4 MB, free: 26.82 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008648, allocations: 2.781 kB / 481.4 MB, free: 26.82 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002435/0.008892, allocations: 82.48 kB / 481.5 MB, free: 26.8 MB / 426.7 MB 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.0004246/0.009317, allocations: 263.6 kB / 481.8 MB, free: 26.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001387/0.009455, allocations: 76.47 kB / 481.8 MB, free: 26.63 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.009458, allocations: 0 / 481.8 MB, free: 26.63 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.133e-06/0.009465, allocations: 14.69 kB / 481.9 MB, free: 26.62 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001176/0.009582, allocations: 8.438 kB / 481.9 MB, free: 26.61 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002677/0.00985, allocations: 193.1 kB / 482 MB, free: 26.45 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.235e-05/0.009882, allocations: 65.44 kB / 482.1 MB, free: 26.38 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.86e-05/0.009901, allocations: 7.562 kB / 482.1 MB, free: 26.38 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.489e-05/0.009916, allocations: 10.94 kB / 482.1 MB, free: 26.37 MB / 426.7 MB Notification: Performance of SimCode: time 4.3e-07/0.009916, allocations: 0 / 482.1 MB, free: 26.37 MB / 426.7 MB Notification: Performance of Templates: time 0.005189/0.0151, allocations: 2.524 MB / 484.7 MB, free: 26.23 MB / 426.7 MB " [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=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4260367089882493]