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.0007061/0.0007061, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007051/0.0007051, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8456/0.8456, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.5038/0.5038, allocations: 110.2 MB / 370.2 MB, free: 12.63 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.293e-06/1.293e-06, allocations: 0 / 0.5485 GB, free: 8.305 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.704e-05/1.833e-05, allocations: 2.281 kB / 0.5485 GB, free: 8.301 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d): time 0.0009214/0.0009398, allocations: 0.5129 MB / 0.549 GB, free: 7.785 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001623/0.002562, allocations: 1.614 MB / 0.5506 GB, free: 6.152 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.913e-05/0.002591, allocations: 0 / 0.5506 GB, free: 6.152 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001698/0.002761, allocations: 67.77 kB / 0.5506 GB, free: 6.086 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 2.268e-05/0.002784, allocations: 27.95 kB / 0.5506 GB, free: 6.059 MB / 474.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.000612/0.003396, allocations: 263 kB / 0.5509 GB, free: 5.801 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 6.543e-05/0.003461, allocations: 39.89 kB / 0.5509 GB, free: 5.762 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.311e-05/0.003495, allocations: 3.984 kB / 0.5509 GB, free: 5.758 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.171e-05/0.003536, allocations: 15.98 kB / 0.551 GB, free: 5.742 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.341e-05/0.00359, allocations: 51.86 kB / 0.551 GB, free: 5.691 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.003602, allocations: 0 / 0.551 GB, free: 5.691 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004236/0.004025, allocations: 427.2 kB / 0.5514 GB, free: 5.273 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 4.708e-05/0.004072, allocations: 27.92 kB / 0.5514 GB, free: 5.246 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 1.84e-05/0.004091, allocations: 15.88 kB / 0.5515 GB, free: 5.23 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003082/0.004399, allocations: 355 kB / 0.5518 GB, free: 4.883 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.004401, allocations: 0 / 0.5518 GB, free: 4.883 MB / 474.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.004402, allocations: 0 / 0.5518 GB, free: 4.883 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.004406, allocations: 0 / 0.5518 GB, free: 4.883 MB / 474.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.0003086/0.004714, allocations: 357.4 kB / 0.5521 GB, free: 4.504 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.004747, allocations: 12.56 kB / 0.5521 GB, free: 4.492 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.809e-05/0.004775, allocations: 12.84 kB / 0.5522 GB, free: 4.48 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.004882, allocations: 134.8 kB / 0.5523 GB, free: 4.324 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.004891, allocations: 8.375 kB / 0.5523 GB, free: 4.316 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-06/0.004898, allocations: 384 / 0.5523 GB, free: 4.316 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.761e-05/0.004976, allocations: 42.19 kB / 0.5523 GB, free: 4.27 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.004982, allocations: 192 / 0.5523 GB, free: 4.27 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.00499, allocations: 4.375 kB / 0.5523 GB, free: 4.266 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.004995, allocations: 3.938 kB / 0.5523 GB, free: 4.262 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.204e-05/0.005017, allocations: 12 kB / 0.5524 GB, free: 4.25 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001146/0.005132, allocations: 137.3 kB / 0.5525 GB, free: 4.086 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.672e-05/0.005169, allocations: 22.58 kB / 0.5525 GB, free: 4.055 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.563e-05/0.005184, allocations: 12.92 kB / 0.5525 GB, free: 4.039 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.005214, allocations: 15.98 kB / 0.5525 GB, free: 4.023 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.552e-05/0.00523, allocations: 34.5 kB / 0.5526 GB, free: 3.98 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 5.61e-07/0.00523, allocations: 3.938 kB / 0.5526 GB, free: 3.977 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001142/0.005345, allocations: 65.59 kB / 0.5526 GB, free: 3.906 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.005373, allocations: 63.34 kB / 0.5527 GB, free: 3.832 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.005495, allocations: 214.2 kB / 0.5529 GB, free: 3.613 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/0.005505, allocations: 25.7 kB / 0.5529 GB, free: 3.582 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.196e-05/0.005547, allocations: 104.1 kB / 0.553 GB, free: 3.477 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.004e-05/0.005557, allocations: 3.953 kB / 0.553 GB, free: 3.473 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.999e-05/0.005587, allocations: 29.83 kB / 0.5531 GB, free: 3.438 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.005768, allocations: 326.8 kB / 0.5534 GB, free: 3.109 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.68e-05/0.005815, allocations: 55.98 kB / 0.5534 GB, free: 3.055 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.391e-05/0.005849, allocations: 55.97 kB / 0.5535 GB, free: 3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.506e-05/0.005914, allocations: 91.02 kB / 0.5536 GB, free: 2.91 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.005916, allocations: 0 / 0.5536 GB, free: 2.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000105/0.006021, allocations: 161.6 kB / 0.5537 GB, free: 2.746 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.006031, allocations: 4 kB / 0.5537 GB, free: 2.742 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.006045, allocations: 4 kB / 0.5537 GB, free: 2.738 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.649e-06/0.006054, allocations: 0 / 0.5537 GB, free: 2.738 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.067e-05/0.006065, allocations: 0 / 0.5537 GB, free: 2.738 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.84e-06/0.00607, allocations: 8 kB / 0.5537 GB, free: 2.73 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.998e-05/0.00609, allocations: 15.83 kB / 0.5537 GB, free: 2.715 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-06/0.006096, allocations: 0 / 0.5537 GB, free: 2.715 MB / 474.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.941e-05/0.006175, allocations: 141.7 kB / 0.5539 GB, free: 2.566 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.502e-06/0.006182, allocations: 11.91 kB / 0.5539 GB, free: 2.555 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.621e-05/0.006258, allocations: 66.11 kB / 0.554 GB, free: 2.484 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.006261, allocations: 3.984 kB / 0.554 GB, free: 2.48 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.006265, allocations: 3.938 kB / 0.554 GB, free: 2.477 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.006267, allocations: 0 / 0.554 GB, free: 2.477 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.509e-05/0.006332, allocations: 137.3 kB / 0.5541 GB, free: 2.312 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.006333, allocations: 0 / 0.5541 GB, free: 2.312 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.244e-06/0.006335, allocations: 0 / 0.5541 GB, free: 2.312 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.006336, allocations: 0 / 0.5541 GB, free: 2.312 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.006341, allocations: 4 kB / 0.5541 GB, free: 2.309 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.006342, allocations: 0 / 0.5541 GB, free: 2.309 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.006343, allocations: 0 / 0.5541 GB, free: 2.309 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.195e-05/0.006395, allocations: 88.91 kB / 0.5542 GB, free: 2.203 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.014e-05/0.006405, allocations: 15.94 kB / 0.5542 GB, free: 2.188 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-06/0.006414, allocations: 0 / 0.5542 GB, free: 2.188 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.394e-06/0.006421, allocations: 4.031 kB / 0.5542 GB, free: 2.184 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.067e-05/0.006432, allocations: 0 / 0.5542 GB, free: 2.184 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.006434, allocations: 3.938 kB / 0.5542 GB, free: 2.18 MB / 474.7 MB Notification: Performance of sorting global known variables: time 6.916e-05/0.006503, allocations: 152.3 kB / 0.5543 GB, free: 2.031 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006503, allocations: 0 / 0.5543 GB, free: 2.031 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001991/0.006702, allocations: 87.8 kB / 0.5544 GB, free: 1.945 MB / 474.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.0003313/0.007033, allocations: 255.6 kB / 0.5547 GB, free: 1.715 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000123/0.007156, allocations: 113.7 kB / 0.5548 GB, free: 1.598 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.007158, allocations: 0 / 0.5548 GB, free: 1.598 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 9.358e-06/0.007167, allocations: 15.98 kB / 0.5548 GB, free: 1.582 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001025/0.007269, allocations: 10.28 kB / 0.5548 GB, free: 1.574 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002449/0.007514, allocations: 243.4 kB / 0.555 GB, free: 1.305 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.543e-05/0.00757, allocations: 92.3 kB / 0.5551 GB, free: 1.191 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.404e-05/0.007584, allocations: 12.61 kB / 0.5551 GB, free: 1.18 MB / 474.7 MB Notification: Performance of SimCode: time 4.51e-07/0.007584, allocations: 4 kB / 0.5551 GB, free: 1.176 MB / 474.7 MB Notification: Performance of Templates: time 0.002769/0.01035, allocations: 2.427 MB / 0.5575 GB, free: 14.74 MB / 490.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=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.019166404381394] Failed to read output from testmodel.py, exit status != 0: 0.01451630424708128 0.022231795000000002 0.016311916000000003 Calling exit ...