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.001374/0.001374, allocations: 105 kB / 20.45 MB, free: 1.5 MB / 14.72 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.001521/0.001521, allocations: 216.8 kB / 23.76 MB, free: 4.711 MB / 14.72 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.48/1.48, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 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.9772/0.9772, allocations: 150 MB / 463.9 MB, free: 10.48 MB / 366.1 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002377/0.002377, allocations: 66.05 kB / 0.6425 GB, free: 9.945 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.191, allocations: 89.16 MB / 0.7295 GB, free: 0.832 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Clustering.Validation.KMeans_2d): time 0.001943/0.193, allocations: 0.5089 MB / 0.73 GB, free: 332 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002733/0.1957, allocations: 1.692 MB / 0.7317 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.283e-05/0.1957, allocations: 0 / 0.7317 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000199/0.1959, allocations: 59.84 kB / 0.7317 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.654e-05/0.196, allocations: 35.88 kB / 0.7318 GB, free: 14.52 MB / 0.5606 GB [/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.001129/0.1971, allocations: 290.7 kB / 0.7321 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.31e-05/0.1972, allocations: 23.97 kB / 0.7321 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.1973, allocations: 4 kB / 0.7321 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.297e-05/0.1973, allocations: 23.95 kB / 0.7321 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.232e-05/0.1974, allocations: 47.89 kB / 0.7322 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.1974, allocations: 0 / 0.7322 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009254/0.1983, allocations: 495.1 kB / 0.7326 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.845e-05/0.1984, allocations: 31.91 kB / 0.7327 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.887e-05/0.1984, allocations: 27.69 kB / 0.7327 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005775/0.199, allocations: 307.1 kB / 0.733 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.199, allocations: 0 / 0.733 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.883e-06/0.199, allocations: 0 / 0.733 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.199, allocations: 0 / 0.733 GB, free: 13.3 MB / 0.5606 GB 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.0005524/0.1996, allocations: 369.2 kB / 0.7333 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.1996, allocations: 8.031 kB / 0.7333 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.04e-05/0.1996, allocations: 12.84 kB / 0.7333 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.1998, allocations: 135.6 kB / 0.7335 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.1998, allocations: 8.359 kB / 0.7335 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.1999, allocations: 384 / 0.7335 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.2, allocations: 46 kB / 0.7335 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.2, allocations: 0 / 0.7335 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.2, allocations: 0 / 0.7335 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.914e-06/0.2, allocations: 0 / 0.7335 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.258e-05/0.2, allocations: 23.92 kB / 0.7336 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002049/0.2002, allocations: 160.7 kB / 0.7337 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.38e-05/0.2003, allocations: 34.56 kB / 0.7337 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.237e-05/0.2003, allocations: 12.92 kB / 0.7338 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.071e-05/0.2004, allocations: 7.984 kB / 0.7338 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.2004, allocations: 38.5 kB / 0.7338 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.2004, allocations: 0 / 0.7338 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001859/0.2006, allocations: 69.53 kB / 0.7339 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.2006, allocations: 59.53 kB / 0.7339 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/0.2009, allocations: 210.7 kB / 0.7341 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.2009, allocations: 25.7 kB / 0.7341 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.037e-05/0.2009, allocations: 108.1 kB / 0.7342 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.238e-05/0.201, allocations: 4 kB / 0.7343 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.737e-05/0.201, allocations: 29.7 kB / 0.7343 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.2011, allocations: 326.8 kB / 0.7346 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.681e-05/0.2012, allocations: 47.98 kB / 0.7346 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.129e-05/0.2013, allocations: 66.02 kB / 0.7347 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.2014, allocations: 92.78 kB / 0.7348 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2014, allocations: 0 / 0.7348 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001994/0.2016, allocations: 168.2 kB / 0.7349 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.2016, allocations: 7.938 kB / 0.735 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.2016, allocations: 3.984 kB / 0.735 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.2017, allocations: 4 kB / 0.735 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.415e-05/0.2017, allocations: 0 / 0.735 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.2017, allocations: 0 / 0.735 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.177e-05/0.2017, allocations: 15.83 kB / 0.735 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.2017, allocations: 8.062 kB / 0.735 GB, free: 11.06 MB / 0.5606 GB 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.0001836/0.2019, allocations: 129.8 kB / 0.7351 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.048e-05/0.2019, allocations: 15.84 kB / 0.7351 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001336/0.202, allocations: 66.12 kB / 0.7352 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.2021, allocations: 0 / 0.7352 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.2021, allocations: 3.984 kB / 0.7352 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2021, allocations: 3.938 kB / 0.7352 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.2022, allocations: 156.8 kB / 0.7353 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2022, allocations: 0 / 0.7353 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.939e-06/0.2022, allocations: 0 / 0.7353 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.2022, allocations: 3.938 kB / 0.7354 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.2022, allocations: 0 / 0.7354 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2022, allocations: 0 / 0.7354 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2022, allocations: 4 kB / 0.7354 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.2023, allocations: 77.03 kB / 0.7354 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.949e-05/0.2023, allocations: 19.91 kB / 0.7354 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.2024, allocations: 4 kB / 0.7355 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.628e-05/0.2024, allocations: 7.938 kB / 0.7355 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.339e-05/0.2024, allocations: 7.938 kB / 0.7355 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.2024, allocations: 0 / 0.7355 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00013/0.2025, allocations: 148.4 kB / 0.7356 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2025, allocations: 0 / 0.7356 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003725/0.2029, allocations: 87.8 kB / 0.7357 GB, free: 10.26 MB / 0.5606 GB 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.000623/0.2035, allocations: 230.1 kB / 0.7359 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002083/0.2037, allocations: 117.7 kB / 0.736 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2037, allocations: 0 / 0.736 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.617e-05/0.2037, allocations: 11.98 kB / 0.736 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/0.2039, allocations: 4.125 kB / 0.736 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003982/0.2043, allocations: 243.5 kB / 0.7363 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.2047, allocations: 0.708 MB / 0.737 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.927e-05/0.2047, allocations: 11.38 kB / 0.737 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of SimCode: time 5.31e-07/0.2047, allocations: 0 / 0.737 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of Templates: time 0.005562/0.2102, allocations: 2.454 MB / 0.7394 GB, free: 6.438 MB / 0.5606 GB " [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: 10.248504111077636] Failed to read output from testmodel.py, exit status != 0: 0.21986378589645028 0.234683833 0.032425799000000005 Calling exit ...