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.0009516/0.0009516, allocations: 92.22 kB / 20.45 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.00088/0.00088, 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.9482/0.9482, allocations: 177.1 MB / 204.2 MB, free: 5.605 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.6027/0.6027, allocations: 110.2 MB / 371 MB, free: 12.5 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.194e-06/2.194e-06, allocations: 0 / 475.1 MB, free: 15.29 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.197e-05/3.416e-05, allocations: 5.875 kB / 475.2 MB, free: 15.28 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d): time 0.00148/0.001514, allocations: 0.5322 MB / 475.7 MB, free: 14.98 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002588/0.004102, allocations: 1.644 MB / 477.3 MB, free: 13.88 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.743e-05/0.00416, allocations: 3.688 kB / 477.3 MB, free: 13.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002014/0.004361, allocations: 18.56 kB / 477.4 MB, free: 13.87 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.985e-05/0.004391, allocations: 8.578 kB / 477.4 MB, free: 13.87 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.0009849/0.005376, allocations: 271.6 kB / 477.6 MB, free: 13.76 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.709e-05/0.005463, allocations: 28.05 kB / 477.7 MB, free: 13.75 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.827e-05/0.005511, allocations: 8.375 kB / 477.7 MB, free: 13.75 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.985e-05/0.005561, allocations: 16.33 kB / 477.7 MB, free: 13.75 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.177e-05/0.005603, allocations: 11.48 kB / 477.7 MB, free: 13.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.005622, allocations: 2.625 kB / 477.7 MB, free: 13.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006473/0.006269, allocations: 432.9 kB / 478.1 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.999e-05/0.006329, allocations: 23.47 kB / 478.1 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.448e-05/0.006353, allocations: 4.594 kB / 478.1 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004495/0.006803, allocations: 336.6 kB / 478.5 MB, free: 13.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.006807, allocations: 0 / 478.5 MB, free: 13.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.00681, allocations: 1.312 kB / 478.5 MB, free: 13.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.637e-06/0.006818, allocations: 3.328 kB / 478.5 MB, free: 13.52 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.0004273/0.007245, allocations: 439.8 kB / 478.9 MB, free: 13.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.007292, allocations: 7.375 kB / 478.9 MB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.704e-05/0.007339, allocations: 8.453 kB / 478.9 MB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.007483, allocations: 129 kB / 479 MB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.007494, allocations: 3 kB / 479 MB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.007505, allocations: 4.312 kB / 479.1 MB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.51e-05/0.0076, allocations: 29.27 kB / 479.1 MB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.007607, allocations: 1.188 kB / 479.1 MB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.007619, allocations: 384 / 479.1 MB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.007629, allocations: 5.938 kB / 479.1 MB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.495e-05/0.007644, allocations: 10.42 kB / 479.1 MB, free: 12.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001475/0.007791, allocations: 140.8 kB / 479.2 MB, free: 12.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.399e-05/0.007835, allocations: 26.12 kB / 479.3 MB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.869e-05/0.007854, allocations: 7.688 kB / 479.3 MB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.565e-05/0.007909, allocations: 9.734 kB / 479.3 MB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.007928, allocations: 33.39 kB / 479.3 MB, free: 12.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.007929, allocations: 1.844 kB / 479.3 MB, free: 12.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001512/0.00808, allocations: 45.75 kB / 479.4 MB, free: 12.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.008111, allocations: 55.34 kB / 479.4 MB, free: 12.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004314/0.008542, allocations: 222.2 kB / 479.6 MB, free: 28.36 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.008553, allocations: 27.05 kB / 479.7 MB, free: 28.33 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.227e-05/0.008615, allocations: 147.2 kB / 479.8 MB, free: 28.19 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.465e-05/0.00863, allocations: 0 / 479.8 MB, free: 28.19 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.482e-05/0.008674, allocations: 37.56 kB / 479.8 MB, free: 28.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.008799, allocations: 0.4918 MB / 480.3 MB, free: 27.66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.692e-05/0.008826, allocations: 12.53 kB / 480.3 MB, free: 27.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.701e-05/0.008843, allocations: 11.78 kB / 480.4 MB, free: 27.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.171e-05/0.008894, allocations: 34.77 kB / 480.4 MB, free: 27.64 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.008898, allocations: 0 / 480.4 MB, free: 27.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 9.851e-05/0.008997, allocations: 78.66 kB / 480.5 MB, free: 27.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.009014, allocations: 4.781 kB / 480.5 MB, free: 27.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/0.009034, allocations: 0 / 480.5 MB, free: 27.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.009051, allocations: 4.781 kB / 480.5 MB, free: 27.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.113e-05/0.009072, allocations: 0 / 480.5 MB, free: 27.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.009079, allocations: 3.938 kB / 480.5 MB, free: 27.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.279e-05/0.009102, allocations: 13.8 kB / 480.5 MB, free: 27.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.009112, allocations: 0 / 480.5 MB, free: 27.59 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 0.0001119/0.009224, allocations: 165.2 kB / 480.7 MB, free: 27.43 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-06/0.009234, allocations: 6.922 kB / 480.7 MB, free: 27.42 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001415/0.009375, allocations: 42.58 kB / 480.7 MB, free: 27.39 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.009379, allocations: 0 / 480.7 MB, free: 27.39 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.009386, allocations: 7.938 kB / 480.7 MB, free: 27.38 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.009391, allocations: 0.6562 kB / 480.7 MB, free: 27.38 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.922e-05/0.00948, allocations: 136.9 kB / 480.8 MB, free: 27.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.009482, allocations: 1.438 kB / 480.8 MB, free: 27.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.012e-06/0.009488, allocations: 0 / 480.8 MB, free: 27.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.009492, allocations: 2.625 kB / 480.8 MB, free: 27.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.009499, allocations: 0 / 480.8 MB, free: 27.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.009501, allocations: 1.156 kB / 480.8 MB, free: 27.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.009503, allocations: 0 / 480.8 MB, free: 27.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.681e-05/0.00957, allocations: 83.97 kB / 480.9 MB, free: 27.14 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.356e-05/0.009584, allocations: 7.453 kB / 480.9 MB, free: 27.13 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.009595, allocations: 4.156 kB / 480.9 MB, free: 27.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.876e-06/0.009604, allocations: 0 / 480.9 MB, free: 27.13 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.088e-05/0.009625, allocations: 0 / 480.9 MB, free: 27.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.00963, allocations: 11.2 kB / 481 MB, free: 27.12 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.102e-05/0.009711, allocations: 154.3 kB / 481.1 MB, free: 27 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009711, allocations: 3 kB / 481.1 MB, free: 27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003343/0.01005, allocations: 86.25 kB / 481.2 MB, free: 26.98 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.000605/0.01065, allocations: 264 kB / 481.4 MB, free: 26.85 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001961/0.01085, allocations: 69.81 kB / 481.5 MB, free: 26.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.01085, allocations: 0 / 481.5 MB, free: 26.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.712e-06/0.01086, allocations: 10.34 kB / 481.5 MB, free: 26.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001406/0.011, allocations: 10.66 kB / 481.5 MB, free: 26.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003398/0.01134, allocations: 144.4 kB / 481.7 MB, free: 26.65 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.176e-05/0.01138, allocations: 65.3 kB / 481.7 MB, free: 26.58 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.312e-05/0.0114, allocations: 2.344 kB / 481.7 MB, free: 26.58 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.299e-05/0.01142, allocations: 12.44 kB / 481.8 MB, free: 26.57 MB / 426.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01142, allocations: 2.875 kB / 481.8 MB, free: 26.57 MB / 426.7 MB Notification: Performance of Templates: time 0.006259/0.01768, allocations: 2.524 MB / 484.3 MB, free: 26.43 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.507540109101683]