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.002171/0.002171, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001866/0.001866, allocations: 215.3 kB / 22.99 MB, free: 4.977 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.556/1.556, allocations: 230.6 MB / 256.8 MB, free: 7.82 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 1.023/1.023, allocations: 149.9 MB / 463 MB, free: 10.35 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.003403/0.003403, allocations: 70.61 kB / 0.6415 GB, free: 9.668 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.23, allocations: 89.16 MB / 0.7286 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Clustering.Validation.KMeans_2d): time 0.001847/0.2318, allocations: 0.5164 MB / 0.7291 GB, free: 60 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002676/0.2345, allocations: 1.61 MB / 0.7307 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.49e-05/0.2345, allocations: 0 / 0.7307 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000208/0.2347, allocations: 71.83 kB / 0.7307 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.222e-05/0.2348, allocations: 27.95 kB / 0.7308 GB, free: 14.33 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.001133/0.2359, allocations: 271.2 kB / 0.731 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.601e-05/0.236, allocations: 35.83 kB / 0.7311 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.344e-05/0.236, allocations: 8 kB / 0.7311 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.595e-05/0.2361, allocations: 23.97 kB / 0.7311 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.44e-05/0.2362, allocations: 43.88 kB / 0.7311 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.2362, allocations: 4 kB / 0.7311 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00101/0.2372, allocations: 455.1 kB / 0.7316 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.747e-05/0.2373, allocations: 23.92 kB / 0.7316 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.17e-05/0.2373, allocations: 19.81 kB / 0.7316 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005486/0.2378, allocations: 311.1 kB / 0.7319 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2378, allocations: 4 kB / 0.7319 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2378, allocations: 0 / 0.7319 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.2379, allocations: 0 / 0.7319 GB, free: 13.16 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.000516/0.2384, allocations: 361.3 kB / 0.7323 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.2384, allocations: 15.97 kB / 0.7323 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.2385, allocations: 12.84 kB / 0.7323 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.2386, allocations: 127.5 kB / 0.7324 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.2386, allocations: 384 / 0.7324 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.2387, allocations: 4.375 kB / 0.7324 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.2388, allocations: 38.02 kB / 0.7324 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.2388, allocations: 0 / 0.7324 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.595e-06/0.2388, allocations: 4 kB / 0.7324 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.2388, allocations: 0 / 0.7324 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.893e-05/0.2388, allocations: 19.98 kB / 0.7325 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001756/0.239, allocations: 137.3 kB / 0.7326 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.571e-05/0.2391, allocations: 38.48 kB / 0.7326 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.044e-05/0.2391, allocations: 20.86 kB / 0.7327 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.13e-05/0.2391, allocations: 7.984 kB / 0.7327 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.2392, allocations: 34.56 kB / 0.7327 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.382e-06/0.2392, allocations: 0 / 0.7327 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001944/0.2394, allocations: 69.62 kB / 0.7328 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.2394, allocations: 59.38 kB / 0.7328 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.2397, allocations: 218.7 kB / 0.733 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.2397, allocations: 25.7 kB / 0.7331 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.424e-05/0.2398, allocations: 108.1 kB / 0.7332 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.137e-05/0.2398, allocations: 0 / 0.7332 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/0.2398, allocations: 33.7 kB / 0.7332 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.24, allocations: 322.8 kB / 0.7335 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.2401, allocations: 51.98 kB / 0.7335 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.432e-05/0.2402, allocations: 55.97 kB / 0.7336 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.2403, allocations: 99.53 kB / 0.7337 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2403, allocations: 4.031 kB / 0.7337 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000234/0.2405, allocations: 161.6 kB / 0.7339 GB, free: 11 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.2405, allocations: 13.95 kB / 0.7339 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/0.2406, allocations: 7.938 kB / 0.7339 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.2406, allocations: 0 / 0.7339 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.818e-05/0.2406, allocations: 4 kB / 0.7339 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.2406, allocations: 0 / 0.7339 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.595e-05/0.2406, allocations: 11.83 kB / 0.7339 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.2407, allocations: 4 kB / 0.7339 GB, free: 10.96 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.0001859/0.2408, allocations: 129.8 kB / 0.734 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.915e-05/0.2409, allocations: 15.94 kB / 0.734 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001293/0.241, allocations: 66.12 kB / 0.7341 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.241, allocations: 0 / 0.7341 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.241, allocations: 0 / 0.7341 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.241, allocations: 0 / 0.7341 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.2411, allocations: 133.3 kB / 0.7342 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.2411, allocations: 3.984 kB / 0.7342 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.596e-06/0.2411, allocations: 3.938 kB / 0.7342 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.2411, allocations: 0 / 0.7342 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.281e-06/0.2412, allocations: 0 / 0.7342 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.2412, allocations: 7.969 kB / 0.7342 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2412, allocations: 4 kB / 0.7342 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.2413, allocations: 81.03 kB / 0.7343 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.483e-05/0.2413, allocations: 3.953 kB / 0.7343 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.2413, allocations: 4 kB / 0.7343 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.917e-05/0.2413, allocations: 7.938 kB / 0.7343 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.215e-05/0.2413, allocations: 3.984 kB / 0.7343 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-06/0.2413, allocations: 3.938 kB / 0.7343 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001452/0.2415, allocations: 144.4 kB / 0.7345 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2415, allocations: 0 / 0.7345 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003786/0.2419, allocations: 91.83 kB / 0.7346 GB, free: 10.21 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.0006072/0.2425, allocations: 237.3 kB / 0.7348 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002289/0.2427, allocations: 117.6 kB / 0.7349 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2427, allocations: 64 / 0.7349 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.831e-05/0.2427, allocations: 12 kB / 0.7349 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.2429, allocations: 9 kB / 0.7349 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003887/0.2433, allocations: 213.8 kB / 0.7351 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.809e-05/0.2434, allocations: 92.11 kB / 0.7352 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.253e-05/0.2434, allocations: 4 kB / 0.7352 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.726e-05/0.2434, allocations: 7.438 kB / 0.7352 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.2434, allocations: 0 / 0.7352 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.006484/0.2499, allocations: 2.246 MB / 0.7374 GB, free: 7.25 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: 6.1382918152958155] Failed to read output from testmodel.py, exit status != 0: 0.2630728390067816 0.28396329400000003 0.041592884000000004 Calling exit ...