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.001346/0.001346, allocations: 84.86 kB / 21.62 MB, free: 2.836 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.001446/0.001446, allocations: 163.2 kB / 25.05 MB, free: 9.148 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.9242/0.9242, allocations: 177.1 MB / 205.5 MB, free: 5.469 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.898/1.898, allocations: 389.6 MB / 0.6363 GB, free: 12.29 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.383e-06/1.383e-06, allocations: 0 / 0.7761 GB, free: 5.34 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.088e-05/1.226e-05, allocations: 3.078 kB / 0.7761 GB, free: 5.336 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Clustering.Validation.KMeans_2d): time 0.001094/0.001106, allocations: 0.5815 MB / 0.7767 GB, free: 4.773 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001629/0.002735, allocations: 1.663 MB / 0.7783 GB, free: 3.102 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.664e-05/0.002761, allocations: 0.7188 kB / 0.7783 GB, free: 3.102 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001597/0.002921, allocations: 66.09 kB / 0.7783 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 2.618e-05/0.002947, allocations: 29.05 kB / 0.7784 GB, free: 3.012 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.00058/0.003527, allocations: 252.3 kB / 0.7786 GB, free: 2.77 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.877e-05/0.003596, allocations: 35.25 kB / 0.7786 GB, free: 2.738 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.282e-05/0.003629, allocations: 2.531 kB / 0.7786 GB, free: 2.738 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.589e-05/0.003675, allocations: 24.61 kB / 0.7787 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.17e-05/0.003726, allocations: 38.36 kB / 0.7787 GB, free: 2.68 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.00374, allocations: 0 / 0.7787 GB, free: 2.68 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005328/0.004272, allocations: 481.8 kB / 0.7792 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.524e-05/0.004318, allocations: 26.11 kB / 0.7792 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.526e-05/0.004333, allocations: 16.53 kB / 0.7792 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003036/0.004636, allocations: 363.1 kB / 0.7796 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.004638, allocations: 4.625 kB / 0.7796 GB, free: 1.812 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.81e-07/0.004639, allocations: 1.719 kB / 0.7796 GB, free: 1.812 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.636e-06/0.004642, allocations: 0 / 0.7796 GB, free: 1.812 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.0002683/0.004911, allocations: 331.9 kB / 0.7799 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.004942, allocations: 13.34 kB / 0.7799 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.024e-05/0.004963, allocations: 0.9375 kB / 0.7799 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.925e-05/0.005062, allocations: 143.4 kB / 0.78 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.951e-06/0.005068, allocations: 384 / 0.78 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.657e-06/0.005076, allocations: 4.938 kB / 0.78 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.51e-05/0.005132, allocations: 29.09 kB / 0.7801 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.549e-06/0.005136, allocations: 1.219 kB / 0.7801 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.518e-06/0.005141, allocations: 4.375 kB / 0.7801 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.005144, allocations: 4.625 kB / 0.7801 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.841e-06/0.00515, allocations: 0 / 0.7801 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.22e-05/0.005222, allocations: 75.52 kB / 0.7801 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 2.372e-05/0.005246, allocations: 18.56 kB / 0.7802 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.119e-05/0.005257, allocations: 13.7 kB / 0.7802 GB, free: 1.109 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.005285, allocations: 4 kB / 0.7802 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.512e-05/0.005301, allocations: 31.25 kB / 0.7802 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 4.91e-07/0.005301, allocations: 0 / 0.7802 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 6.766e-05/0.005369, allocations: 43.47 kB / 0.7802 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.318e-05/0.005392, allocations: 51.41 kB / 0.7803 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.233e-05/0.005484, allocations: 191.4 kB / 0.7805 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.577e-06/0.005493, allocations: 29.7 kB / 0.7805 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.818e-05/0.005521, allocations: 100.9 kB / 0.7806 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.624e-06/0.005529, allocations: 0 / 0.7806 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.661e-05/0.005555, allocations: 30.3 kB / 0.7806 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.785e-05/0.005623, allocations: 326.8 kB / 0.7809 GB, free: 264 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.653e-05/0.00564, allocations: 19.89 kB / 0.781 GB, free: 244 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.287e-06/0.005649, allocations: 8 kB / 0.781 GB, free: 236 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.45e-05/0.005683, allocations: 43.38 kB / 0.781 GB, free: 192 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.005685, allocations: 0 / 0.781 GB, free: 192 kB / 0.7292 GB Notification: Performance of matching and sorting (n=16) (initialization): time 5.638e-05/0.005741, allocations: 74.09 kB / 0.7811 GB, free: 112 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/0.005751, allocations: 8 kB / 0.7811 GB, free: 104 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.005761, allocations: 0.9375 kB / 0.7811 GB, free: 104 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.531e-06/0.005766, allocations: 0 / 0.7811 GB, free: 104 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.055e-05/0.005777, allocations: 4.938 kB / 0.7811 GB, free: 100 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.364e-06/0.005779, allocations: 0 / 0.7811 GB, free: 100 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.642e-05/0.005796, allocations: 15.83 kB / 0.7811 GB, free: 84 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.005802, allocations: 4.922 kB / 0.7811 GB, free: 80 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 6.738e-05/0.00587, allocations: 117.6 kB / 0.7812 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.571e-06/0.005875, allocations: 4 kB / 0.7812 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.564e-05/0.005931, allocations: 39.03 kB / 0.7813 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.005933, allocations: 4 kB / 0.7813 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.005936, allocations: 5.719 kB / 0.7813 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.005939, allocations: 3.984 kB / 0.7813 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.521e-05/0.005995, allocations: 85.81 kB / 0.7814 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.005995, allocations: 0 / 0.7814 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.277e-06/0.005998, allocations: 3.984 kB / 0.7814 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-07/0.005999, allocations: 2.75 kB / 0.7814 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.186e-06/0.006002, allocations: 0 / 0.7814 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.01e-07/0.006002, allocations: 0 / 0.7814 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.006003, allocations: 0 / 0.7814 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.698e-05/0.00605, allocations: 70.7 kB / 0.7814 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.799e-06/0.00606, allocations: 15.91 kB / 0.7815 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.905e-06/0.006068, allocations: 4 kB / 0.7815 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.743e-06/0.006075, allocations: 1.875 kB / 0.7815 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.097e-06/0.006084, allocations: 0 / 0.7815 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-06/0.006085, allocations: 0 / 0.7815 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.228e-05/0.006118, allocations: 46 kB / 0.7815 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.006118, allocations: 0 / 0.7815 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001742/0.006292, allocations: 92.67 kB / 0.7816 GB, free: 15.54 MB / 0.7448 GB 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.0004135/0.006705, allocations: 274.4 kB / 0.7819 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.888e-05/0.006804, allocations: 67.39 kB / 0.7819 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.006807, allocations: 0 / 0.7819 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.703e-06/0.006814, allocations: 9.891 kB / 0.7819 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.469e-05/0.006879, allocations: 7.938 kB / 0.7819 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002042/0.007083, allocations: 188.7 kB / 0.7821 GB, free: 15 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.013e-05/0.007113, allocations: 71.19 kB / 0.7822 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.707e-05/0.00713, allocations: 7.984 kB / 0.7822 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.823e-05/0.007158, allocations: 51.38 kB / 0.7822 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of SimCode: time 5.21e-07/0.007159, allocations: 1.094 kB / 0.7822 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of Templates: time 0.003865/0.01102, allocations: 2.597 MB / 0.7848 GB, free: 12.38 MB / 0.7448 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.831537823192775]