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.001034/0.001034, allocations: 80.39 kB / 20.98 MB, free: 3.574 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.001122/0.001122, allocations: 169 kB / 24.28 MB, free: 276 kB / 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 1.074/1.074, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.6454/0.6454, allocations: 110.2 MB / 371.3 MB, free: 12.53 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_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: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 475.1 MB, free: 15.27 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.782e-05/3.008e-05, allocations: 3.516 kB / 475.1 MB, free: 15.27 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d): time 0.001796/0.001826, allocations: 0.5325 MB / 475.7 MB, free: 14.96 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002392/0.004217, allocations: 1.642 MB / 477.3 MB, free: 13.86 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.649e-05/0.004264, allocations: 3.938 kB / 477.3 MB, free: 13.85 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001399/0.004404, allocations: 14.53 kB / 477.3 MB, free: 13.85 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.172e-05/0.004426, allocations: 13.61 kB / 477.3 MB, free: 13.85 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.0007378/0.005163, allocations: 267.4 kB / 477.6 MB, free: 13.74 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.72e-05/0.005231, allocations: 21.56 kB / 477.6 MB, free: 13.74 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.493e-05/0.005275, allocations: 10.98 kB / 477.6 MB, free: 13.73 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.72e-05/0.005313, allocations: 10.48 kB / 477.7 MB, free: 13.73 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.61e-05/0.005349, allocations: 19.19 kB / 477.7 MB, free: 13.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.005362, allocations: 1.031 kB / 477.7 MB, free: 13.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004518/0.005814, allocations: 423.9 kB / 478.1 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.544e-05/0.00586, allocations: 22.97 kB / 478.1 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.007e-05/0.00588, allocations: 6.766 kB / 478.1 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003169/0.006197, allocations: 346.2 kB / 478.5 MB, free: 13.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.006199, allocations: 1.031 kB / 478.5 MB, free: 13.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.0062, allocations: 0 / 478.5 MB, free: 13.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.006204, allocations: 0 / 478.5 MB, free: 13.5 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.00028/0.006484, allocations: 435.8 kB / 478.9 MB, free: 13.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.006516, allocations: 9.344 kB / 478.9 MB, free: 13.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.00655, allocations: 7.734 kB / 478.9 MB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.908e-05/0.006649, allocations: 127.9 kB / 479 MB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.006661, allocations: 3.844 kB / 479 MB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.276e-06/0.006669, allocations: 0.875 kB / 479 MB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.52e-05/0.006734, allocations: 39.11 kB / 479.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.879e-06/0.006739, allocations: 192 / 479.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.006747, allocations: 4.359 kB / 479.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.006753, allocations: 3.938 kB / 479.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.079e-05/0.006764, allocations: 0.5312 kB / 479.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.776e-05/0.006861, allocations: 142.9 kB / 479.2 MB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.83e-05/0.00689, allocations: 26.16 kB / 479.2 MB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.411e-05/0.006904, allocations: 11.69 kB / 479.2 MB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.731e-05/0.006941, allocations: 9.562 kB / 479.3 MB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.43e-05/0.006955, allocations: 42.64 kB / 479.3 MB, free: 12.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.006956, allocations: 0 / 479.3 MB, free: 12.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001043/0.007061, allocations: 38.34 kB / 479.3 MB, free: 12.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.804e-05/0.007079, allocations: 55.34 kB / 479.4 MB, free: 12.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.123e-05/0.00717, allocations: 225.4 kB / 479.6 MB, free: 12.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.141e-06/0.007176, allocations: 29.7 kB / 479.6 MB, free: 12.31 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.618e-05/0.007212, allocations: 147.9 kB / 479.8 MB, free: 12.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.347e-06/0.007222, allocations: 0 / 479.8 MB, free: 12.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3e-05/0.007252, allocations: 33.53 kB / 479.8 MB, free: 12.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000292/0.007544, allocations: 0.4967 MB / 480.3 MB, free: 27.64 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.89e-05/0.007562, allocations: 14.34 kB / 480.3 MB, free: 27.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.265e-05/0.007575, allocations: 8.344 kB / 480.3 MB, free: 27.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.363e-05/0.007649, allocations: 40.72 kB / 480.4 MB, free: 27.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.007651, allocations: 0 / 480.4 MB, free: 27.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 7.713e-05/0.007728, allocations: 68.41 kB / 480.4 MB, free: 27.58 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.00774, allocations: 5.375 kB / 480.4 MB, free: 27.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.007755, allocations: 3.25 kB / 480.5 MB, free: 27.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.007766, allocations: 0.5938 kB / 480.5 MB, free: 27.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.094e-05/0.007777, allocations: 0.625 kB / 480.5 MB, free: 27.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.007782, allocations: 3.938 kB / 480.5 MB, free: 27.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/0.007801, allocations: 12.64 kB / 480.5 MB, free: 27.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-06/0.007807, allocations: 4 kB / 480.5 MB, free: 27.57 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: 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 7.04e-05/0.007877, allocations: 163.3 kB / 480.6 MB, free: 27.41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.623e-06/0.007884, allocations: 10.64 kB / 480.6 MB, free: 27.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.303e-05/0.007947, allocations: 43.5 kB / 480.7 MB, free: 27.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.007949, allocations: 0 / 480.7 MB, free: 27.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.007953, allocations: 6.938 kB / 480.7 MB, free: 27.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.007955, allocations: 1.344 kB / 480.7 MB, free: 27.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.115e-05/0.008006, allocations: 132.2 kB / 480.8 MB, free: 27.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.008008, allocations: 0 / 480.8 MB, free: 27.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.505e-06/0.00801, allocations: 0.7812 kB / 480.8 MB, free: 27.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.008011, allocations: 0 / 480.8 MB, free: 27.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.598e-06/0.008016, allocations: 0.8125 kB / 480.8 MB, free: 27.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.008016, allocations: 2.656 kB / 480.8 MB, free: 27.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.008017, allocations: 1.406 kB / 480.8 MB, free: 27.21 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.473e-05/0.008052, allocations: 86.77 kB / 480.9 MB, free: 27.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.313e-06/0.008059, allocations: 7.453 kB / 480.9 MB, free: 27.11 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.546e-06/0.008068, allocations: 0 / 480.9 MB, free: 27.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.474e-06/0.008075, allocations: 6.531 kB / 480.9 MB, free: 27.11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.109e-05/0.008087, allocations: 0 / 480.9 MB, free: 27.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.008089, allocations: 7.219 kB / 480.9 MB, free: 27.11 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.471e-05/0.008144, allocations: 153.5 kB / 481.1 MB, free: 26.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008144, allocations: 0 / 481.1 MB, free: 26.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000215/0.008359, allocations: 87.14 kB / 481.2 MB, free: 26.97 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.0003685/0.008727, allocations: 258.5 kB / 481.4 MB, free: 26.83 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.668e-05/0.008824, allocations: 70.11 kB / 481.5 MB, free: 26.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.008825, allocations: 1.031 kB / 481.5 MB, free: 26.79 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.743e-06/0.008832, allocations: 14.59 kB / 481.5 MB, free: 26.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.974e-05/0.008932, allocations: 11 kB / 481.5 MB, free: 26.76 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001678/0.0091, allocations: 150 kB / 481.7 MB, free: 26.62 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.967e-05/0.009119, allocations: 69.28 kB / 481.7 MB, free: 26.55 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.26e-05/0.009132, allocations: 2.781 kB / 481.7 MB, free: 26.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.978e-06/0.009142, allocations: 9.125 kB / 481.7 MB, free: 26.54 MB / 426.7 MB Notification: Performance of SimCode: time 4.01e-07/0.009142, allocations: 0 / 481.7 MB, free: 26.54 MB / 426.7 MB Notification: Performance of Templates: time 0.003374/0.01252, allocations: 2.128 MB / 483.9 MB, free: 26.46 MB / 426.7 MB " [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=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6212578578852117]