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.001805/0.001805, allocations: 92.72 kB / 20.21 MB, free: 4.223 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.002101/0.002101, allocations: 157.7 kB / 23.52 MB, free: 0.918 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.491/1.491, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.9552/0.9552, allocations: 115 MB / 375.3 MB, free: 7.555 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 2.444e-06/2.444e-06, allocations: 0 / 480.7 MB, free: 11.91 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.775e-05/3.02e-05, allocations: 2.312 kB / 480.7 MB, free: 11.9 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Clustering.Validation.KMeans_2d): time 0.001379/0.001409, allocations: 0.5173 MB / 481.3 MB, free: 11.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002147/0.003556, allocations: 1.611 MB / 482.9 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.691e-05/0.003593, allocations: 4.469 kB / 482.9 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000197/0.00379, allocations: 64.94 kB / 482.9 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.566e-05/0.003825, allocations: 27.72 kB / 483 MB, free: 10.5 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.0009202/0.004745, allocations: 284.6 kB / 483.2 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.885e-05/0.004824, allocations: 33.22 kB / 483.3 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.639e-05/0.004861, allocations: 3.594 kB / 483.3 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.05e-05/0.004921, allocations: 19.06 kB / 483.3 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.806e-05/0.004989, allocations: 49.5 kB / 483.3 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.005004, allocations: 1.219 kB / 483.3 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006259/0.00563, allocations: 453.5 kB / 483.8 MB, free: 10.24 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.459e-05/0.005685, allocations: 22.53 kB / 483.8 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.274e-05/0.005718, allocations: 13.94 kB / 483.8 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005341/0.006252, allocations: 364.8 kB / 484.2 MB, free: 10.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.006256, allocations: 0.7812 kB / 484.2 MB, free: 10.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.006257, allocations: 0 / 484.2 MB, free: 10.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.006261, allocations: 1.156 kB / 484.2 MB, free: 10.12 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.0003652/0.006626, allocations: 362.8 kB / 484.5 MB, free: 9.785 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.006663, allocations: 8.281 kB / 484.5 MB, free: 9.785 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.065e-05/0.006703, allocations: 23.09 kB / 484.6 MB, free: 9.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.006831, allocations: 135.2 kB / 484.7 MB, free: 9.629 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.006843, allocations: 384 / 484.7 MB, free: 9.629 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.847e-06/0.006852, allocations: 5.469 kB / 484.7 MB, free: 9.625 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.754e-05/0.006929, allocations: 35.55 kB / 484.7 MB, free: 9.594 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.006937, allocations: 5.375 kB / 484.7 MB, free: 9.594 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.006945, allocations: 1.688 kB / 484.7 MB, free: 9.594 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.006949, allocations: 3.938 kB / 484.8 MB, free: 9.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.006e-05/0.006979, allocations: 22.55 kB / 484.8 MB, free: 9.586 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001231/0.007102, allocations: 130.3 kB / 484.9 MB, free: 9.453 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.779e-05/0.00714, allocations: 28.95 kB / 484.9 MB, free: 9.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.812e-05/0.007158, allocations: 16.92 kB / 484.9 MB, free: 9.418 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.359e-05/0.007192, allocations: 8.219 kB / 485 MB, free: 9.418 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.668e-05/0.007209, allocations: 37.38 kB / 485 MB, free: 9.375 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 7.21e-07/0.007209, allocations: 1.375 kB / 485 MB, free: 9.375 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001272/0.007337, allocations: 69.77 kB / 485.1 MB, free: 9.332 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.208e-05/0.007359, allocations: 59.34 kB / 485.1 MB, free: 9.266 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.007528, allocations: 213.2 kB / 485.3 MB, free: 9.133 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.797e-06/0.007537, allocations: 26.64 kB / 485.4 MB, free: 9.102 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.175e-05/0.007579, allocations: 101.5 kB / 485.4 MB, free: 9.008 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.916e-06/0.007588, allocations: 2.062 kB / 485.5 MB, free: 9.008 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.007625, allocations: 31.66 kB / 485.5 MB, free: 8.984 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002351/0.00786, allocations: 330.6 kB / 485.8 MB, free: 24.66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.392e-05/0.007924, allocations: 52.59 kB / 485.9 MB, free: 24.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.224e-05/0.007977, allocations: 55.88 kB / 485.9 MB, free: 24.65 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.633e-05/0.008073, allocations: 94.2 kB / 486 MB, free: 24.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.008075, allocations: 1.562 kB / 486 MB, free: 24.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001571/0.008232, allocations: 162.8 kB / 486.2 MB, free: 24.56 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.008247, allocations: 5.656 kB / 486.2 MB, free: 24.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.008261, allocations: 2.25 kB / 486.2 MB, free: 24.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.008278, allocations: 1.031 kB / 486.2 MB, free: 24.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.123e-05/0.00829, allocations: 0 / 486.2 MB, free: 24.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.008296, allocations: 9.312 kB / 486.2 MB, free: 24.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.618e-05/0.008322, allocations: 17.33 kB / 486.2 MB, free: 24.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.126e-06/0.00833, allocations: 0 / 486.2 MB, free: 24.54 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 0.0001648/0.008495, allocations: 130.5 kB / 486.3 MB, free: 24.43 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/0.008511, allocations: 13.45 kB / 486.3 MB, free: 24.42 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.008619, allocations: 65.75 kB / 486.4 MB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.008621, allocations: 0 / 486.4 MB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.501e-05/0.008636, allocations: 5.156 kB / 486.4 MB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.008639, allocations: 0 / 486.4 MB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.968e-05/0.008718, allocations: 134.3 kB / 486.5 MB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.008719, allocations: 0 / 486.5 MB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.288e-06/0.008724, allocations: 2.156 kB / 486.5 MB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.008725, allocations: 0 / 486.5 MB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.008731, allocations: 1.062 kB / 486.5 MB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.008732, allocations: 1.688 kB / 486.5 MB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.008733, allocations: 1.094 kB / 486.5 MB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.408e-05/0.008807, allocations: 94.86 kB / 486.6 MB, free: 24.16 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.259e-05/0.008819, allocations: 8.328 kB / 486.6 MB, free: 24.16 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.008832, allocations: 1.188 kB / 486.6 MB, free: 24.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.352e-05/0.008846, allocations: 0.5625 kB / 486.6 MB, free: 24.16 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.324e-05/0.008859, allocations: 1.188 kB / 486.6 MB, free: 24.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.008862, allocations: 5.375 kB / 486.7 MB, free: 24.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001261/0.008988, allocations: 153.8 kB / 486.8 MB, free: 24.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008988, allocations: 0 / 486.8 MB, free: 24.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003583/0.009346, allocations: 89.33 kB / 486.9 MB, free: 24.05 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.0006575/0.01, allocations: 265.2 kB / 487.2 MB, free: 23.92 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001761/0.01018, allocations: 119.4 kB / 487.3 MB, free: 23.88 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01018, allocations: 0 / 487.3 MB, free: 23.88 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.655e-05/0.0102, allocations: 13.33 kB / 487.3 MB, free: 23.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/0.01035, allocations: 5.969 kB / 487.3 MB, free: 23.87 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003308/0.01068, allocations: 217.9 kB / 487.5 MB, free: 23.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.672e-05/0.01076, allocations: 94.28 kB / 487.6 MB, free: 23.64 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.835e-05/0.01078, allocations: 4.766 kB / 487.6 MB, free: 23.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.071e-05/0.0108, allocations: 9.625 kB / 487.6 MB, free: 23.63 MB / 426.7 MB Notification: Performance of SimCode: time 4.51e-07/0.0108, allocations: 0 / 487.6 MB, free: 23.63 MB / 426.7 MB Notification: Performance of Templates: time 0.00643/0.01723, allocations: 2.211 MB / 489.8 MB, free: 23.54 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.496146324905567]