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.001143/0.001143, allocations: 81.86 kB / 20.68 MB, free: 3.809 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.001193/0.001193, allocations: 177 kB / 24.09 MB, free: 416 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.9673/0.9673, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.5854/0.5854, allocations: 110.3 MB / 371.3 MB, free: 12.39 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.373e-06/1.373e-06, allocations: 0.7656 kB / 475.6 MB, free: 15.06 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.987e-05/2.124e-05, allocations: 5.031 kB / 475.6 MB, free: 15.06 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d): time 0.001062/0.001084, allocations: 0.532 MB / 476.1 MB, free: 14.76 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.002527, allocations: 1.635 MB / 477.8 MB, free: 13.65 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.662e-05/0.002563, allocations: 1.125 kB / 477.8 MB, free: 13.65 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001591/0.002723, allocations: 66.98 kB / 477.8 MB, free: 13.64 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.419e-05/0.002747, allocations: 33.72 kB / 477.9 MB, free: 13.64 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.0006848/0.003432, allocations: 258.8 kB / 478.1 MB, free: 13.54 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.248e-05/0.003494, allocations: 37.66 kB / 478.2 MB, free: 13.53 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.161e-05/0.003526, allocations: 6.672 kB / 478.2 MB, free: 13.53 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.875e-05/0.003574, allocations: 23.28 kB / 478.2 MB, free: 13.52 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.414e-05/0.003619, allocations: 42.41 kB / 478.2 MB, free: 13.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.003631, allocations: 0 / 478.2 MB, free: 13.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004327/0.004064, allocations: 434 kB / 478.6 MB, free: 13.4 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.131e-05/0.004105, allocations: 29.62 kB / 478.7 MB, free: 13.39 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.529e-05/0.00412, allocations: 14.55 kB / 478.7 MB, free: 13.38 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003488/0.004469, allocations: 342.8 kB / 479 MB, free: 13.28 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.004471, allocations: 0.9375 kB / 479 MB, free: 13.28 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.004472, allocations: 3.938 kB / 479 MB, free: 13.28 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.546e-06/0.004476, allocations: 4.031 kB / 479 MB, free: 13.28 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.0002784/0.004754, allocations: 468.8 kB / 479.5 MB, free: 12.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.004784, allocations: 8.656 kB / 479.5 MB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.403e-05/0.004808, allocations: 9.734 kB / 479.5 MB, free: 12.83 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.012e-05/0.004888, allocations: 136.9 kB / 479.6 MB, free: 12.69 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.613e-06/0.004895, allocations: 4.359 kB / 479.6 MB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.6e-06/0.004901, allocations: 1.156 kB / 479.6 MB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.746e-05/0.004958, allocations: 35.05 kB / 479.7 MB, free: 12.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.004964, allocations: 192 / 479.7 MB, free: 12.65 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.09e-06/0.004969, allocations: 384 / 479.7 MB, free: 12.65 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.004973, allocations: 3.938 kB / 479.7 MB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.304e-06/0.004981, allocations: 5.922 kB / 479.7 MB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.857e-05/0.005069, allocations: 127.2 kB / 479.8 MB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.391e-05/0.005093, allocations: 29.94 kB / 479.8 MB, free: 12.47 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.098e-06/0.005102, allocations: 7.688 kB / 479.9 MB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.391e-05/0.005136, allocations: 12.61 kB / 479.9 MB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.146e-05/0.005148, allocations: 34.52 kB / 479.9 MB, free: 12.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 7.52e-07/0.005148, allocations: 0 / 479.9 MB, free: 12.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 7.929e-05/0.005228, allocations: 50.14 kB / 479.9 MB, free: 12.37 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.309e-05/0.005241, allocations: 55.41 kB / 480 MB, free: 12.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003126/0.005553, allocations: 262.3 kB / 480.3 MB, free: 28.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.6e-06/0.005559, allocations: 25.7 kB / 480.3 MB, free: 28.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.546e-05/0.005604, allocations: 157.9 kB / 480.4 MB, free: 27.92 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.777e-06/0.005613, allocations: 6.547 kB / 480.4 MB, free: 27.91 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.005642, allocations: 40.59 kB / 480.5 MB, free: 27.88 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.925e-05/0.005742, allocations: 0.4972 MB / 481 MB, free: 27.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.432e-05/0.005756, allocations: 12.06 kB / 481 MB, free: 27.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.118e-05/0.005767, allocations: 11.56 kB / 481 MB, free: 27.38 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.302e-05/0.0058, allocations: 36.97 kB / 481 MB, free: 27.36 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.005802, allocations: 0 / 481 MB, free: 27.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 6.471e-05/0.005867, allocations: 92.77 kB / 481.1 MB, free: 27.31 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.005877, allocations: 6.562 kB / 481.1 MB, free: 27.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.005889, allocations: 7.031 kB / 481.1 MB, free: 27.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.005898, allocations: 2.531 kB / 481.1 MB, free: 27.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.224e-05/0.005911, allocations: 2.812 kB / 481.1 MB, free: 27.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-06/0.005913, allocations: 0 / 481.1 MB, free: 27.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.695e-05/0.00593, allocations: 10.48 kB / 481.2 MB, free: 27.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.005937, allocations: 4 kB / 481.2 MB, free: 27.3 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 (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.3e-05/0.006, allocations: 160.2 kB / 481.3 MB, free: 27.14 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.362e-06/0.006006, allocations: 11 kB / 481.3 MB, free: 27.13 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.987e-05/0.006066, allocations: 46.48 kB / 481.4 MB, free: 27.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.006067, allocations: 2.719 kB / 481.4 MB, free: 27.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.006068, allocations: 0 / 481.4 MB, free: 27.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.006071, allocations: 8.688 kB / 481.4 MB, free: 27.08 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.178e-05/0.006123, allocations: 118.5 kB / 481.5 MB, free: 26.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.006124, allocations: 1.719 kB / 481.5 MB, free: 26.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.985e-06/0.006126, allocations: 0 / 481.5 MB, free: 26.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.006128, allocations: 3.281 kB / 481.5 MB, free: 26.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-06/0.006131, allocations: 3.469 kB / 481.5 MB, free: 26.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.006132, allocations: 0 / 481.5 MB, free: 26.96 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.6e-07/0.006133, allocations: 5.094 kB / 481.5 MB, free: 26.95 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.216e-05/0.006165, allocations: 73.03 kB / 481.6 MB, free: 26.87 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.147e-06/0.006174, allocations: 14.47 kB / 481.6 MB, free: 26.86 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.075e-06/0.006182, allocations: 7.234 kB / 481.6 MB, free: 26.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.782e-06/0.006189, allocations: 0 / 481.6 MB, free: 26.86 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.436e-06/0.006197, allocations: 0.5312 kB / 481.6 MB, free: 26.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-06/0.006199, allocations: 2.719 kB / 481.6 MB, free: 26.86 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.192e-05/0.006251, allocations: 165.3 kB / 481.8 MB, free: 26.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006251, allocations: 0 / 481.8 MB, free: 26.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000223/0.006474, allocations: 87.69 kB / 481.9 MB, free: 26.71 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.0003251/0.006799, allocations: 263.1 kB / 482.1 MB, free: 26.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.408e-05/0.006883, allocations: 75.56 kB / 482.2 MB, free: 26.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.006885, allocations: 0 / 482.2 MB, free: 26.54 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.34e-06/0.00689, allocations: 16.39 kB / 482.2 MB, free: 26.53 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.993e-05/0.00699, allocations: 7.938 kB / 482.2 MB, free: 26.52 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001772/0.007167, allocations: 189.5 kB / 482.4 MB, free: 26.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.013e-05/0.007188, allocations: 66.28 kB / 482.5 MB, free: 26.29 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.454e-05/0.007202, allocations: 0 / 482.5 MB, free: 26.29 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.231e-05/0.007234, allocations: 72.23 kB / 482.5 MB, free: 26.23 MB / 426.7 MB Notification: Performance of SimCode: time 6.91e-07/0.007235, allocations: 3.375 kB / 482.5 MB, free: 26.23 MB / 426.7 MB Notification: Performance of Templates: time 0.004207/0.01144, allocations: 2.544 MB / 485.1 MB, free: 26.09 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.500910494942218]