Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0009686/0.0009686, allocations: 92.22 kB / 20.43 MB, free: 4.137 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.0009894/0.0009894, allocations: 169 kB / 23.8 MB, free: 0.7656 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 1.014/1.014, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.6353/0.6353, allocations: 114.9 MB / 375.7 MB, free: 7.684 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_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d") translateModel(IBPSA.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 481.5 MB, free: 11.93 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.502e-05/2.647e-05, allocations: 2.312 kB / 481.5 MB, free: 11.93 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Clustering.Validation.KMeans_2d): time 0.001175/0.001202, allocations: 0.5269 MB / 482 MB, free: 11.64 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001767/0.002969, allocations: 1.654 MB / 483.6 MB, free: 10.53 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.038e-05/0.00301, allocations: 7.875 kB / 483.6 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001884/0.003198, allocations: 64.67 kB / 483.7 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.775e-05/0.003226, allocations: 30.02 kB / 483.7 MB, free: 10.51 MB / 410.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.0008511/0.004077, allocations: 285.5 kB / 484 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.216e-05/0.004159, allocations: 31.77 kB / 484 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.984e-05/0.004199, allocations: 7.031 kB / 484.1 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.912e-05/0.004248, allocations: 23.08 kB / 484.1 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.273e-05/0.004311, allocations: 41.78 kB / 484.1 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.004327, allocations: 0 / 484.1 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006253/0.004952, allocations: 455.4 kB / 484.6 MB, free: 10.26 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.994e-05/0.005012, allocations: 25.42 kB / 484.6 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.576e-05/0.005038, allocations: 14.06 kB / 484.6 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004295/0.005467, allocations: 367 kB / 485 MB, free: 10.13 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.005471, allocations: 1.438 kB / 485 MB, free: 10.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.005472, allocations: 0 / 485 MB, free: 10.13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.005477, allocations: 1.25 kB / 485 MB, free: 10.13 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.0003772/0.005854, allocations: 462.6 kB / 485.4 MB, free: 9.695 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.005895, allocations: 9.656 kB / 485.4 MB, free: 9.695 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.21e-05/0.005937, allocations: 19.53 kB / 485.4 MB, free: 9.684 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.006058, allocations: 138.8 kB / 485.6 MB, free: 9.535 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.006067, allocations: 3.844 kB / 485.6 MB, free: 9.535 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.00608, allocations: 1.719 kB / 485.6 MB, free: 9.535 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.726e-05/0.006157, allocations: 27.45 kB / 485.6 MB, free: 9.504 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.006165, allocations: 2.5 kB / 485.6 MB, free: 9.504 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.006174, allocations: 384 / 485.6 MB, free: 9.504 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.006181, allocations: 3.938 kB / 485.6 MB, free: 9.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.23e-05/0.006193, allocations: 3.25 kB / 485.6 MB, free: 9.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001288/0.006322, allocations: 158.5 kB / 485.8 MB, free: 9.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.407e-05/0.006356, allocations: 30.59 kB / 485.8 MB, free: 9.301 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.6e-05/0.006372, allocations: 8.938 kB / 485.8 MB, free: 9.289 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.421e-05/0.006417, allocations: 4.812 kB / 485.8 MB, free: 9.289 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.464e-05/0.006431, allocations: 35.23 kB / 485.9 MB, free: 9.246 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.006432, allocations: 0 / 485.9 MB, free: 9.246 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001411/0.006573, allocations: 47.11 kB / 485.9 MB, free: 9.207 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.128e-05/0.006595, allocations: 56.38 kB / 486 MB, free: 9.141 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.00673, allocations: 272.8 kB / 486.2 MB, free: 8.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.006738, allocations: 25.7 kB / 486.2 MB, free: 8.898 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002308/0.006969, allocations: 158.3 kB / 486.4 MB, free: 24.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.198e-05/0.006981, allocations: 8.328 kB / 486.4 MB, free: 24.75 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.007015, allocations: 36.73 kB / 486.4 MB, free: 24.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.007139, allocations: 0.5002 MB / 486.9 MB, free: 24.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.524e-05/0.007164, allocations: 15.5 kB / 487 MB, free: 24.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.026e-05/0.007184, allocations: 15.5 kB / 487 MB, free: 24.21 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.283e-05/0.007237, allocations: 43.83 kB / 487 MB, free: 24.19 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.007239, allocations: 0 / 487 MB, free: 24.19 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 9.106e-05/0.00733, allocations: 84.78 kB / 487.1 MB, free: 24.15 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.007346, allocations: 5.406 kB / 487.1 MB, free: 24.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/0.007362, allocations: 8.906 kB / 487.1 MB, free: 24.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.007379, allocations: 6.297 kB / 487.1 MB, free: 24.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.471e-05/0.007394, allocations: 0 / 487.1 MB, free: 24.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.0074, allocations: 3.938 kB / 487.1 MB, free: 24.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.304e-05/0.007423, allocations: 11.48 kB / 487.1 MB, free: 24.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.007432, allocations: 5.5 kB / 487.1 MB, free: 24.13 MB / 426.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: 10 (cluster_size[3],cluster_size[2],cluster_size[1],labels[6],labels[5],labels[4],labels[3],labels[2],labels[1],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 8.822e-05/0.00752, allocations: 158.8 kB / 487.3 MB, free: 23.97 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.181e-05/0.007532, allocations: 14.92 kB / 487.3 MB, free: 23.96 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.307e-05/0.007625, allocations: 49.25 kB / 487.4 MB, free: 23.92 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.007627, allocations: 1.188 kB / 487.4 MB, free: 23.92 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.007631, allocations: 3.938 kB / 487.4 MB, free: 23.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.007634, allocations: 0 / 487.4 MB, free: 23.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.073e-05/0.007705, allocations: 151.2 kB / 487.5 MB, free: 23.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.007707, allocations: 0 / 487.5 MB, free: 23.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.268e-06/0.007711, allocations: 2.25 kB / 487.5 MB, free: 23.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.007712, allocations: 0 / 487.5 MB, free: 23.76 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.64e-06/0.007718, allocations: 1.469 kB / 487.5 MB, free: 23.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.007719, allocations: 4.906 kB / 487.5 MB, free: 23.76 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.007721, allocations: 0 / 487.5 MB, free: 23.76 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.924e-05/0.00777, allocations: 87.91 kB / 487.6 MB, free: 23.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.023e-05/0.00778, allocations: 6.891 kB / 487.6 MB, free: 23.66 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.002e-05/0.00779, allocations: 0.8125 kB / 487.6 MB, free: 23.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.825e-06/0.007798, allocations: 0 / 487.6 MB, free: 23.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.473e-05/0.007813, allocations: 1 kB / 487.6 MB, free: 23.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.007815, allocations: 5.625 kB / 487.6 MB, free: 23.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.073e-05/0.007896, allocations: 170.6 kB / 487.8 MB, free: 23.53 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.007896, allocations: 0 / 487.8 MB, free: 23.53 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002947/0.008191, allocations: 93.47 kB / 487.9 MB, free: 23.51 MB / 426.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.00046/0.008651, allocations: 261 kB / 488.1 MB, free: 23.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001322/0.008783, allocations: 79.47 kB / 488.2 MB, free: 23.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.008784, allocations: 0.7812 kB / 488.2 MB, free: 23.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.281e-06/0.008791, allocations: 9.812 kB / 488.2 MB, free: 23.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001205/0.008911, allocations: 17.75 kB / 488.2 MB, free: 23.31 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002522/0.009163, allocations: 192.5 kB / 488.4 MB, free: 23.15 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.804e-05/0.009192, allocations: 66.06 kB / 488.5 MB, free: 23.08 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.886e-05/0.00921, allocations: 1.562 kB / 488.5 MB, free: 23.08 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.628e-05/0.009227, allocations: 10.09 kB / 488.5 MB, free: 23.07 MB / 426.7 MB Notification: Performance of SimCode: time 7.22e-07/0.009227, allocations: 0 / 488.5 MB, free: 23.07 MB / 426.7 MB Notification: Performance of Templates: time 0.005061/0.01429, allocations: 2.21 MB / 490.7 MB, free: 22.98 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d.sim & ./IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.768104194663465]