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.0008727/0.0008727, allocations: 80.81 kB / 21.54 MB, free: 2.953 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.0009628/0.0009628, allocations: 170.1 kB / 24.96 MB, free: 9.168 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 0.916/0.916, allocations: 177.1 MB / 205.4 MB, free: 5.117 MB / 186.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.876/1.876, allocations: 389.6 MB / 0.6362 GB, free: 12.33 MB / 0.6042 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.753e-06/1.753e-06, allocations: 0.5469 kB / 0.7759 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.534e-05/1.709e-05, allocations: 2.312 kB / 0.7759 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Clustering.Validation.KMeans_1d): time 0.001125/0.001142, allocations: 0.5855 MB / 0.7765 GB, free: 4.871 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001755/0.002896, allocations: 1.662 MB / 0.7781 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.722e-05/0.002924, allocations: 0 / 0.7781 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.003029, allocations: 25.44 kB / 0.7781 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 1.672e-05/0.003046, allocations: 7.984 kB / 0.7781 GB, free: 3.172 MB / 0.7292 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.0005668/0.003612, allocations: 255.4 kB / 0.7784 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 4.994e-05/0.003662, allocations: 24.88 kB / 0.7784 GB, free: 2.906 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 2.428e-05/0.003687, allocations: 1.5 kB / 0.7784 GB, free: 2.906 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.066e-05/0.003717, allocations: 16.53 kB / 0.7784 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 2.705e-05/0.003744, allocations: 13.41 kB / 0.7784 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.003756, allocations: 4 kB / 0.7784 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004955/0.004252, allocations: 481.3 kB / 0.7789 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.425e-05/0.004286, allocations: 25.83 kB / 0.7789 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.173e-05/0.004298, allocations: 8.531 kB / 0.7789 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002853/0.004583, allocations: 347.7 kB / 0.7793 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.403e-06/0.004584, allocations: 0 / 0.7793 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.51e-07/0.004585, allocations: 0.75 kB / 0.7793 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.966e-06/0.004588, allocations: 0 / 0.7793 GB, free: 2.035 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.0002102/0.004798, allocations: 313.5 kB / 0.7796 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.522e-05/0.004823, allocations: 13.34 kB / 0.7796 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.677e-05/0.00484, allocations: 0.9375 kB / 0.7796 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.919e-05/0.004919, allocations: 130.4 kB / 0.7797 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.148e-06/0.004923, allocations: 384 / 0.7797 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.907e-06/0.004927, allocations: 384 / 0.7797 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.112e-05/0.004958, allocations: 30.5 kB / 0.7797 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.827e-06/0.004962, allocations: 192 / 0.7797 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.005e-06/0.004965, allocations: 4.375 kB / 0.7797 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.00497, allocations: 4.469 kB / 0.7797 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.732e-06/0.004976, allocations: 4.75 kB / 0.7798 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.866e-05/0.005035, allocations: 74.66 kB / 0.7798 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 1.84e-05/0.005054, allocations: 20.28 kB / 0.7798 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.935e-06/0.005061, allocations: 4.859 kB / 0.7798 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.005085, allocations: 8.094 kB / 0.7799 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.48e-05/0.0051, allocations: 34.56 kB / 0.7799 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 4.61e-07/0.005101, allocations: 0 / 0.7799 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 4.855e-05/0.005149, allocations: 38.69 kB / 0.7799 GB, free: 1.277 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.116e-05/0.00517, allocations: 51.41 kB / 0.78 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.662e-05/0.005247, allocations: 162.6 kB / 0.7801 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.103e-06/0.005254, allocations: 25.7 kB / 0.7802 GB, free: 1.016 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.457e-05/0.005279, allocations: 92.08 kB / 0.7802 GB, free: 0.9219 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.691e-06/0.005284, allocations: 0 / 0.7802 GB, free: 0.9219 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.281e-05/0.005307, allocations: 30.28 kB / 0.7803 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.552e-05/0.005373, allocations: 326.8 kB / 0.7806 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.322e-05/0.005386, allocations: 15.98 kB / 0.7806 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.748e-06/0.005396, allocations: 8 kB / 0.7806 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.888e-05/0.005425, allocations: 41 kB / 0.7806 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.005426, allocations: 0 / 0.7806 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 4.729e-05/0.005473, allocations: 61.62 kB / 0.7807 GB, free: 436 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.448e-06/0.005483, allocations: 4 kB / 0.7807 GB, free: 432 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.005491, allocations: 0.6875 kB / 0.7807 GB, free: 432 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.005501, allocations: 3.938 kB / 0.7807 GB, free: 428 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.853e-06/0.005508, allocations: 1.344 kB / 0.7807 GB, free: 428 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.005512, allocations: 4 kB / 0.7807 GB, free: 424 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.329e-05/0.005525, allocations: 7.891 kB / 0.7807 GB, free: 416 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.00553, allocations: 1.125 kB / 0.7807 GB, free: 416 kB / 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 5.161e-05/0.005582, allocations: 115.5 kB / 0.7808 GB, free: 292 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.18e-06/0.005587, allocations: 9.047 kB / 0.7808 GB, free: 284 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.11e-05/0.005638, allocations: 41.45 kB / 0.7809 GB, free: 240 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.00564, allocations: 4.484 kB / 0.7809 GB, free: 236 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.005641, allocations: 0.9062 kB / 0.7809 GB, free: 236 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.005643, allocations: 0 / 0.7809 GB, free: 236 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.406e-05/0.005688, allocations: 77.83 kB / 0.781 GB, free: 140 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.005688, allocations: 1.562 kB / 0.781 GB, free: 140 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.058e-06/0.005692, allocations: 7.984 kB / 0.781 GB, free: 132 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.52e-07/0.005693, allocations: 0 / 0.781 GB, free: 132 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-06/0.005696, allocations: 0 / 0.781 GB, free: 132 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.005697, allocations: 1.25 kB / 0.781 GB, free: 132 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.005697, allocations: 0 / 0.781 GB, free: 132 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.364e-05/0.005731, allocations: 66.72 kB / 0.781 GB, free: 44 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-06/0.00574, allocations: 16.5 kB / 0.781 GB, free: 28 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.863e-06/0.005747, allocations: 4.469 kB / 0.7811 GB, free: 24 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.761e-06/0.005753, allocations: 0 / 0.7811 GB, free: 24 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.877e-06/0.005762, allocations: 4.688 kB / 0.7811 GB, free: 20 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.005764, allocations: 4 kB / 0.7811 GB, free: 16 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.369e-05/0.005798, allocations: 42.84 kB / 0.7811 GB, free: 15.98 MB / 0.7449 GB Notification: Performance of sort global known variables: time 5e-08/0.005798, allocations: 0 / 0.7811 GB, free: 15.98 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.000174/0.005972, allocations: 87.8 kB / 0.7812 GB, free: 15.89 MB / 0.7449 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.0003775/0.006349, allocations: 253.4 kB / 0.7814 GB, free: 15.67 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 8.416e-05/0.006433, allocations: 62.53 kB / 0.7815 GB, free: 15.6 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.006437, allocations: 0 / 0.7815 GB, free: 15.6 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 5.78e-06/0.006442, allocations: 8.859 kB / 0.7815 GB, free: 15.59 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.015e-05/0.006492, allocations: 7.938 kB / 0.7815 GB, free: 15.58 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001586/0.006651, allocations: 152 kB / 0.7816 GB, free: 15.4 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.817e-05/0.006679, allocations: 63.33 kB / 0.7817 GB, free: 15.32 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 1.246e-05/0.006692, allocations: 4 kB / 0.7817 GB, free: 15.32 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.385e-05/0.006716, allocations: 48.5 kB / 0.7818 GB, free: 15.27 MB / 0.7449 GB Notification: Performance of SimCode: time 7.52e-07/0.006716, allocations: 0 / 0.7818 GB, free: 15.27 MB / 0.7449 GB Notification: Performance of Templates: time 0.003824/0.01054, allocations: 2.587 MB / 0.7843 GB, free: 12.81 MB / 0.7449 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.893728196620941]