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.001551/0.001551, allocations: 80.92 kB / 20.75 MB, free: 3.738 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.001488/0.001488, allocations: 165 kB / 24.17 MB, free: 328 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 0.9825/0.9825, allocations: 177.1 MB / 204.6 MB, free: 5.008 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.6221/0.6221, allocations: 110.2 MB / 371.3 MB, free: 12.22 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.573e-06/1.573e-06, allocations: 0 / 422.4 MB, free: 9.355 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.711e-05/1.869e-05, allocations: 6.25 kB / 422.4 MB, free: 9.348 MB / 394.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d): time 0.004454/0.004473, allocations: 0.5833 MB / 423 MB, free: 8.762 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001925/0.006398, allocations: 1.657 MB / 424.6 MB, free: 7.086 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.934e-05/0.006428, allocations: 4 kB / 424.6 MB, free: 7.082 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001624/0.00659, allocations: 59.83 kB / 424.7 MB, free: 7.023 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 3.492e-05/0.006625, allocations: 31.95 kB / 424.7 MB, free: 6.992 MB / 394.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'. Notification: Performance of NFTyping.typeClassSections: time 0.003674/0.0103, allocations: 239 kB / 424.9 MB, free: 6.758 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 7.279e-05/0.01037, allocations: 35.91 kB / 425 MB, free: 6.723 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.931e-05/0.0104, allocations: 0 / 425 MB, free: 6.723 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.668e-05/0.01045, allocations: 27.89 kB / 425 MB, free: 6.695 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.271e-05/0.0105, allocations: 39.89 kB / 425.1 MB, free: 6.656 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.01051, allocations: 0 / 425.1 MB, free: 6.656 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/IBPSA/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: 'inertia' is used uninitialized and may cause unexpected behaviour. This is deprecated and will become an error in future releases. Notification: Performance of NFFlatten.collectFunctions: time 0.0006098/0.01112, allocations: 455.1 kB / 425.5 MB, free: 6.211 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.863e-05/0.01117, allocations: 27.91 kB / 425.5 MB, free: 6.184 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.657e-05/0.01119, allocations: 11.94 kB / 425.5 MB, free: 6.172 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003735/0.01156, allocations: 351 kB / 425.9 MB, free: 5.828 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.01156, allocations: 4 kB / 425.9 MB, free: 5.824 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.01156, allocations: 0 / 425.9 MB, free: 5.824 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.01157, allocations: 0 / 425.9 MB, free: 5.824 MB / 394.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.000334/0.0119, allocations: 335.9 kB / 426.2 MB, free: 5.473 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.846e-05/0.01193, allocations: 8.031 kB / 426.2 MB, free: 5.465 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.457e-05/0.01195, allocations: 4.938 kB / 426.2 MB, free: 5.461 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.01208, allocations: 141.3 kB / 426.4 MB, free: 5.297 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.262e-06/0.01208, allocations: 384 / 426.4 MB, free: 5.297 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-06/0.01209, allocations: 4.375 kB / 426.4 MB, free: 5.293 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.903e-05/0.01215, allocations: 41.08 kB / 426.4 MB, free: 5.246 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.01215, allocations: 192 / 426.4 MB, free: 5.246 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.91e-06/0.01216, allocations: 384 / 426.4 MB, free: 5.246 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.01216, allocations: 3.938 kB / 426.4 MB, free: 5.242 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.084e-05/0.01218, allocations: 11.92 kB / 426.4 MB, free: 5.23 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.039e-05/0.01227, allocations: 74.66 kB / 426.5 MB, free: 5.141 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.818e-05/0.01229, allocations: 18.58 kB / 426.5 MB, free: 5.113 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.187e-06/0.0123, allocations: 4.859 kB / 426.5 MB, free: 5.105 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.01233, allocations: 12.08 kB / 426.5 MB, free: 5.094 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/0.01235, allocations: 30.56 kB / 426.6 MB, free: 5.055 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 6.81e-07/0.01235, allocations: 4 kB / 426.6 MB, free: 5.051 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 7.473e-05/0.01243, allocations: 41.62 kB / 426.6 MB, free: 5.004 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.01245, allocations: 51.41 kB / 426.7 MB, free: 4.941 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.01256, allocations: 187.3 kB / 426.8 MB, free: 4.746 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.01257, allocations: 25.7 kB / 426.9 MB, free: 4.715 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.316e-05/0.01261, allocations: 92.11 kB / 427 MB, free: 4.621 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.001e-05/0.01262, allocations: 7.984 kB / 427 MB, free: 4.613 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.565e-05/0.01265, allocations: 25.69 kB / 427 MB, free: 4.582 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.669e-05/0.01273, allocations: 326.8 kB / 427.3 MB, free: 4.254 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.986e-05/0.01275, allocations: 14.83 kB / 427.3 MB, free: 4.238 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.282e-05/0.01276, allocations: 16.12 kB / 427.3 MB, free: 4.223 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.987e-05/0.0128, allocations: 35.66 kB / 427.4 MB, free: 4.184 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.0128, allocations: 0 / 427.4 MB, free: 4.184 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 7.339e-05/0.01287, allocations: 77.56 kB / 427.4 MB, free: 4.102 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/0.01288, allocations: 4 kB / 427.4 MB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.01289, allocations: 0 / 427.4 MB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.0129, allocations: 4 kB / 427.5 MB, free: 4.094 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.165e-06/0.01291, allocations: 0 / 427.5 MB, free: 4.094 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.863e-06/0.01291, allocations: 0 / 427.5 MB, free: 4.094 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.254e-05/0.01294, allocations: 19.78 kB / 427.5 MB, free: 4.074 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.01294, allocations: 0 / 427.5 MB, free: 4.074 MB / 394.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 (labels[1],labels[2],labels[3],labels[4],labels[5],labels[6],cluster_size[1],cluster_size[2],cluster_size[3],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 6.348e-05/0.01301, allocations: 128.8 kB / 427.6 MB, free: 3.938 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003024/0.01603, allocations: 4 kB / 427.6 MB, free: 3.934 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.037e-05/0.01612, allocations: 42.12 kB / 427.6 MB, free: 3.883 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.01612, allocations: 0 / 427.6 MB, free: 3.883 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.01612, allocations: 0 / 427.6 MB, free: 3.883 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.01613, allocations: 0 / 427.6 MB, free: 3.883 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.252e-05/0.0162, allocations: 85.8 kB / 427.7 MB, free: 3.781 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.0162, allocations: 0 / 427.7 MB, free: 3.781 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.175e-06/0.01621, allocations: 8 kB / 427.7 MB, free: 3.773 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.01621, allocations: 4.031 kB / 427.7 MB, free: 3.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-06/0.01621, allocations: 0 / 427.7 MB, free: 3.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.01622, allocations: 3.984 kB / 427.7 MB, free: 3.766 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.01622, allocations: 0 / 427.7 MB, free: 3.766 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.891e-05/0.01627, allocations: 62.73 kB / 427.8 MB, free: 3.684 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.267e-05/0.01628, allocations: 15.89 kB / 427.8 MB, free: 3.668 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.626e-06/0.01629, allocations: 0 / 427.8 MB, free: 3.668 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.153e-05/0.0163, allocations: 0 / 427.8 MB, free: 3.668 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.066e-05/0.01631, allocations: 4 kB / 427.8 MB, free: 3.664 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.01631, allocations: 0 / 427.8 MB, free: 3.664 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.82e-05/0.01637, allocations: 56.94 kB / 427.9 MB, free: 3.605 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01637, allocations: 0 / 427.9 MB, free: 3.605 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002592/0.01663, allocations: 83.8 kB / 428 MB, free: 3.523 MB / 394.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.0004829/0.01711, allocations: 262.5 kB / 428.2 MB, free: 3.262 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000104/0.01722, allocations: 62.55 kB / 428.3 MB, free: 3.191 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.01722, allocations: 0 / 428.3 MB, free: 3.191 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.604e-06/0.01723, allocations: 8.859 kB / 428.3 MB, free: 3.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.029e-05/0.0173, allocations: 11.92 kB / 428.3 MB, free: 3.168 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002314/0.01753, allocations: 186.8 kB / 428.5 MB, free: 2.957 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.537e-05/0.01756, allocations: 63.34 kB / 428.5 MB, free: 2.875 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.922e-05/0.01758, allocations: 7.984 kB / 428.5 MB, free: 2.867 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.155e-05/0.01761, allocations: 47.38 kB / 428.6 MB, free: 2.82 MB / 394.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01762, allocations: 4.062 kB / 428.6 MB, free: 2.816 MB / 394.7 MB Notification: Performance of Templates: time 0.004476/0.02209, allocations: 2.534 MB / 431.1 MB, free: 284 kB / 394.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2940526949241757]