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.0009732/0.0009732, allocations: 80.8 kB / 20.75 MB, free: 3.734 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.0009902/0.0009902, allocations: 165 kB / 24.17 MB, free: 324 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.9323/0.9323, allocations: 177.2 MB / 204.6 MB, free: 5.484 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.881/1.881, allocations: 389.6 MB / 0.6354 GB, free: 12.31 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.392e-06/1.392e-06, allocations: 0 / 0.7751 GB, free: 5.48 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.11e-05/2.249e-05, allocations: 7.062 kB / 0.7751 GB, free: 5.473 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Clustering.Validation.KMeans_2d): time 0.001381/0.001404, allocations: 0.5363 MB / 0.7756 GB, free: 4.957 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002146/0.00355, allocations: 1.657 MB / 0.7773 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.463e-05/0.003584, allocations: 3.938 kB / 0.7773 GB, free: 3.289 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001761/0.00376, allocations: 55.91 kB / 0.7773 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 3.788e-05/0.003798, allocations: 36.53 kB / 0.7773 GB, free: 3.199 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.0008274/0.004626, allocations: 281.2 kB / 0.7776 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.511e-05/0.004701, allocations: 37.12 kB / 0.7776 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.183e-05/0.004732, allocations: 7.984 kB / 0.7777 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 5.079e-05/0.004783, allocations: 21.28 kB / 0.7777 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.505e-05/0.004838, allocations: 37.27 kB / 0.7777 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.00485, allocations: 2.75 kB / 0.7777 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006355/0.005485, allocations: 452.6 kB / 0.7781 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.218e-05/0.005538, allocations: 28.45 kB / 0.7782 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.974e-05/0.005557, allocations: 15.88 kB / 0.7782 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004145/0.005972, allocations: 359.1 kB / 0.7785 GB, free: 2 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.005974, allocations: 3.281 kB / 0.7785 GB, free: 2 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.81e-07/0.005974, allocations: 4 kB / 0.7785 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.716e-06/0.005977, allocations: 0 / 0.7785 GB, free: 1.996 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.0003407/0.006318, allocations: 335.9 kB / 0.7789 GB, free: 1.645 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.00635, allocations: 9.344 kB / 0.7789 GB, free: 1.637 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.646e-05/0.006377, allocations: 4.938 kB / 0.7789 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.006495, allocations: 134.5 kB / 0.779 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.006504, allocations: 4.375 kB / 0.779 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.006514, allocations: 4.375 kB / 0.779 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.936e-05/0.006573, allocations: 33.8 kB / 0.779 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.681e-06/0.006579, allocations: 0.875 kB / 0.779 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.689e-06/0.006584, allocations: 384 / 0.779 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.00659, allocations: 4.469 kB / 0.779 GB, free: 1.426 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.979e-06/0.0066, allocations: 4.625 kB / 0.7791 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.078e-05/0.006691, allocations: 74.64 kB / 0.7791 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.548e-05/0.006726, allocations: 23.28 kB / 0.7791 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.246e-05/0.006738, allocations: 12.84 kB / 0.7792 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.325e-05/0.006772, allocations: 8.594 kB / 0.7792 GB, free: 1.277 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.006791, allocations: 31.59 kB / 0.7792 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.006792, allocations: 0 / 0.7792 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 8.372e-05/0.006876, allocations: 38.62 kB / 0.7792 GB, free: 1.195 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.006907, allocations: 51.41 kB / 0.7793 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.007034, allocations: 187.4 kB / 0.7795 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.829e-06/0.007044, allocations: 26.86 kB / 0.7795 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.822e-05/0.007082, allocations: 104 kB / 0.7796 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.087e-06/0.007091, allocations: 4 kB / 0.7796 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.429e-05/0.007126, allocations: 26.22 kB / 0.7796 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.977e-05/0.007215, allocations: 331.9 kB / 0.7799 GB, free: 444 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.446e-05/0.00724, allocations: 14.83 kB / 0.7799 GB, free: 428 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.488e-05/0.007255, allocations: 12 kB / 0.78 GB, free: 416 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.385e-05/0.007299, allocations: 36.97 kB / 0.78 GB, free: 376 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.0073, allocations: 0 / 0.78 GB, free: 376 kB / 0.7292 GB Notification: Performance of matching and sorting (n=16) (initialization): time 8.471e-05/0.007385, allocations: 72.58 kB / 0.7801 GB, free: 300 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.007397, allocations: 6.5 kB / 0.7801 GB, free: 296 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.007409, allocations: 0.5 kB / 0.7801 GB, free: 296 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.00742, allocations: 5.594 kB / 0.7801 GB, free: 292 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.347e-05/0.007433, allocations: 3.938 kB / 0.7801 GB, free: 288 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.007436, allocations: 0 / 0.7801 GB, free: 288 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.303e-05/0.007459, allocations: 11.83 kB / 0.7801 GB, free: 276 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.007465, allocations: 4.656 kB / 0.7801 GB, free: 272 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 7.247e-05/0.007538, allocations: 122 kB / 0.7802 GB, free: 140 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.075e-06/0.007546, allocations: 4 kB / 0.7802 GB, free: 136 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.392e-05/0.00762, allocations: 43.78 kB / 0.7803 GB, free: 88 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.007622, allocations: 4 kB / 0.7803 GB, free: 84 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.007623, allocations: 0 / 0.7803 GB, free: 84 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.007626, allocations: 0 / 0.7803 GB, free: 84 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.752e-05/0.007713, allocations: 89.8 kB / 0.7803 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.007714, allocations: 1.344 kB / 0.7803 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.611e-06/0.00772, allocations: 4 kB / 0.7803 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.007721, allocations: 0 / 0.7803 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.469e-06/0.007726, allocations: 4.641 kB / 0.7804 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.007727, allocations: 0 / 0.7804 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.113e-06/0.007729, allocations: 5.062 kB / 0.7804 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.041e-05/0.007779, allocations: 62.73 kB / 0.7804 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.347e-05/0.007793, allocations: 16.95 kB / 0.7804 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.297e-06/0.007802, allocations: 0 / 0.7804 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.113e-05/0.007813, allocations: 0 / 0.7804 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.536e-06/0.007822, allocations: 4.438 kB / 0.7804 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.007824, allocations: 4 kB / 0.7804 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.728e-05/0.007872, allocations: 50.52 kB / 0.7805 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.007872, allocations: 1.781 kB / 0.7805 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000272/0.008144, allocations: 83.8 kB / 0.7806 GB, free: 15.73 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.00049/0.008634, allocations: 261.5 kB / 0.7808 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001051/0.008739, allocations: 65 kB / 0.7809 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.008743, allocations: 5.031 kB / 0.7809 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.202e-06/0.008749, allocations: 4.859 kB / 0.7809 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.593e-05/0.008815, allocations: 13.25 kB / 0.7809 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002367/0.009052, allocations: 189.6 kB / 0.7811 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.643e-05/0.009098, allocations: 71.19 kB / 0.7812 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.777e-05/0.009116, allocations: 1.031 kB / 0.7812 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.119e-05/0.009157, allocations: 51.38 kB / 0.7812 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of SimCode: time 7.02e-07/0.009158, allocations: 1.375 kB / 0.7812 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of Templates: time 0.005096/0.01425, allocations: 2.606 MB / 0.7838 GB, free: 12.57 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.923163347877562]