Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.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.001406/0.001406, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001465/0.001465, allocations: 211.9 kB / 22.99 MB, free: 4.605 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.548/1.548, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.9873/0.9873, allocations: 149.9 MB / 463 MB, free: 10.37 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_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d") translateModel(IBPSA.Utilities.Clustering.Validation.KMeans_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d") [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.002209/0.002209, allocations: 62.81 kB / 0.6415 GB, free: 9.668 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1899, allocations: 89.18 MB / 0.7286 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Clustering.Validation.KMeans_1d): time 0.001742/0.1917, allocations: 0.5195 MB / 0.7291 GB, free: 52 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002426/0.1941, allocations: 1.607 MB / 0.7307 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.227e-05/0.1941, allocations: 0 / 0.7307 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001495/0.1943, allocations: 23.91 kB / 0.7307 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.871e-05/0.1943, allocations: 11.92 kB / 0.7307 GB, free: 14.39 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.0009539/0.1952, allocations: 275.2 kB / 0.731 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.168e-05/0.1953, allocations: 15.98 kB / 0.731 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.681e-05/0.1954, allocations: 0 / 0.731 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.387e-05/0.1954, allocations: 27.86 kB / 0.731 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.762e-05/0.1954, allocations: 19.91 kB / 0.731 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.1954, allocations: 4 kB / 0.731 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007456/0.1962, allocations: 451.1 kB / 0.7315 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.58e-05/0.1962, allocations: 19.98 kB / 0.7315 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.513e-05/0.1963, allocations: 15.81 kB / 0.7315 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004349/0.1967, allocations: 295.2 kB / 0.7318 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1967, allocations: 0 / 0.7318 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1967, allocations: 0 / 0.7318 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.1967, allocations: 4 kB / 0.7318 GB, free: 13.29 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.0004978/0.1972, allocations: 333.5 kB / 0.7321 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.1973, allocations: 12.03 kB / 0.7321 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.1973, allocations: 4.891 kB / 0.7321 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.1975, allocations: 134.4 kB / 0.7322 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.361e-06/0.1975, allocations: 4.375 kB / 0.7323 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.1975, allocations: 384 / 0.7323 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.1976, allocations: 38.02 kB / 0.7323 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1976, allocations: 0 / 0.7323 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.1976, allocations: 0 / 0.7323 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1976, allocations: 4 kB / 0.7323 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.22e-05/0.1976, allocations: 15.98 kB / 0.7323 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001653/0.1978, allocations: 125.3 kB / 0.7324 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.784e-05/0.1979, allocations: 34.5 kB / 0.7325 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.194e-05/0.1979, allocations: 8.922 kB / 0.7325 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.936e-05/0.1979, allocations: 11.98 kB / 0.7325 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.198, allocations: 38.56 kB / 0.7325 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.198, allocations: 0 / 0.7325 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001732/0.1981, allocations: 65.52 kB / 0.7326 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.1982, allocations: 51.53 kB / 0.7326 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.1984, allocations: 177.6 kB / 0.7328 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.1984, allocations: 25.7 kB / 0.7328 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.558e-05/0.1984, allocations: 96.12 kB / 0.7329 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.157e-06/0.1985, allocations: 0 / 0.7329 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.141e-05/0.1985, allocations: 21.72 kB / 0.7329 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.1986, allocations: 322.8 kB / 0.7332 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.641e-05/0.1987, allocations: 39.98 kB / 0.7333 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.662e-05/0.1987, allocations: 39.98 kB / 0.7333 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.412e-05/0.1988, allocations: 72.09 kB / 0.7334 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1988, allocations: 0 / 0.7334 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001604/0.199, allocations: 137.5 kB / 0.7335 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.199, allocations: 8 kB / 0.7335 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.199, allocations: 3.938 kB / 0.7335 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.1991, allocations: 3.938 kB / 0.7335 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.204e-05/0.1991, allocations: 0 / 0.7335 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1991, allocations: 4 kB / 0.7335 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.095e-05/0.1991, allocations: 3.953 kB / 0.7335 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.1991, allocations: 0 / 0.7335 GB, free: 11.32 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: 9 (cluster_size[3],cluster_size[2],cluster_size[1],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.0001407/0.1992, allocations: 121.8 kB / 0.7337 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.807e-05/0.1993, allocations: 19.88 kB / 0.7337 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001148/0.1994, allocations: 65.47 kB / 0.7337 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.1994, allocations: 3.938 kB / 0.7337 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1994, allocations: 3.938 kB / 0.7337 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.1994, allocations: 0 / 0.7337 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.1995, allocations: 121.3 kB / 0.7339 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1995, allocations: 0 / 0.7339 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.191e-06/0.1995, allocations: 4 kB / 0.7339 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.1995, allocations: 0 / 0.7339 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.1995, allocations: 0 / 0.7339 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.1995, allocations: 3.938 kB / 0.7339 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.1995, allocations: 4.031 kB / 0.7339 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.415e-05/0.1996, allocations: 77.08 kB / 0.7339 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.485e-05/0.1996, allocations: 11.89 kB / 0.734 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.1996, allocations: 0 / 0.734 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.327e-05/0.1996, allocations: 3.938 kB / 0.734 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.966e-05/0.1997, allocations: 3.984 kB / 0.734 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.1997, allocations: 0 / 0.734 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.21e-05/0.1998, allocations: 119.2 kB / 0.7341 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1998, allocations: 0 / 0.7341 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000323/0.2001, allocations: 91.8 kB / 0.7342 GB, free: 10.61 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.0005259/0.2006, allocations: 240.5 kB / 0.7344 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001714/0.2008, allocations: 89.67 kB / 0.7345 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2008, allocations: 0 / 0.7345 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-05/0.2008, allocations: 8.062 kB / 0.7345 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.2009, allocations: 15.98 kB / 0.7345 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002973/0.2012, allocations: 161.2 kB / 0.7347 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.224e-05/0.2013, allocations: 75.31 kB / 0.7347 GB, free: 10 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.92e-05/0.2013, allocations: 4 kB / 0.7347 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.268e-05/0.2014, allocations: 7.438 kB / 0.7347 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.2014, allocations: 0 / 0.7347 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of Templates: time 0.006713/0.2081, allocations: 2.219 MB / 0.7369 GB, free: 7.773 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.sim & ./IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.918594280257821] Failed to read output from testmodel.py, exit status != 0: 0.21678238362073898 0.23163835099999996 0.03156205 Calling exit ...