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.001456/0.001456, allocations: 104.3 kB / 20.45 MB, free: 1.383 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.001575/0.001575, allocations: 205.3 kB / 23.74 MB, free: 4.543 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.455/1.455, allocations: 230.6 MB / 257.5 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.9797/0.9797, allocations: 149.9 MB / 463.8 MB, free: 10.39 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.002075/0.002075, allocations: 72.25 kB / 0.6423 GB, free: 9.695 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1974, allocations: 89.17 MB / 0.7294 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Clustering.Validation.KMeans_2d): time 0.001952/0.1994, allocations: 0.5089 MB / 0.7299 GB, free: 84 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002631/0.202, allocations: 1.614 MB / 0.7314 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.045e-05/0.202, allocations: 0 / 0.7314 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001994/0.2022, allocations: 59.84 kB / 0.7315 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.906e-05/0.2023, allocations: 27.95 kB / 0.7315 GB, free: 14.36 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.001007/0.2033, allocations: 275.2 kB / 0.7318 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.271e-05/0.2034, allocations: 43.83 kB / 0.7318 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.338e-05/0.2034, allocations: 3.984 kB / 0.7318 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.304e-05/0.2035, allocations: 15.98 kB / 0.7318 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.64e-05/0.2035, allocations: 47.88 kB / 0.7319 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.2036, allocations: 0 / 0.7319 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007683/0.2043, allocations: 455.1 kB / 0.7323 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.094e-05/0.2044, allocations: 31.92 kB / 0.7323 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.681e-05/0.2044, allocations: 15.81 kB / 0.7324 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004705/0.2049, allocations: 311.1 kB / 0.7327 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2049, allocations: 0 / 0.7327 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2049, allocations: 4 kB / 0.7327 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.2049, allocations: 0 / 0.7327 GB, free: 13.18 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.0005223/0.2054, allocations: 365.3 kB / 0.733 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.2055, allocations: 11.97 kB / 0.733 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.278e-05/0.2055, allocations: 12.84 kB / 0.733 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.2057, allocations: 135.5 kB / 0.7332 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.2057, allocations: 4.375 kB / 0.7332 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.2057, allocations: 384 / 0.7332 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.2058, allocations: 42.02 kB / 0.7332 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.2058, allocations: 0 / 0.7332 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.2058, allocations: 3.984 kB / 0.7332 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.2058, allocations: 0 / 0.7332 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.996e-05/0.2059, allocations: 16 kB / 0.7332 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001871/0.206, allocations: 141.2 kB / 0.7334 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.429e-05/0.2061, allocations: 34.5 kB / 0.7334 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.409e-05/0.2061, allocations: 12.92 kB / 0.7334 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.189e-05/0.2062, allocations: 15.98 kB / 0.7334 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.2062, allocations: 30.56 kB / 0.7335 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.2062, allocations: 0 / 0.7335 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001689/0.2064, allocations: 69.53 kB / 0.7335 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.2064, allocations: 55.34 kB / 0.7336 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/0.2066, allocations: 222.7 kB / 0.7338 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.2067, allocations: 25.7 kB / 0.7338 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.229e-05/0.2067, allocations: 100.1 kB / 0.7339 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.408e-06/0.2067, allocations: 4 kB / 0.7339 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.275e-05/0.2068, allocations: 29.7 kB / 0.7339 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.207, allocations: 327 kB / 0.7342 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.159e-05/0.207, allocations: 51.98 kB / 0.7343 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.648e-05/0.2071, allocations: 63.91 kB / 0.7344 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.2072, allocations: 87.17 kB / 0.7344 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2072, allocations: 0 / 0.7344 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002017/0.2074, allocations: 165.5 kB / 0.7346 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.2074, allocations: 10.59 kB / 0.7346 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/0.2074, allocations: 7.938 kB / 0.7346 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.2075, allocations: 0 / 0.7346 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.357e-05/0.2075, allocations: 0 / 0.7346 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.2075, allocations: 0 / 0.7346 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.187e-05/0.2075, allocations: 19.89 kB / 0.7346 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-06/0.2075, allocations: 0 / 0.7346 GB, free: 11 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.0001696/0.2077, allocations: 132.8 kB / 0.7348 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.911e-05/0.2077, allocations: 15.91 kB / 0.7348 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001306/0.2078, allocations: 62.12 kB / 0.7348 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.2078, allocations: 7.969 kB / 0.7348 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2078, allocations: 0 / 0.7348 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.2078, allocations: 0 / 0.7348 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.208, allocations: 137.3 kB / 0.735 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.208, allocations: 4.031 kB / 0.735 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.991e-06/0.208, allocations: 7.875 kB / 0.735 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.208, allocations: 4 kB / 0.735 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-06/0.208, allocations: 0 / 0.735 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.208, allocations: 3.938 kB / 0.735 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.208, allocations: 0 / 0.735 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.2081, allocations: 85.03 kB / 0.7351 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.691e-05/0.2081, allocations: 7.953 kB / 0.7351 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.2081, allocations: 3.984 kB / 0.7351 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.48e-05/0.2081, allocations: 3.938 kB / 0.7351 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.119e-05/0.2082, allocations: 4.031 kB / 0.7351 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.2082, allocations: 3.938 kB / 0.7351 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000138/0.2083, allocations: 148.4 kB / 0.7352 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2083, allocations: 0 / 0.7352 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000332/0.2086, allocations: 91.8 kB / 0.7353 GB, free: 10.23 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.0005744/0.2092, allocations: 221.3 kB / 0.7355 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000195/0.2094, allocations: 117.6 kB / 0.7356 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.2094, allocations: 4 kB / 0.7357 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.831e-05/0.2094, allocations: 11.98 kB / 0.7357 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.2096, allocations: 5.719 kB / 0.7357 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003805/0.21, allocations: 239.5 kB / 0.7359 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.307e-05/0.21, allocations: 88.19 kB / 0.736 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.567e-05/0.2101, allocations: 7.438 kB / 0.736 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of SimCode: time 3.3e-07/0.2101, allocations: 4.125 kB / 0.736 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.005103/0.2152, allocations: 2.489 MB / 0.7384 GB, free: 7.012 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.168737024068832] Failed to read output from testmodel.py, exit status != 0: 0.224340230692178 0.23898101600000002 0.03096165 Calling exit ...