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.00106/0.00106, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001389/0.001389, allocations: 161 kB / 24.16 MB, free: 336 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.008/1.008, allocations: 177.1 MB / 204.6 MB, free: 5.48 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 2.118/2.118, allocations: 389.6 MB / 0.6354 GB, free: 12.31 MB / 0.6042 GB " [Timeout remaining time 177] 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 2.014e-06/2.014e-06, allocations: 0 / 0.7751 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.43e-05/2.631e-05, allocations: 7.125 kB / 0.7752 GB, free: 5.426 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Clustering.Validation.KMeans_1d): time 0.002092/0.002118, allocations: 0.5837 MB / 0.7757 GB, free: 4.867 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002603/0.004721, allocations: 1.651 MB / 0.7773 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.167e-05/0.004763, allocations: 0 / 0.7773 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001778/0.004941, allocations: 20.56 kB / 0.7774 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 3.276e-05/0.004973, allocations: 14 kB / 0.7774 GB, free: 3.176 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.001117/0.00609, allocations: 261.5 kB / 0.7776 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 8.689e-05/0.006177, allocations: 28.12 kB / 0.7776 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.861e-05/0.006215, allocations: 0 / 0.7776 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 5.507e-05/0.006271, allocations: 17.28 kB / 0.7777 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.293e-05/0.006313, allocations: 15.39 kB / 0.7777 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.006328, allocations: 0.5469 kB / 0.7777 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009052/0.007233, allocations: 483.6 kB / 0.7781 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.208e-05/0.007285, allocations: 19.98 kB / 0.7782 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.029e-05/0.007306, allocations: 7.938 kB / 0.7782 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0005401/0.007846, allocations: 354.2 kB / 0.7785 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.007849, allocations: 0 / 0.7785 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.242e-06/0.007851, allocations: 0 / 0.7785 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.007855, allocations: 0 / 0.7785 GB, free: 2.031 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.0004099/0.008265, allocations: 308.2 kB / 0.7788 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.008309, allocations: 13.34 kB / 0.7788 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.962e-05/0.008338, allocations: 0.9375 kB / 0.7788 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.008483, allocations: 126.3 kB / 0.7789 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.008492, allocations: 4.375 kB / 0.7789 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.713e-06/0.008499, allocations: 1.969 kB / 0.7789 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.031e-05/0.008569, allocations: 33.03 kB / 0.779 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.008577, allocations: 192 / 0.779 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.008584, allocations: 4.375 kB / 0.779 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.008591, allocations: 4.656 kB / 0.779 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.083e-05/0.008602, allocations: 1.312 kB / 0.779 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000119/0.008721, allocations: 78.58 kB / 0.7791 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.769e-05/0.008759, allocations: 18.61 kB / 0.7791 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.449e-05/0.008773, allocations: 4.859 kB / 0.7791 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.922e-05/0.008813, allocations: 9.719 kB / 0.7791 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.00884, allocations: 38.5 kB / 0.7791 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.008841, allocations: 0 / 0.7791 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001009/0.008941, allocations: 39 kB / 0.7792 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.008972, allocations: 51.41 kB / 0.7792 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.009095, allocations: 148.2 kB / 0.7793 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.009107, allocations: 25.7 kB / 0.7794 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.887e-05/0.009146, allocations: 96.72 kB / 0.7795 GB, free: 0.9219 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.029e-05/0.009156, allocations: 1.125 kB / 0.7795 GB, free: 0.9219 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.453e-05/0.009201, allocations: 33.69 kB / 0.7795 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.806e-05/0.009299, allocations: 326.8 kB / 0.7798 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.415e-05/0.009323, allocations: 11.83 kB / 0.7798 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.56e-05/0.009339, allocations: 8 kB / 0.7798 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.043e-05/0.009389, allocations: 43.58 kB / 0.7799 GB, free: 500 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.009391, allocations: 0.5 kB / 0.7799 GB, free: 500 kB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.822e-05/0.009479, allocations: 58.47 kB / 0.7799 GB, free: 436 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.009493, allocations: 4 kB / 0.7799 GB, free: 432 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.009507, allocations: 0.5938 kB / 0.7799 GB, free: 432 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.009521, allocations: 0 / 0.7799 GB, free: 432 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.394e-05/0.009535, allocations: 0.9375 kB / 0.7799 GB, free: 432 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.885e-06/0.009538, allocations: 0 / 0.7799 GB, free: 432 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.859e-05/0.009566, allocations: 12.92 kB / 0.7799 GB, free: 420 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.009576, allocations: 3.938 kB / 0.7799 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 8.56e-05/0.009662, allocations: 121.7 kB / 0.7801 GB, free: 284 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.432e-05/0.009676, allocations: 11.92 kB / 0.7801 GB, free: 272 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.301e-05/0.009769, allocations: 42.22 kB / 0.7801 GB, free: 228 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.009772, allocations: 0 / 0.7801 GB, free: 228 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.009773, allocations: 0.5312 kB / 0.7801 GB, free: 228 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.009776, allocations: 1.781 kB / 0.7801 GB, free: 228 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.875e-05/0.009855, allocations: 73.83 kB / 0.7802 GB, free: 136 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.009858, allocations: 7.984 kB / 0.7802 GB, free: 128 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.314e-06/0.009866, allocations: 0 / 0.7802 GB, free: 128 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.009867, allocations: 0 / 0.7802 GB, free: 128 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.947e-06/0.009871, allocations: 1.5 kB / 0.7802 GB, free: 128 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.009873, allocations: 0 / 0.7802 GB, free: 128 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.009874, allocations: 0 / 0.7802 GB, free: 128 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.209e-05/0.009946, allocations: 78.64 kB / 0.7803 GB, free: 28 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.166e-05/0.009958, allocations: 12.89 kB / 0.7803 GB, free: 16 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.568e-06/0.009968, allocations: 0 / 0.7803 GB, free: 16 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.22e-05/0.00998, allocations: 1.094 kB / 0.7803 GB, free: 16 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.143e-05/0.009991, allocations: 0 / 0.7803 GB, free: 16 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.009995, allocations: 0 / 0.7803 GB, free: 16 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.156e-05/0.01006, allocations: 41.48 kB / 0.7803 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.01006, allocations: 0 / 0.7803 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003326/0.01039, allocations: 87.8 kB / 0.7804 GB, free: 15.89 MB / 0.7448 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.0005936/0.01098, allocations: 252.6 kB / 0.7807 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001153/0.0111, allocations: 66.47 kB / 0.7807 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.0111, allocations: 1.406 kB / 0.7807 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.193e-05/0.01111, allocations: 12.8 kB / 0.7807 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.208e-05/0.0112, allocations: 10.12 kB / 0.7807 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002489/0.01144, allocations: 159.9 kB / 0.7809 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.8e-05/0.01148, allocations: 59.34 kB / 0.7809 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.468e-05/0.01151, allocations: 4 kB / 0.781 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.708e-05/0.01154, allocations: 48.41 kB / 0.781 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of SimCode: time 7.21e-07/0.01155, allocations: 0 / 0.781 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of Templates: time 0.006426/0.01797, allocations: 2.575 MB / 0.7835 GB, free: 12.8 MB / 0.7448 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.178428885061294]