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.0009939/0.0009939, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001383/0.002376, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001061/0.001061, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001308/0.002369, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9517/0.9517, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0757/1.027, allocations: 53.67 MB / 243.3 MB, free: 15.57 MB / 250.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.861/1.861, allocations: 389.9 MB / 0.6191 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4576/2.318, allocations: 127.1 MB / 0.7432 GB, free: 4.617 MB / 0.7136 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.382e-06/1.382e-06, allocations: 0 / 0.7444 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.862e-05/2e-05, allocations: 4.984 kB / 0.7444 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Clustering.Validation.KMeans_2d): time 0.001211/0.001231, allocations: 0.5755 MB / 0.745 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001522/0.002753, allocations: 1.674 MB / 0.7466 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.611e-05/0.00278, allocations: 0 / 0.7466 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001211/0.002901, allocations: 71.81 kB / 0.7467 GB, free: 1.059 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.041e-05/0.002931, allocations: 37.69 kB / 0.7467 GB, free: 1.023 MB / 0.7136 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.0005291/0.00346, allocations: 257.3 kB / 0.747 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.507e-05/0.003525, allocations: 27.36 kB / 0.747 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.176e-05/0.003557, allocations: 10.14 kB / 0.747 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.667e-05/0.003614, allocations: 29.5 kB / 0.7471 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.472e-05/0.003658, allocations: 29.72 kB / 0.7471 GB, free: 0.6914 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.003669, allocations: 0.9688 kB / 0.7471 GB, free: 0.6914 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005578/0.004227, allocations: 465.2 kB / 0.7475 GB, free: 244 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.457e-05/0.004271, allocations: 24.62 kB / 0.7475 GB, free: 224 kB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.658e-05/0.004288, allocations: 13.58 kB / 0.7476 GB, free: 212 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003022/0.00459, allocations: 300.5 kB / 0.7478 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.133e-05/0.004602, allocations: 0 / 0.7478 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.72e-07/0.004603, allocations: 0.5625 kB / 0.7478 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.493e-05/0.004618, allocations: 0 / 0.7478 GB, free: 15.91 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.0003349/0.004952, allocations: 372.9 kB / 0.7482 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.528e-05/0.004978, allocations: 8.031 kB / 0.7482 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.307e-05/0.005001, allocations: 4.938 kB / 0.7482 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.005112, allocations: 143 kB / 0.7484 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-06/0.005119, allocations: 384 / 0.7484 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.953e-06/0.005126, allocations: 8.219 kB / 0.7484 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.661e-05/0.005183, allocations: 29.09 kB / 0.7484 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.005189, allocations: 2.625 kB / 0.7484 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.759e-06/0.005194, allocations: 384 / 0.7484 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.005199, allocations: 3.938 kB / 0.7484 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.035e-05/0.00521, allocations: 4 kB / 0.7484 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.001e-05/0.00529, allocations: 70.7 kB / 0.7485 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 2.834e-05/0.005318, allocations: 22.5 kB / 0.7485 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.257e-06/0.005327, allocations: 6.953 kB / 0.7485 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.884e-05/0.005366, allocations: 8.094 kB / 0.7485 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.005383, allocations: 30.56 kB / 0.7485 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 6.71e-07/0.005384, allocations: 0 / 0.7485 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 7.503e-05/0.005459, allocations: 39.22 kB / 0.7486 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.005485, allocations: 55.41 kB / 0.7486 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.753e-05/0.005583, allocations: 184.4 kB / 0.7488 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/0.005591, allocations: 25.7 kB / 0.7488 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.138e-05/0.005622, allocations: 102.8 kB / 0.7489 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.466e-06/0.005631, allocations: 4 kB / 0.7489 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.619e-05/0.005657, allocations: 33.62 kB / 0.749 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.089e-05/0.005728, allocations: 330.7 kB / 0.7493 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.534e-05/0.005743, allocations: 10.83 kB / 0.7493 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.111e-05/0.005754, allocations: 12 kB / 0.7493 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.411e-05/0.005788, allocations: 45.86 kB / 0.7493 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.00579, allocations: 0 / 0.7493 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16) (initialization): time 5.752e-05/0.005848, allocations: 77.16 kB / 0.7494 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.005858, allocations: 4 kB / 0.7494 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.005868, allocations: 0 / 0.7494 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.623e-06/0.005874, allocations: 4 kB / 0.7494 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.313e-05/0.005887, allocations: 0 / 0.7494 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.044e-06/0.005889, allocations: 3.938 kB / 0.7494 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.75e-05/0.005907, allocations: 15.83 kB / 0.7494 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.005915, allocations: 3.984 kB / 0.7494 GB, free: 14.14 MB / 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.244e-05/0.005977, allocations: 117.4 kB / 0.7496 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.03e-06/0.005982, allocations: 4 kB / 0.7496 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.063e-05/0.006043, allocations: 42.88 kB / 0.7496 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.006044, allocations: 0.5312 kB / 0.7496 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.006045, allocations: 0.7812 kB / 0.7496 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.006048, allocations: 0 / 0.7496 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.617e-05/0.006104, allocations: 83.06 kB / 0.7497 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-07/0.006104, allocations: 0 / 0.7497 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.058e-06/0.006108, allocations: 7.984 kB / 0.7497 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.306e-06/0.006117, allocations: 7.906 kB / 0.7497 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.006118, allocations: 4.688 kB / 0.7497 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-06/0.00612, allocations: 1.406 kB / 0.7497 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.006121, allocations: 0 / 0.7497 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.006121, allocations: 0 / 0.7497 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.76e-05/0.006159, allocations: 70.66 kB / 0.7498 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.00617, allocations: 0.5312 kB / 0.7498 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.643e-06/0.006177, allocations: 0.9375 kB / 0.7498 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.927e-06/0.006186, allocations: 4 kB / 0.7498 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-06/0.006187, allocations: 1.594 kB / 0.7498 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.369e-05/0.006221, allocations: 54.44 kB / 0.7498 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.006221, allocations: 0 / 0.7498 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001808/0.006402, allocations: 87.8 kB / 0.7499 GB, free: 13.62 MB / 0.7292 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.0004177/0.006819, allocations: 282 kB / 0.7502 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.772e-05/0.006907, allocations: 79.02 kB / 0.7503 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.00691, allocations: 1.312 kB / 0.7503 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.623e-06/0.006917, allocations: 12.86 kB / 0.7503 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.656e-05/0.006974, allocations: 7.938 kB / 0.7503 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001946/0.007168, allocations: 188.3 kB / 0.7505 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.197e-05/0.0072, allocations: 75.05 kB / 0.7505 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.621e-05/0.007216, allocations: 4 kB / 0.7505 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.461e-05/0.007241, allocations: 47.97 kB / 0.7506 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of SimCode: time 3.5e-07/0.007241, allocations: 1.344 kB / 0.7506 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of Templates: time 0.003853/0.01109, allocations: 2.612 MB / 0.7531 GB, free: 10.45 MB / 0.7292 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.6687057334929705]