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.0009443/0.0009443, allocations: 72.95 kB / 20.72 MB, free: 3.77 MB / 18.57 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.001067/0.001067, allocations: 169 kB / 24.14 MB, free: 356 kB / 18.57 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.021/1.021, allocations: 177.1 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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.6823/0.6823, allocations: 115 MB / 376 MB, free: 7.5 MB / 346.7 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: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 428.7 MB, free: 2.805 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.95e-05/3.172e-05, allocations: 2.312 kB / 428.7 MB, free: 2.801 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Clustering.Validation.KMeans_1d): time 0.001826/0.001858, allocations: 0.5639 MB / 429.3 MB, free: 2.238 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002509/0.004367, allocations: 1.664 MB / 430.9 MB, free: 0.5547 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.259e-05/0.004419, allocations: 4 kB / 431 MB, free: 0.5508 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001768/0.004596, allocations: 23.84 kB / 431 MB, free: 0.5273 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 2.536e-05/0.004622, allocations: 11.98 kB / 431 MB, free: 0.5156 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.0008075/0.005429, allocations: 251 kB / 431.2 MB, free: 276 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 8.057e-05/0.00551, allocations: 23.92 kB / 431.3 MB, free: 252 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.169e-05/0.005551, allocations: 7.984 kB / 431.3 MB, free: 244 kB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.906e-05/0.0056, allocations: 11.98 kB / 431.3 MB, free: 232 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.915e-05/0.00564, allocations: 11.98 kB / 431.3 MB, free: 220 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.005654, allocations: 0 / 431.3 MB, free: 220 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006308/0.006285, allocations: 490.8 kB / 431.8 MB, free: 15.73 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.111e-05/0.006336, allocations: 23.92 kB / 431.8 MB, free: 15.71 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.767e-05/0.006354, allocations: 4 kB / 431.8 MB, free: 15.71 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003555/0.006709, allocations: 351 kB / 432.1 MB, free: 15.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.006713, allocations: 4 kB / 432.1 MB, free: 15.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.006714, allocations: 0 / 432.1 MB, free: 15.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.006719, allocations: 0 / 432.1 MB, free: 15.36 MB / 410.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.0003179/0.007037, allocations: 312.2 kB / 432.4 MB, free: 15.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.007073, allocations: 8.031 kB / 432.5 MB, free: 15.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.827e-05/0.007102, allocations: 4.938 kB / 432.5 MB, free: 15.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.007228, allocations: 117.7 kB / 432.6 MB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.00724, allocations: 8.359 kB / 432.6 MB, free: 14.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.394e-06/0.007247, allocations: 4.375 kB / 432.6 MB, free: 14.87 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.921e-05/0.007347, allocations: 33.09 kB / 432.6 MB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.007355, allocations: 4.188 kB / 432.6 MB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.15e-06/0.00736, allocations: 384 / 432.6 MB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.007366, allocations: 7.875 kB / 432.6 MB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.777e-06/0.007375, allocations: 7.938 kB / 432.6 MB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.3e-05/0.007468, allocations: 66.66 kB / 432.7 MB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.67e-05/0.007505, allocations: 18.61 kB / 432.7 MB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.29e-05/0.007518, allocations: 8.859 kB / 432.7 MB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.46e-05/0.007552, allocations: 8.047 kB / 432.7 MB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.007577, allocations: 34.56 kB / 432.8 MB, free: 14.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 6.22e-07/0.007577, allocations: 0 / 432.8 MB, free: 14.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 8.491e-05/0.007662, allocations: 41.62 kB / 432.8 MB, free: 14.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.00769, allocations: 51.41 kB / 432.9 MB, free: 14.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.302e-05/0.007783, allocations: 154.6 kB / 433 MB, free: 14.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.007794, allocations: 25.7 kB / 433 MB, free: 14.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.24e-05/0.007826, allocations: 92.08 kB / 433.1 MB, free: 14.24 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.14e-05/0.007838, allocations: 4 kB / 433.1 MB, free: 14.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.007869, allocations: 25.69 kB / 433.2 MB, free: 14.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.889e-05/0.007958, allocations: 326.8 kB / 433.5 MB, free: 13.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.673e-05/0.007974, allocations: 10.83 kB / 433.5 MB, free: 13.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.427e-05/0.007989, allocations: 11.94 kB / 433.5 MB, free: 13.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.735e-05/0.008026, allocations: 31.83 kB / 433.5 MB, free: 13.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.008027, allocations: 0 / 433.5 MB, free: 13.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 5.861e-05/0.008086, allocations: 57.62 kB / 433.6 MB, free: 13.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.008099, allocations: 8 kB / 433.6 MB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.008114, allocations: 0 / 433.6 MB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.008132, allocations: 3.984 kB / 433.6 MB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.421e-05/0.008146, allocations: 3.984 kB / 433.6 MB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.00815, allocations: 0 / 433.6 MB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.032e-05/0.00817, allocations: 19.83 kB / 433.6 MB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.008178, allocations: 0 / 433.6 MB, free: 13.72 MB / 410.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 7.425e-05/0.008252, allocations: 116.7 kB / 433.7 MB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.929e-06/0.008257, allocations: 4 kB / 433.7 MB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.812e-05/0.008335, allocations: 41.44 kB / 433.8 MB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.008336, allocations: 0 / 433.8 MB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.008338, allocations: 0 / 433.8 MB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.00834, allocations: 0 / 433.8 MB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.185e-05/0.008402, allocations: 81.81 kB / 433.9 MB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.008403, allocations: 0 / 433.9 MB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.138e-06/0.008407, allocations: 4 kB / 433.9 MB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.008409, allocations: 0 / 433.9 MB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.008414, allocations: 8.016 kB / 433.9 MB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.21e-07/0.008415, allocations: 0 / 433.9 MB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-07/0.008415, allocations: 0 / 433.9 MB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.547e-05/0.008461, allocations: 62.73 kB / 433.9 MB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.511e-05/0.008476, allocations: 19.88 kB / 433.9 MB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.736e-06/0.008484, allocations: 4 kB / 434 MB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.581e-06/0.00849, allocations: 0 / 434 MB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.256e-05/0.008503, allocations: 0 / 434 MB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.008504, allocations: 3.938 kB / 434 MB, free: 13.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.709e-05/0.008531, allocations: 33.5 kB / 434 MB, free: 13.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.008532, allocations: 0 / 434 MB, free: 13.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001913/0.008723, allocations: 95.83 kB / 434.1 MB, free: 13.19 MB / 410.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.0004146/0.009137, allocations: 262.3 kB / 434.3 MB, free: 12.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001058/0.009243, allocations: 50.55 kB / 434.4 MB, free: 12.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.009248, allocations: 8.062 kB / 434.4 MB, free: 12.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-06/0.009253, allocations: 4.859 kB / 434.4 MB, free: 12.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.242e-05/0.009325, allocations: 15.92 kB / 434.4 MB, free: 12.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002147/0.00954, allocations: 142.6 kB / 434.6 MB, free: 12.67 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.435e-05/0.009574, allocations: 67.2 kB / 434.6 MB, free: 12.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.004e-05/0.009594, allocations: 3.984 kB / 434.6 MB, free: 12.58 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.277e-05/0.009627, allocations: 55.31 kB / 434.7 MB, free: 12.53 MB / 410.7 MB Notification: Performance of SimCode: time 6.52e-07/0.009628, allocations: 0 / 434.7 MB, free: 12.53 MB / 410.7 MB Notification: Performance of Templates: time 0.004316/0.01394, allocations: 2.58 MB / 437.3 MB, free: 9.945 MB / 410.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.681861888617277]