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.001834/0.001834, allocations: 80.55 kB / 19.95 MB, free: 4.602 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.001981/0.001981, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 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.566/1.566, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 178] 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 3.193/3.193, allocations: 389.5 MB / 0.6343 GB, free: 12.62 MB / 0.6042 GB " [Timeout remaining time 176] 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.563e-06/1.563e-06, allocations: 0 / 1.001 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.206e-05, allocations: 10.28 kB / 1.001 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Clustering.Validation.KMeans_1d): time 0.001461/0.001483, allocations: 0.5128 MB / 1.002 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002706/0.004189, allocations: 1.611 MB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.36e-05/0.004222, allocations: 0 / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001422/0.004365, allocations: 23.91 kB / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 2.356e-05/0.004388, allocations: 7.938 kB / 1.003 GB, free: 10.89 MB / 0.9636 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.0009705/0.005359, allocations: 298.8 kB / 1.003 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.409e-05/0.005433, allocations: 19.92 kB / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.421e-05/0.005467, allocations: 4 kB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.499e-05/0.005512, allocations: 11.98 kB / 1.004 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.132e-05/0.005553, allocations: 15.97 kB / 1.004 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.005566, allocations: 0 / 1.004 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008189/0.006385, allocations: 459 kB / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.369e-05/0.006439, allocations: 19.92 kB / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.058e-05/0.00646, allocations: 4 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0005431/0.007003, allocations: 351.1 kB / 1.004 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.007005, allocations: 0 / 1.004 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.011e-06/0.007006, allocations: 0 / 1.004 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.00701, allocations: 4 kB / 1.004 GB, free: 9.727 MB / 0.9636 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.0004668/0.007477, allocations: 333.5 kB / 1.005 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.007513, allocations: 9.344 kB / 1.005 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.129e-05/0.007555, allocations: 8.891 kB / 1.005 GB, free: 9.355 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.007729, allocations: 133.6 kB / 1.005 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.00774, allocations: 384 / 1.005 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-06/0.007747, allocations: 384 / 1.005 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.581e-05/0.007843, allocations: 38.27 kB / 1.005 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.007851, allocations: 192 / 1.005 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.007858, allocations: 384 / 1.005 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.007865, allocations: 3.938 kB / 1.005 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.84e-05/0.007903, allocations: 23.92 kB / 1.005 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001714/0.008074, allocations: 125.3 kB / 1.005 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.28e-05/0.008127, allocations: 22.58 kB / 1.005 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.634e-05/0.008154, allocations: 12.92 kB / 1.005 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 3.589e-05/0.00819, allocations: 7.984 kB / 1.005 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.008225, allocations: 34.56 kB / 1.005 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.008225, allocations: 4 kB / 1.005 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001643/0.00839, allocations: 61.58 kB / 1.005 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/0.008444, allocations: 59.34 kB / 1.005 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.008629, allocations: 164.9 kB / 1.005 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.008648, allocations: 25.7 kB / 1.005 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.282e-05/0.008721, allocations: 100.1 kB / 1.005 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.265e-06/0.008729, allocations: 3.938 kB / 1.005 GB, free: 8.434 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.008774, allocations: 25.72 kB / 1.005 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.008947, allocations: 318.8 kB / 1.006 GB, free: 8.082 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.054e-05/0.009008, allocations: 39.98 kB / 1.006 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.427e-05/0.009062, allocations: 44.11 kB / 1.006 GB, free: 8 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.804e-05/0.00916, allocations: 68.77 kB / 1.006 GB, free: 7.93 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.009162, allocations: 0 / 1.006 GB, free: 7.93 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001742/0.009336, allocations: 129.5 kB / 1.006 GB, free: 7.797 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.00935, allocations: 8 kB / 1.006 GB, free: 7.789 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.009362, allocations: 0 / 1.006 GB, free: 7.789 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.009373, allocations: 0 / 1.006 GB, free: 7.789 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-05/0.009385, allocations: 0 / 1.006 GB, free: 7.789 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.009393, allocations: 7.938 kB / 1.006 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.495e-05/0.009418, allocations: 7.891 kB / 1.006 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.009426, allocations: 0 / 1.006 GB, free: 7.773 MB / 0.9636 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 (cluster_size[3],cluster_size[2],cluster_size[1],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.0001237/0.009549, allocations: 129.9 kB / 1.006 GB, free: 7.637 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.529e-05/0.009565, allocations: 7.953 kB / 1.006 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.009679, allocations: 61.44 kB / 1.006 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.00968, allocations: 0 / 1.006 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.009686, allocations: 3.938 kB / 1.006 GB, free: 7.559 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-06/0.009687, allocations: 0 / 1.006 GB, free: 7.559 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.009803, allocations: 121.3 kB / 1.006 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.009804, allocations: 0 / 1.006 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.973e-06/0.009811, allocations: 4 kB / 1.006 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.009812, allocations: 4.031 kB / 1.006 GB, free: 7.402 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.00982, allocations: 4 kB / 1.006 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.009821, allocations: 0 / 1.006 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.009822, allocations: 0 / 1.006 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.597e-05/0.009918, allocations: 77.02 kB / 1.006 GB, free: 7.305 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.834e-05/0.009936, allocations: 15.91 kB / 1.006 GB, free: 7.289 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.009953, allocations: 7.984 kB / 1.006 GB, free: 7.281 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.38e-05/0.009967, allocations: 3.984 kB / 1.006 GB, free: 7.277 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.047e-05/0.009977, allocations: 0 / 1.006 GB, free: 7.277 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.009984, allocations: 7.938 kB / 1.006 GB, free: 7.27 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001056/0.01009, allocations: 121.9 kB / 1.007 GB, free: 7.152 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01009, allocations: 4 kB / 1.007 GB, free: 7.148 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003428/0.01043, allocations: 95.73 kB / 1.007 GB, free: 7.055 MB / 0.9636 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.0006911/0.01112, allocations: 249.1 kB / 1.007 GB, free: 6.828 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001764/0.0113, allocations: 93.67 kB / 1.007 GB, free: 6.73 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.0113, allocations: 0 / 1.007 GB, free: 6.73 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.854e-05/0.01132, allocations: 11.98 kB / 1.007 GB, free: 6.719 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/0.01148, allocations: 8 kB / 1.007 GB, free: 6.711 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003075/0.01178, allocations: 161.2 kB / 1.007 GB, free: 6.527 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.641e-05/0.01187, allocations: 79.25 kB / 1.007 GB, free: 6.43 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.626e-05/0.01189, allocations: 4 kB / 1.007 GB, free: 6.426 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.702e-05/0.0119, allocations: 8.5 kB / 1.007 GB, free: 6.418 MB / 0.9636 GB Notification: Performance of SimCode: time 5.01e-07/0.0119, allocations: 3.938 kB / 1.007 GB, free: 6.414 MB / 0.9636 GB Notification: Performance of Templates: time 0.006229/0.01813, allocations: 2.188 MB / 1.009 GB, free: 4.227 MB / 0.9636 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: 8.766655390150845]