Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0008851/0.0008851, allocations: 80.88 kB / 21.55 MB, free: 2.945 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.000914/0.000914, allocations: 164.9 kB / 24.97 MB, free: 9.121 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.9449/0.9449, allocations: 177.1 MB / 205.4 MB, free: 5.168 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.912/1.912, allocations: 389.6 MB / 0.6362 GB, free: 12.32 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d") translateModel(Buildings.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.542e-06/1.542e-06, allocations: 0 / 0.7759 GB, free: 5.441 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.826e-05/1.981e-05, allocations: 2.312 kB / 0.7759 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Clustering.Validation.KMeans_2d): time 0.001726/0.001746, allocations: 0.5742 MB / 0.7765 GB, free: 4.883 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002627/0.004372, allocations: 1.664 MB / 0.7781 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.456e-05/0.004417, allocations: 3.938 kB / 0.7781 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002104/0.004627, allocations: 62.16 kB / 0.7782 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.484e-05/0.004672, allocations: 24.62 kB / 0.7782 GB, free: 3.125 MB / 0.7292 GB [/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.0009496/0.005622, allocations: 264.5 kB / 0.7784 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.005726, allocations: 32.64 kB / 0.7785 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.152e-05/0.005767, allocations: 3.984 kB / 0.7785 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 5.796e-05/0.005825, allocations: 21.83 kB / 0.7785 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.605e-05/0.005891, allocations: 37.47 kB / 0.7785 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.005909, allocations: 1.359 kB / 0.7785 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008764/0.006785, allocations: 483.4 kB / 0.779 GB, free: 2.316 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.669e-05/0.006842, allocations: 31.92 kB / 0.779 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.144e-05/0.006864, allocations: 9.375 kB / 0.779 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0005803/0.007444, allocations: 363 kB / 0.7794 GB, free: 1.922 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.007446, allocations: 0 / 0.7794 GB, free: 1.922 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.72e-07/0.007447, allocations: 0 / 0.7794 GB, free: 1.922 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.007452, allocations: 0.6562 kB / 0.7794 GB, free: 1.922 MB / 0.7292 GB 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.0003788/0.007831, allocations: 340.6 kB / 0.7797 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.00787, allocations: 9.344 kB / 0.7797 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.826e-05/0.007898, allocations: 6.641 kB / 0.7797 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.00803, allocations: 134.5 kB / 0.7799 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-06/0.00804, allocations: 4.312 kB / 0.7799 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.933e-06/0.008047, allocations: 384 / 0.7799 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.335e-05/0.00811, allocations: 38.05 kB / 0.7799 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.984e-06/0.008117, allocations: 4.125 kB / 0.7799 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.671e-06/0.008123, allocations: 384 / 0.7799 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.008129, allocations: 4.5 kB / 0.7799 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.897e-06/0.008138, allocations: 1.031 kB / 0.7799 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.793e-05/0.008236, allocations: 70.7 kB / 0.78 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.881e-05/0.008275, allocations: 26.53 kB / 0.78 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.251e-05/0.008287, allocations: 9.516 kB / 0.78 GB, free: 1.211 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.879e-05/0.008326, allocations: 8.922 kB / 0.78 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.008352, allocations: 38.56 kB / 0.7801 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 2.194e-06/0.008354, allocations: 0.75 kB / 0.7801 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 8.488e-05/0.008439, allocations: 29.7 kB / 0.7801 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.392e-05/0.008463, allocations: 52.09 kB / 0.7801 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.008608, allocations: 197.2 kB / 0.7803 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.008619, allocations: 25.7 kB / 0.7803 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.008659, allocations: 100.1 kB / 0.7804 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.017e-06/0.008668, allocations: 0 / 0.7804 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.99e-05/0.008708, allocations: 29.67 kB / 0.7805 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.088e-05/0.008798, allocations: 331.6 kB / 0.7808 GB, free: 364 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.498e-05/0.008823, allocations: 18.77 kB / 0.7808 GB, free: 344 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.444e-05/0.008838, allocations: 8 kB / 0.7808 GB, free: 336 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.068e-05/0.008889, allocations: 40.22 kB / 0.7809 GB, free: 292 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.008892, allocations: 5.047 kB / 0.7809 GB, free: 288 kB / 0.7292 GB Notification: Performance of matching and sorting (n=16) (initialization): time 8.484e-05/0.008977, allocations: 65.64 kB / 0.7809 GB, free: 216 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.008993, allocations: 11.98 kB / 0.7809 GB, free: 204 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.009006, allocations: 4.797 kB / 0.7809 GB, free: 200 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.009018, allocations: 0 / 0.7809 GB, free: 200 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.542e-05/0.009034, allocations: 0.5312 kB / 0.7809 GB, free: 200 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.009038, allocations: 4.875 kB / 0.7809 GB, free: 196 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.559e-05/0.009064, allocations: 7.953 kB / 0.7809 GB, free: 188 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.009072, allocations: 3.938 kB / 0.781 GB, free: 184 kB / 0.7292 GB 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 0.000207/0.009279, allocations: 116.6 kB / 0.7811 GB, free: 60 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.069e-05/0.009289, allocations: 8.922 kB / 0.7811 GB, free: 52 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.01e-05/0.009369, allocations: 46.19 kB / 0.7811 GB, free: 0 / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.009373, allocations: 0.9375 kB / 0.7811 GB, free: 0 / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.009374, allocations: 0 / 0.7811 GB, free: 0 / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002961/0.00967, allocations: 12.89 kB / 0.7811 GB, free: 15.98 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.009681, allocations: 7.875 kB / 0.7811 GB, free: 15.98 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.307e-05/0.009695, allocations: 4 kB / 0.7811 GB, free: 15.97 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.066e-05/0.009705, allocations: 1.812 kB / 0.7811 GB, free: 15.97 MB / 0.7449 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 5.986e-05/0.009765, allocations: 156.8 kB / 0.7813 GB, free: 15.81 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 9.93e-05/0.009864, allocations: 248.4 kB / 0.7815 GB, free: 15.55 MB / 0.7449 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.098e-05/0.009885, allocations: 19.53 kB / 0.7815 GB, free: 15.53 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 4.661e-05/0.009932, allocations: 45.98 kB / 0.7816 GB, free: 15.48 MB / 0.7449 GB Notification: Performance of Backend: time 2.5e-07/0.009932, allocations: 0 / 0.7816 GB, free: 15.48 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0007502/0.01068, allocations: 306.7 kB / 0.7819 GB, free: 15.21 MB / 0.7449 GB Notification: Performance of SimCode: time 0.0004212/0.0111, allocations: 0.7201 MB / 0.7826 GB, free: 14.44 MB / 0.7449 GB Notification: Performance of Templates: time 0.004621/0.01572, allocations: 2.699 MB / 0.7852 GB, free: 11.88 MB / 0.7449 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d.pipe ; mkfifo Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d.pipe >> ../files/Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d.sim & ./Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.778493452817202]