Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0009249/0.0009249, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001307/0.002232, allocations: 449.8 kB / 10.44 MB, free: 252 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.001006/0.001006, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001262/0.002267, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 0.9081/0.9081, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07823/0.9863, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.895/1.895, allocations: 390 MB / 0.6193 GB, free: 11.63 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.465/2.36, allocations: 127.1 MB / 0.7435 GB, free: 4.516 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Clustering.Validation.KMeans_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d") translateModel(Buildings.Utilities.Clustering.Validation.KMeans_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.7448 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.603e-05/1.785e-05, allocations: 5.438 kB / 0.7448 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Clustering.Validation.KMeans_1d): time 0.001613/0.001631, allocations: 0.5711 MB / 0.7453 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002487/0.004118, allocations: 1.682 MB / 0.747 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.371e-05/0.004152, allocations: 3.938 kB / 0.747 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.103e-05/0.004243, allocations: 12.97 kB / 0.747 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.244e-05/0.004275, allocations: 21.11 kB / 0.747 GB, free: 0.9609 MB / 0.7136 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.0008223/0.005097, allocations: 245.7 kB / 0.7472 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.927e-05/0.005177, allocations: 19.91 kB / 0.7473 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.614e-05/0.005213, allocations: 7.938 kB / 0.7473 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.86e-05/0.005281, allocations: 22.5 kB / 0.7473 GB, free: 0.6836 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.133e-05/0.005323, allocations: 8.641 kB / 0.7473 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.005338, allocations: 4 kB / 0.7473 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008165/0.006154, allocations: 463.6 kB / 0.7477 GB, free: 228 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.884e-05/0.006213, allocations: 24.03 kB / 0.7478 GB, free: 208 kB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.969e-05/0.006233, allocations: 6.406 kB / 0.7478 GB, free: 204 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004422/0.006675, allocations: 286.8 kB / 0.748 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 9.848e-06/0.006685, allocations: 0 / 0.748 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.92e-07/0.006686, allocations: 4 kB / 0.748 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.363e-05/0.006699, allocations: 0 / 0.748 GB, free: 15.92 MB / 0.7292 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.0004436/0.007143, allocations: 338.8 kB / 0.7484 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.007176, allocations: 8.031 kB / 0.7484 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.766e-05/0.007214, allocations: 8.938 kB / 0.7484 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.00736, allocations: 133.6 kB / 0.7485 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.007369, allocations: 384 / 0.7485 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.007382, allocations: 4.375 kB / 0.7485 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.686e-05/0.007459, allocations: 33.09 kB / 0.7485 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.007466, allocations: 1.5 kB / 0.7485 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.56e-06/0.007471, allocations: 384 / 0.7486 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.007479, allocations: 3.938 kB / 0.7486 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.413e-05/0.007493, allocations: 7.938 kB / 0.7486 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.759e-05/0.007591, allocations: 67.78 kB / 0.7486 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.914e-05/0.00763, allocations: 18.61 kB / 0.7486 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.376e-05/0.007644, allocations: 9.75 kB / 0.7487 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.858e-05/0.007682, allocations: 4.062 kB / 0.7487 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.007708, allocations: 34.56 kB / 0.7487 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/0.00771, allocations: 4.594 kB / 0.7487 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001063/0.007816, allocations: 38.78 kB / 0.7487 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.007845, allocations: 51.41 kB / 0.7488 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.007967, allocations: 158.4 kB / 0.7489 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.007979, allocations: 25.7 kB / 0.749 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.745e-05/0.008017, allocations: 92.08 kB / 0.749 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.183e-05/0.008029, allocations: 0 / 0.749 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.095e-05/0.008069, allocations: 30.38 kB / 0.7491 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.605e-05/0.008166, allocations: 326.8 kB / 0.7494 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.406e-05/0.00819, allocations: 11.45 kB / 0.7494 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.208e-05/0.008202, allocations: 4 kB / 0.7494 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.604e-05/0.008248, allocations: 36.86 kB / 0.7494 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.00825, allocations: 0 / 0.7494 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 7.944e-05/0.008329, allocations: 61.69 kB / 0.7495 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.00835, allocations: 8.938 kB / 0.7495 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.008362, allocations: 0 / 0.7495 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.008375, allocations: 4.891 kB / 0.7495 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.411e-05/0.008389, allocations: 0 / 0.7495 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.008392, allocations: 0 / 0.7495 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.371e-05/0.008416, allocations: 16.42 kB / 0.7495 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.008425, allocations: 5.625 kB / 0.7495 GB, free: 14.26 MB / 0.7292 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 (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.796e-05/0.008513, allocations: 115 kB / 0.7496 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.586e-06/0.008521, allocations: 0 / 0.7496 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.316e-05/0.008605, allocations: 50.06 kB / 0.7497 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.008606, allocations: 0 / 0.7497 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.008607, allocations: 1 kB / 0.7497 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.00861, allocations: 0 / 0.7497 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.823e-05/0.008688, allocations: 79.59 kB / 0.7498 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.00869, allocations: 0 / 0.7498 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.272e-06/0.008696, allocations: 4 kB / 0.7498 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.184e-05/0.008708, allocations: 11.94 kB / 0.7498 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.008709, allocations: 0 / 0.7498 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-06/0.008713, allocations: 0.625 kB / 0.7498 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.008715, allocations: 4 kB / 0.7498 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.008718, allocations: 4.656 kB / 0.7498 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.603e-05/0.008774, allocations: 66.06 kB / 0.7498 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.458e-06/0.008783, allocations: 4 kB / 0.7499 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.14e-05/0.008794, allocations: 0 / 0.7499 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.177e-06/0.008804, allocations: 0 / 0.7499 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.008806, allocations: 7.875 kB / 0.7499 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.863e-05/0.008844, allocations: 31.27 kB / 0.7499 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9e-08/0.008845, allocations: 0 / 0.7499 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002858/0.00913, allocations: 91.8 kB / 0.75 GB, free: 13.75 MB / 0.7292 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.0005588/0.009689, allocations: 268.8 kB / 0.7502 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001073/0.009796, allocations: 62.53 kB / 0.7503 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.0098, allocations: 1.594 kB / 0.7503 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.294e-05/0.009813, allocations: 12.84 kB / 0.7503 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.032e-05/0.009894, allocations: 19.95 kB / 0.7503 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000217/0.01011, allocations: 155.1 kB / 0.7505 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.46e-05/0.01015, allocations: 59.34 kB / 0.7505 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.958e-05/0.01016, allocations: 4.875 kB / 0.7505 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.71e-05/0.0102, allocations: 51.38 kB / 0.7506 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of SimCode: time 5.81e-07/0.0102, allocations: 4.5 kB / 0.7506 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of Templates: time 0.006155/0.01636, allocations: 2.55 MB / 0.7531 GB, free: 10.7 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d.pipe ; mkfifo Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d.pipe >> ../files/Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d.sim & ./Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.742426726035774]