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.0009237/0.0009237, allocations: 84.22 kB / 20.94 MB, free: 3.609 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.001418/0.001418, allocations: 169 kB / 24.25 MB, free: 308 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 1.012/1.012, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.6252/0.6252, allocations: 115 MB / 376 MB, free: 7.656 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.783e-06/1.783e-06, allocations: 0 / 481.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.356e-05/2.534e-05, allocations: 6.891 kB / 481.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Clustering.Validation.KMeans_2d): time 0.00109/0.001115, allocations: 0.5208 MB / 482 MB, free: 11.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001626/0.002742, allocations: 1.651 MB / 483.6 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.946e-05/0.002781, allocations: 2.406 kB / 483.6 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001677/0.002949, allocations: 68.95 kB / 483.7 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.492e-05/0.002974, allocations: 26.12 kB / 483.7 MB, free: 10.44 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.0007332/0.003707, allocations: 288.1 kB / 484 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.457e-05/0.003781, allocations: 33.92 kB / 484 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.54e-05/0.003817, allocations: 4.203 kB / 484.1 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.261e-05/0.00386, allocations: 23.69 kB / 484.1 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.406e-05/0.003914, allocations: 40.08 kB / 484.1 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.003926, allocations: 2.344 kB / 484.1 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005184/0.004445, allocations: 453 kB / 484.6 MB, free: 10.19 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.115e-05/0.004496, allocations: 25.11 kB / 484.6 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.213e-05/0.004518, allocations: 14.94 kB / 484.6 MB, free: 10.17 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003718/0.00489, allocations: 366.3 kB / 485 MB, free: 10.06 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.004892, allocations: 0 / 485 MB, free: 10.06 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.004893, allocations: 1.562 kB / 485 MB, free: 10.06 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.004897, allocations: 1.188 kB / 485 MB, free: 10.06 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.0003184/0.005216, allocations: 464.9 kB / 485.4 MB, free: 9.621 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.00525, allocations: 9.344 kB / 485.4 MB, free: 9.621 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.767e-05/0.005288, allocations: 13.53 kB / 485.4 MB, free: 9.613 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.005391, allocations: 140.4 kB / 485.6 MB, free: 9.465 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.173e-06/0.005398, allocations: 1.156 kB / 485.6 MB, free: 9.465 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.005408, allocations: 5.406 kB / 485.6 MB, free: 9.461 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.167e-05/0.00547, allocations: 33.42 kB / 485.6 MB, free: 9.426 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.508e-06/0.005474, allocations: 192 / 485.6 MB, free: 9.426 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.005482, allocations: 3.438 kB / 485.6 MB, free: 9.426 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.005487, allocations: 3.938 kB / 485.6 MB, free: 9.422 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.164e-05/0.005499, allocations: 4.469 kB / 485.6 MB, free: 9.422 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001159/0.005615, allocations: 158.1 kB / 485.8 MB, free: 9.262 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.003e-05/0.005645, allocations: 24.16 kB / 485.8 MB, free: 9.227 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.255e-05/0.005657, allocations: 8.906 kB / 485.8 MB, free: 9.215 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.74e-05/0.005695, allocations: 9.516 kB / 485.8 MB, free: 9.215 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.275e-05/0.005707, allocations: 39.77 kB / 485.9 MB, free: 9.168 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.005708, allocations: 0 / 485.9 MB, free: 9.168 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001073/0.005815, allocations: 41.67 kB / 485.9 MB, free: 9.129 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.861e-05/0.005834, allocations: 59.89 kB / 486 MB, free: 9.062 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.005951, allocations: 265.4 kB / 486.2 MB, free: 8.859 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.56e-06/0.005957, allocations: 29.7 kB / 486.2 MB, free: 8.824 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.666e-05/0.005994, allocations: 154.4 kB / 486.4 MB, free: 8.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.648e-06/0.006003, allocations: 3.953 kB / 486.4 MB, free: 8.676 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/0.006036, allocations: 44.86 kB / 486.4 MB, free: 8.641 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002425/0.006279, allocations: 0.4983 MB / 486.9 MB, free: 24.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.425e-05/0.006303, allocations: 16.31 kB / 487 MB, free: 24.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.698e-05/0.00632, allocations: 14.89 kB / 487 MB, free: 24.14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.606e-05/0.006366, allocations: 46.36 kB / 487 MB, free: 24.11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.006368, allocations: 0 / 487 MB, free: 24.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 8.404e-05/0.006452, allocations: 86.78 kB / 487.1 MB, free: 24.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.006464, allocations: 5 kB / 487.1 MB, free: 24.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.006477, allocations: 1.25 kB / 487.1 MB, free: 24.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.006487, allocations: 1.938 kB / 487.1 MB, free: 24.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.083e-05/0.006498, allocations: 4.094 kB / 487.1 MB, free: 24.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.006504, allocations: 3.938 kB / 487.1 MB, free: 24.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.208e-05/0.006526, allocations: 10.42 kB / 487.1 MB, free: 24.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.006533, allocations: 2.469 kB / 487.1 MB, free: 24.06 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 6.71e-05/0.0066, allocations: 163.5 kB / 487.3 MB, free: 23.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.348e-06/0.006609, allocations: 16 kB / 487.3 MB, free: 23.89 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.093e-05/0.00668, allocations: 48.67 kB / 487.4 MB, free: 23.85 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.006682, allocations: 1.031 kB / 487.4 MB, free: 23.85 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.006685, allocations: 7.875 kB / 487.4 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.006688, allocations: 1.406 kB / 487.4 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.255e-05/0.00675, allocations: 147.4 kB / 487.5 MB, free: 23.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.006752, allocations: 4.781 kB / 487.5 MB, free: 23.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.577e-06/0.006755, allocations: 0.9062 kB / 487.5 MB, free: 23.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.006757, allocations: 0 / 487.5 MB, free: 23.69 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.006764, allocations: 4.141 kB / 487.5 MB, free: 23.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.006765, allocations: 0.5938 kB / 487.5 MB, free: 23.69 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.006766, allocations: 3.5 kB / 487.5 MB, free: 23.69 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.181e-05/0.006808, allocations: 85.61 kB / 487.6 MB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.004e-05/0.006818, allocations: 10.48 kB / 487.6 MB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.006828, allocations: 1.406 kB / 487.6 MB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.574e-06/0.006836, allocations: 0 / 487.6 MB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.287e-05/0.006849, allocations: 0.7812 kB / 487.6 MB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-06/0.00685, allocations: 5.094 kB / 487.6 MB, free: 23.58 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.494e-05/0.006925, allocations: 171.5 kB / 487.8 MB, free: 23.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006925, allocations: 1.281 kB / 487.8 MB, free: 23.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002725/0.007198, allocations: 89.02 kB / 487.9 MB, free: 23.44 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.0004137/0.007612, allocations: 257.8 kB / 488.1 MB, free: 23.31 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001055/0.007717, allocations: 77.17 kB / 488.2 MB, free: 23.27 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.007719, allocations: 0 / 488.2 MB, free: 23.27 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.45e-06/0.007724, allocations: 16.75 kB / 488.2 MB, free: 23.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000111/0.007835, allocations: 6.672 kB / 488.2 MB, free: 23.25 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002132/0.008048, allocations: 194.2 kB / 488.4 MB, free: 23.08 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.339e-05/0.008072, allocations: 69.22 kB / 488.5 MB, free: 23.01 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.393e-05/0.008085, allocations: 3.906 kB / 488.5 MB, free: 23.01 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.162e-05/0.008097, allocations: 8.5 kB / 488.5 MB, free: 23 MB / 426.7 MB Notification: Performance of SimCode: time 6.71e-07/0.008098, allocations: 1.719 kB / 488.5 MB, free: 23 MB / 426.7 MB Notification: Performance of Templates: time 0.00413/0.01223, allocations: 2.217 MB / 490.7 MB, free: 22.91 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.636616762029007]