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.0009933/0.0009933, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001394/0.002387, allocations: 447.8 kB / 10.34 MB, free: 352 kB / 10.45 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.001064/0.001064, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001362/0.002426, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.014/1.014, allocations: 177.2 MB / 189.6 MB, free: 5.293 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09/1.104, allocations: 53.66 MB / 243.2 MB, free: 15.56 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7261/0.7261, allocations: 119.1 MB / 363.1 MB, free: 3.695 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0787/0.8048, allocations: 37.86 MB / 400.9 MB, free: 13.71 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 402.2 MB, free: 12.45 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.686e-05/2.839e-05, allocations: 6.25 kB / 402.2 MB, free: 12.44 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Clustering.Validation.KMeans_1d): time 0.001788/0.001817, allocations: 0.5596 MB / 402.8 MB, free: 11.87 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002408/0.004225, allocations: 1.661 MB / 404.4 MB, free: 10.19 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.824e-05/0.004263, allocations: 3.938 kB / 404.4 MB, free: 10.19 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 9.772e-05/0.004361, allocations: 23.97 kB / 404.5 MB, free: 10.16 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 2.879e-05/0.004389, allocations: 15.86 kB / 404.5 MB, free: 10.15 MB / 394.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.0008439/0.005233, allocations: 247.1 kB / 404.7 MB, free: 9.906 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 7.982e-05/0.005313, allocations: 23.91 kB / 404.7 MB, free: 9.883 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.721e-05/0.00535, allocations: 7.938 kB / 404.7 MB, free: 9.875 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.159e-05/0.005412, allocations: 19.98 kB / 404.8 MB, free: 9.855 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.872e-05/0.005451, allocations: 11.98 kB / 404.8 MB, free: 9.844 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.005463, allocations: 0 / 404.8 MB, free: 9.844 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008115/0.006274, allocations: 467 kB / 405.2 MB, free: 9.387 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.669e-05/0.006321, allocations: 15.94 kB / 405.2 MB, free: 9.371 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.625e-05/0.006337, allocations: 4 kB / 405.2 MB, free: 9.367 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004288/0.006766, allocations: 295.2 kB / 405.5 MB, free: 9.078 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.778e-06/0.006776, allocations: 0 / 405.5 MB, free: 9.078 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.006778, allocations: 4 kB / 405.5 MB, free: 9.074 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.006789, allocations: 0 / 405.5 MB, free: 9.074 MB / 394.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.0004217/0.007211, allocations: 343.8 kB / 405.9 MB, free: 8.715 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.007249, allocations: 12.03 kB / 405.9 MB, free: 8.703 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.927e-05/0.007279, allocations: 0.9375 kB / 405.9 MB, free: 8.703 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.007415, allocations: 133.6 kB / 406 MB, free: 8.547 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.697e-06/0.007424, allocations: 384 / 406 MB, free: 8.547 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-06/0.007432, allocations: 384 / 406 MB, free: 8.547 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.294e-05/0.007505, allocations: 37.03 kB / 406.1 MB, free: 8.504 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-06/0.007513, allocations: 192 / 406.1 MB, free: 8.504 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-06/0.00752, allocations: 8.375 kB / 406.1 MB, free: 8.496 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.007526, allocations: 3.938 kB / 406.1 MB, free: 8.492 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.3e-05/0.007539, allocations: 0 / 406.1 MB, free: 8.492 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001008/0.00764, allocations: 66.7 kB / 406.1 MB, free: 8.41 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.933e-05/0.00768, allocations: 18.56 kB / 406.1 MB, free: 8.383 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.335e-05/0.007693, allocations: 4.859 kB / 406.2 MB, free: 8.375 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.198e-05/0.007745, allocations: 8.094 kB / 406.2 MB, free: 8.367 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.007773, allocations: 42.5 kB / 406.2 MB, free: 8.316 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.007774, allocations: 0 / 406.2 MB, free: 8.316 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001016/0.007876, allocations: 33.81 kB / 406.2 MB, free: 8.277 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.007916, allocations: 55.41 kB / 406.3 MB, free: 8.211 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.008036, allocations: 158.4 kB / 406.4 MB, free: 8.043 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.008049, allocations: 25.7 kB / 406.5 MB, free: 8.012 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.823e-05/0.008087, allocations: 92.11 kB / 406.6 MB, free: 7.918 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.237e-05/0.008099, allocations: 3.953 kB / 406.6 MB, free: 7.914 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.816e-05/0.008137, allocations: 29.69 kB / 406.6 MB, free: 7.879 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.008238, allocations: 326.8 kB / 406.9 MB, free: 7.551 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.222e-05/0.00826, allocations: 10.83 kB / 406.9 MB, free: 7.539 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.473e-05/0.008275, allocations: 8 kB / 406.9 MB, free: 7.531 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.14e-05/0.008326, allocations: 31.61 kB / 407 MB, free: 7.496 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.008328, allocations: 4.031 kB / 407 MB, free: 7.492 MB / 394.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 8.626e-05/0.008415, allocations: 57.69 kB / 407 MB, free: 7.43 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.008429, allocations: 4 kB / 407 MB, free: 7.426 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.008442, allocations: 0 / 407 MB, free: 7.426 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.297e-06/0.008451, allocations: 0 / 407 MB, free: 7.426 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.593e-05/0.008467, allocations: 0 / 407 MB, free: 7.426 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.008471, allocations: 4 kB / 407 MB, free: 7.422 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.444e-05/0.008495, allocations: 11.83 kB / 407 MB, free: 7.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.008504, allocations: 4 kB / 407 MB, free: 7.406 MB / 394.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: 9 (labels[1],labels[2],labels[3],labels[4],labels[5],cluster_size[1],cluster_size[2],cluster_size[3],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 8.982e-05/0.008594, allocations: 116.6 kB / 407.2 MB, free: 7.281 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.086e-05/0.008605, allocations: 15.95 kB / 407.2 MB, free: 7.266 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.905e-05/0.008694, allocations: 33.52 kB / 407.2 MB, free: 7.23 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.008699, allocations: 3.984 kB / 407.2 MB, free: 7.227 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.0087, allocations: 0 / 407.2 MB, free: 7.227 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.008703, allocations: 0 / 407.2 MB, free: 7.227 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.632e-05/0.008789, allocations: 81.81 kB / 407.3 MB, free: 7.129 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.008791, allocations: 0 / 407.3 MB, free: 7.129 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.816e-06/0.008799, allocations: 7.984 kB / 407.3 MB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.065e-05/0.00881, allocations: 7.953 kB / 407.3 MB, free: 7.113 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.008812, allocations: 0 / 407.3 MB, free: 7.113 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.727e-06/0.008816, allocations: 4.031 kB / 407.3 MB, free: 7.109 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.008819, allocations: 4 kB / 407.3 MB, free: 7.105 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.008822, allocations: 3.984 kB / 407.3 MB, free: 7.102 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.617e-05/0.008888, allocations: 70.66 kB / 407.4 MB, free: 7.012 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.001e-05/0.008898, allocations: 0 / 407.4 MB, free: 7.012 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.107e-05/0.008909, allocations: 0 / 407.4 MB, free: 7.012 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.598e-06/0.008918, allocations: 0 / 407.4 MB, free: 7.012 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.008923, allocations: 4 kB / 407.4 MB, free: 7.008 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.642e-05/0.008959, allocations: 32.81 kB / 407.4 MB, free: 6.973 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008959, allocations: 0 / 407.4 MB, free: 6.973 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003401/0.009299, allocations: 95.77 kB / 407.5 MB, free: 6.879 MB / 394.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.0006573/0.009957, allocations: 263.5 kB / 407.8 MB, free: 6.609 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001246/0.01008, allocations: 62.53 kB / 407.8 MB, free: 6.539 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.01009, allocations: 64 / 407.8 MB, free: 6.539 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.035e-05/0.0101, allocations: 16.8 kB / 407.9 MB, free: 6.52 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.648e-05/0.01018, allocations: 15.94 kB / 407.9 MB, free: 6.504 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000275/0.01046, allocations: 158.4 kB / 408 MB, free: 6.32 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.704e-05/0.01051, allocations: 67.2 kB / 408.1 MB, free: 6.234 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.248e-05/0.01053, allocations: 0 / 408.1 MB, free: 6.234 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.043e-05/0.01057, allocations: 51.38 kB / 408.1 MB, free: 6.184 MB / 394.7 MB Notification: Performance of SimCode: time 9.01e-07/0.01057, allocations: 0 / 408.1 MB, free: 6.184 MB / 394.7 MB Notification: Performance of Templates: time 0.00552/0.01609, allocations: 2.589 MB / 410.7 MB, free: 3.594 MB / 394.7 MB " [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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2676786547526717]