Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.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.0009943/0.0009943, allocations: 72.83 kB / 20.72 MB, free: 3.766 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.0009839/0.0009839, allocations: 169 kB / 24.14 MB, free: 352 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.9739/0.9739, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5987/0.5987, allocations: 115 MB / 376 MB, free: 7.5 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Utilities.Clustering.Validation.KMeans_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d") translateModel(IBPSA.Utilities.Clustering.Validation.KMeans_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 428.7 MB, free: 2.844 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.639e-05/1.821e-05, allocations: 2.312 kB / 428.7 MB, free: 2.84 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Clustering.Validation.KMeans_1d): time 0.001054/0.001072, allocations: 0.5245 MB / 429.2 MB, free: 2.316 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.002838, allocations: 1.657 MB / 430.9 MB, free: 0.6406 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.131e-05/0.002879, allocations: 3.938 kB / 430.9 MB, free: 0.6367 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.003017, allocations: 27.91 kB / 430.9 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 2.339e-05/0.00304, allocations: 11.92 kB / 430.9 MB, free: 0.5977 MB / 394.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'. Notification: Performance of NFTyping.typeClassSections: time 0.0007652/0.003805, allocations: 283 kB / 431.2 MB, free: 328 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 6.143e-05/0.003867, allocations: 19.97 kB / 431.2 MB, free: 308 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.173e-05/0.003898, allocations: 7.938 kB / 431.2 MB, free: 300 kB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.041e-05/0.003939, allocations: 11.98 kB / 431.2 MB, free: 288 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.195e-05/0.003971, allocations: 11.98 kB / 431.2 MB, free: 276 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.003985, allocations: 0 / 431.2 MB, free: 276 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005591/0.004544, allocations: 455 kB / 431.7 MB, free: 15.82 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.313e-05/0.004588, allocations: 19.98 kB / 431.7 MB, free: 15.8 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.548e-05/0.004603, allocations: 11.94 kB / 431.7 MB, free: 15.79 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003336/0.004937, allocations: 355 kB / 432 MB, free: 15.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.403e-06/0.004938, allocations: 0 / 432 MB, free: 15.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.004938, allocations: 0 / 432 MB, free: 15.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.016e-06/0.004941, allocations: 0 / 432 MB, free: 15.45 MB / 410.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.0002631/0.005205, allocations: 308.2 kB / 432.3 MB, free: 15.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.707e-05/0.005232, allocations: 12.03 kB / 432.4 MB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.028e-05/0.005252, allocations: 0.9375 kB / 432.4 MB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.772e-05/0.00535, allocations: 133.5 kB / 432.5 MB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.673e-06/0.005356, allocations: 384 / 432.5 MB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.215e-06/0.005365, allocations: 8.375 kB / 432.5 MB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.915e-05/0.005414, allocations: 29.09 kB / 432.5 MB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.48e-06/0.005419, allocations: 4.188 kB / 432.5 MB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.749e-06/0.005424, allocations: 4.375 kB / 432.5 MB, free: 14.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.00543, allocations: 3.938 kB / 432.5 MB, free: 14.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.532e-06/0.005436, allocations: 0 / 432.5 MB, free: 14.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.687e-05/0.005513, allocations: 74.59 kB / 432.6 MB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.249e-05/0.005545, allocations: 26.5 kB / 432.6 MB, free: 14.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.097e-06/0.005555, allocations: 4.859 kB / 432.6 MB, free: 14.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.005585, allocations: 12.09 kB / 432.7 MB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.005603, allocations: 34.56 kB / 432.7 MB, free: 14.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 6.81e-07/0.005603, allocations: 0 / 432.7 MB, free: 14.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 7.035e-05/0.005674, allocations: 33.69 kB / 432.7 MB, free: 14.67 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.005698, allocations: 51.41 kB / 432.8 MB, free: 14.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.371e-05/0.005782, allocations: 154.6 kB / 432.9 MB, free: 14.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/0.005791, allocations: 29.64 kB / 433 MB, free: 14.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.895e-05/0.00582, allocations: 96.08 kB / 433 MB, free: 14.31 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.712e-06/0.005826, allocations: 0 / 433 MB, free: 14.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.6e-05/0.005852, allocations: 25.69 kB / 433.1 MB, free: 14.28 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.438e-05/0.005927, allocations: 326.9 kB / 433.4 MB, free: 13.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.485e-05/0.005942, allocations: 14.83 kB / 433.4 MB, free: 13.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.658e-06/0.005951, allocations: 8 kB / 433.4 MB, free: 13.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.128e-05/0.005983, allocations: 35.59 kB / 433.4 MB, free: 13.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.005984, allocations: 0 / 433.4 MB, free: 13.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 5.022e-05/0.006035, allocations: 57.7 kB / 433.5 MB, free: 13.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.006047, allocations: 7.984 kB / 433.5 MB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.006058, allocations: 0 / 433.5 MB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.596e-06/0.006067, allocations: 0 / 433.5 MB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.214e-05/0.006079, allocations: 3.938 kB / 433.5 MB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.006082, allocations: 0 / 433.5 MB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.409e-05/0.006097, allocations: 11.95 kB / 433.5 MB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.006104, allocations: 7.938 kB / 433.5 MB, free: 13.8 MB / 410.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: 9 (labels[1],labels[2],labels[3],labels[4],labels[5],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.356e-05/0.006168, allocations: 112.7 kB / 433.6 MB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.072e-06/0.006174, allocations: 7.984 kB / 433.7 MB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.308e-05/0.006227, allocations: 37.52 kB / 433.7 MB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.006228, allocations: 0 / 433.7 MB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.006232, allocations: 3.984 kB / 433.7 MB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.006234, allocations: 0 / 433.7 MB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.207e-05/0.006286, allocations: 77.83 kB / 433.8 MB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.006287, allocations: 4.031 kB / 433.8 MB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.244e-06/0.006289, allocations: 3.984 kB / 433.8 MB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.01e-07/0.00629, allocations: 0 / 433.8 MB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.687e-06/0.006294, allocations: 3.984 kB / 433.8 MB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.006295, allocations: 0 / 433.8 MB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.006295, allocations: 3.938 kB / 433.8 MB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.97e-05/0.006335, allocations: 66.72 kB / 433.8 MB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.085e-06/0.006343, allocations: 11.89 kB / 433.9 MB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.863e-06/0.00635, allocations: 0 / 433.9 MB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.322e-06/0.006356, allocations: 4 kB / 433.9 MB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.486e-06/0.006365, allocations: 0 / 433.9 MB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-06/0.006366, allocations: 4.031 kB / 433.9 MB, free: 13.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.544e-05/0.006391, allocations: 41.62 kB / 433.9 MB, free: 13.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006391, allocations: 0 / 433.9 MB, free: 13.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000195/0.006586, allocations: 79.81 kB / 434 MB, free: 13.28 MB / 410.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.0003672/0.006953, allocations: 258.4 kB / 434.2 MB, free: 13.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.264e-05/0.007046, allocations: 62.42 kB / 434.3 MB, free: 12.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.007049, allocations: 0 / 434.3 MB, free: 12.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.093e-06/0.007056, allocations: 8.844 kB / 434.3 MB, free: 12.94 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.722e-05/0.007113, allocations: 15.88 kB / 434.3 MB, free: 12.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001697/0.007283, allocations: 142.6 kB / 434.5 MB, free: 12.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.987e-05/0.007313, allocations: 71.19 kB / 434.5 MB, free: 12.67 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.189e-05/0.007325, allocations: 0 / 434.5 MB, free: 12.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.812e-05/0.007353, allocations: 55.5 kB / 434.6 MB, free: 12.61 MB / 410.7 MB Notification: Performance of SimCode: time 3.01e-07/0.007353, allocations: 0 / 434.6 MB, free: 12.61 MB / 410.7 MB Notification: Performance of Templates: time 0.003747/0.0111, allocations: 2.577 MB / 437.2 MB, free: 10.03 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.sim & ./IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5141570563428104]