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.001628/0.001628, allocations: 92.22 kB / 20.43 MB, free: 4.141 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.001933/0.001933, allocations: 165 kB / 23.8 MB, free: 0.7695 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.024/1.024, allocations: 177.1 MB / 204.2 MB, free: 5.652 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.5952/0.5952, allocations: 115 MB / 375.7 MB, free: 7.664 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.84 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.118e-05/2.263e-05, allocations: 2.312 kB / 481.5 MB, free: 11.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Clustering.Validation.KMeans_2d): time 0.001133/0.001156, allocations: 0.5191 MB / 482 MB, free: 11.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001739/0.002895, allocations: 1.653 MB / 483.6 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.638e-05/0.002951, allocations: 6.781 kB / 483.7 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001838/0.003135, allocations: 62.62 kB / 483.7 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.859e-05/0.003163, allocations: 35.84 kB / 483.7 MB, free: 10.42 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.0007868/0.00395, allocations: 283.8 kB / 484 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.09e-05/0.004031, allocations: 28.3 kB / 484.1 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.686e-05/0.004068, allocations: 5.875 kB / 484.1 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.954e-05/0.004117, allocations: 27.27 kB / 484.1 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.059e-05/0.004178, allocations: 41.98 kB / 484.1 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.004192, allocations: 0 / 484.1 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005948/0.004787, allocations: 452.7 kB / 484.6 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.418e-05/0.004841, allocations: 34.19 kB / 484.6 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.725e-05/0.004868, allocations: 10.16 kB / 484.6 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004212/0.005289, allocations: 361.2 kB / 485 MB, free: 10.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.005291, allocations: 0.7188 kB / 485 MB, free: 10.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.005292, allocations: 3.938 kB / 485 MB, free: 10.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.369e-06/0.005297, allocations: 3.25 kB / 485 MB, free: 10.04 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.0003507/0.005647, allocations: 465.1 kB / 485.4 MB, free: 9.605 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.005684, allocations: 9.656 kB / 485.4 MB, free: 9.605 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.189e-05/0.005726, allocations: 16.84 kB / 485.5 MB, free: 9.594 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.005836, allocations: 135.1 kB / 485.6 MB, free: 9.449 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.005845, allocations: 2.938 kB / 485.6 MB, free: 9.449 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.005854, allocations: 1.625 kB / 485.6 MB, free: 9.449 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.394e-05/0.005918, allocations: 27.42 kB / 485.6 MB, free: 9.418 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.005925, allocations: 2.906 kB / 485.6 MB, free: 9.418 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-06/0.005933, allocations: 384 / 485.6 MB, free: 9.418 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.005939, allocations: 3.938 kB / 485.6 MB, free: 9.414 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.239e-05/0.005951, allocations: 8.484 kB / 485.6 MB, free: 9.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001176/0.006069, allocations: 156.6 kB / 485.8 MB, free: 9.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.391e-05/0.006103, allocations: 29.94 kB / 485.8 MB, free: 9.211 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.451e-05/0.006118, allocations: 9.031 kB / 485.8 MB, free: 9.199 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.134e-05/0.006159, allocations: 9.391 kB / 485.8 MB, free: 9.199 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.006175, allocations: 34.73 kB / 485.9 MB, free: 9.156 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.006176, allocations: 1.094 kB / 485.9 MB, free: 9.156 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001196/0.006296, allocations: 46.39 kB / 485.9 MB, free: 9.113 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.189e-05/0.006317, allocations: 60.56 kB / 486 MB, free: 9.043 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.006442, allocations: 265.8 kB / 486.2 MB, free: 8.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.38e-06/0.006448, allocations: 25.7 kB / 486.3 MB, free: 8.809 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.724e-05/0.006485, allocations: 155.3 kB / 486.4 MB, free: 8.664 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.058e-05/0.006495, allocations: 3.953 kB / 486.4 MB, free: 8.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.473e-05/0.00653, allocations: 39.89 kB / 486.4 MB, free: 8.629 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002531/0.006783, allocations: 0.5008 MB / 486.9 MB, free: 24.13 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.417e-05/0.006807, allocations: 13.25 kB / 487 MB, free: 24.13 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.521e-05/0.006823, allocations: 12.69 kB / 487 MB, free: 24.13 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.719e-05/0.00687, allocations: 44.91 kB / 487 MB, free: 24.11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.006872, allocations: 0.9375 kB / 487 MB, free: 24.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 8.097e-05/0.006953, allocations: 96.56 kB / 487.1 MB, free: 24.06 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.006965, allocations: 7.594 kB / 487.1 MB, free: 24.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.006979, allocations: 1.156 kB / 487.1 MB, free: 24.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.006991, allocations: 0 / 487.1 MB, free: 24.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.407e-05/0.007005, allocations: 1.25 kB / 487.1 MB, free: 24.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.00701, allocations: 3.938 kB / 487.1 MB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.148e-05/0.007031, allocations: 8.484 kB / 487.1 MB, free: 24.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.007038, allocations: 1.219 kB / 487.1 MB, free: 24.05 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.868e-05/0.007107, allocations: 163.5 kB / 487.3 MB, free: 23.89 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.666e-06/0.007116, allocations: 11.72 kB / 487.3 MB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.004e-05/0.007196, allocations: 45.89 kB / 487.4 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.007198, allocations: 1.156 kB / 487.4 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.007201, allocations: 3.938 kB / 487.4 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.007204, allocations: 1.75 kB / 487.4 MB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.369e-05/0.007267, allocations: 150.7 kB / 487.5 MB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.007269, allocations: 4.406 kB / 487.5 MB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.968e-06/0.007273, allocations: 0 / 487.5 MB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.007275, allocations: 5.656 kB / 487.5 MB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.00728, allocations: 3.938 kB / 487.5 MB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.007282, allocations: 2.562 kB / 487.5 MB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.007283, allocations: 0 / 487.5 MB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.439e-05/0.007327, allocations: 88.39 kB / 487.6 MB, free: 23.58 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.005e-05/0.007337, allocations: 7.828 kB / 487.6 MB, free: 23.58 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.538e-06/0.007347, allocations: 0 / 487.6 MB, free: 23.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.464e-06/0.007354, allocations: 1.281 kB / 487.6 MB, free: 23.58 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.377e-05/0.007368, allocations: 3.984 kB / 487.6 MB, free: 23.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.007372, allocations: 5.594 kB / 487.6 MB, free: 23.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.055e-05/0.007442, allocations: 168.8 kB / 487.8 MB, free: 23.44 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007442, allocations: 0 / 487.8 MB, free: 23.44 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002573/0.0077, allocations: 93.2 kB / 487.9 MB, free: 23.43 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.0004298/0.008129, allocations: 261.6 kB / 488.1 MB, free: 23.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001228/0.008252, allocations: 84.59 kB / 488.2 MB, free: 23.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.008254, allocations: 0 / 488.2 MB, free: 23.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.54e-06/0.00826, allocations: 9.125 kB / 488.2 MB, free: 23.23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001085/0.008368, allocations: 4 kB / 488.2 MB, free: 23.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002248/0.008593, allocations: 192.9 kB / 488.4 MB, free: 23.07 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.58e-05/0.008619, allocations: 65.88 kB / 488.5 MB, free: 23 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.646e-05/0.008635, allocations: 2.5 kB / 488.5 MB, free: 23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.874e-05/0.008654, allocations: 13.81 kB / 488.5 MB, free: 22.99 MB / 426.7 MB Notification: Performance of SimCode: time 4.8e-07/0.008655, allocations: 0 / 488.5 MB, free: 22.99 MB / 426.7 MB Notification: Performance of Templates: time 0.005067/0.01372, allocations: 2.617 MB / 491.1 MB, free: 22.82 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.531198801007122]