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.001021/0.001021, allocations: 81.41 kB / 20.82 MB, free: 3.629 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.0009372/0.0009372, allocations: 169 kB / 24.25 MB, free: 204 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 0.95/0.95, allocations: 177.1 MB / 204.7 MB, free: 5.445 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.891/1.891, allocations: 389.6 MB / 0.6355 GB, free: 12.27 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.623e-06/1.623e-06, allocations: 0.6562 kB / 0.7753 GB, free: 5.336 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.47e-05, allocations: 7.531 kB / 0.7753 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Clustering.Validation.KMeans_1d): time 0.001526/0.001551, allocations: 0.5764 MB / 0.7759 GB, free: 4.773 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002254/0.003805, allocations: 1.66 MB / 0.7775 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.342e-05/0.003849, allocations: 3.938 kB / 0.7775 GB, free: 3.102 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.003985, allocations: 17.64 kB / 0.7775 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 2.328e-05/0.004009, allocations: 8.641 kB / 0.7775 GB, free: 3.078 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.0008258/0.004835, allocations: 260.3 kB / 0.7778 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.921e-05/0.004904, allocations: 27.25 kB / 0.7778 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.22e-05/0.004936, allocations: 0 / 0.7778 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.008e-05/0.004976, allocations: 16.53 kB / 0.7778 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.585e-05/0.005012, allocations: 17.5 kB / 0.7778 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.005022, allocations: 0 / 0.7778 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006984/0.005721, allocations: 480.4 kB / 0.7783 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.31e-05/0.005774, allocations: 23.42 kB / 0.7783 GB, free: 2.289 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.403e-05/0.005788, allocations: 5.062 kB / 0.7783 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004283/0.006216, allocations: 355 kB / 0.7787 GB, free: 1.938 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.006217, allocations: 1.719 kB / 0.7787 GB, free: 1.938 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.91e-07/0.006218, allocations: 0 / 0.7787 GB, free: 1.938 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.675e-06/0.006221, allocations: 0 / 0.7787 GB, free: 1.938 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.0003215/0.006542, allocations: 300.2 kB / 0.779 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.006578, allocations: 13.33 kB / 0.779 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.669e-05/0.006605, allocations: 5.625 kB / 0.779 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.006729, allocations: 126.9 kB / 0.7791 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.006738, allocations: 5.25 kB / 0.7791 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.006749, allocations: 4.375 kB / 0.7791 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.466e-05/0.006814, allocations: 36.14 kB / 0.7791 GB, free: 1.41 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.006821, allocations: 4.125 kB / 0.7791 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.761e-06/0.006827, allocations: 384 / 0.7791 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.006832, allocations: 3.938 kB / 0.7791 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.257e-06/0.006842, allocations: 4 kB / 0.7792 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.284e-05/0.006934, allocations: 70.66 kB / 0.7792 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.359e-05/0.006978, allocations: 22.55 kB / 0.7792 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.179e-05/0.00699, allocations: 8.516 kB / 0.7792 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.741e-05/0.007027, allocations: 12.03 kB / 0.7793 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001067/0.007134, allocations: 30.56 kB / 0.7793 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.153e-06/0.007135, allocations: 4 kB / 0.7793 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 9.381e-05/0.007229, allocations: 29.7 kB / 0.7793 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.007261, allocations: 51.41 kB / 0.7794 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.007369, allocations: 158.1 kB / 0.7795 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.00738, allocations: 25.7 kB / 0.7795 GB, free: 0.9258 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.667e-05/0.007417, allocations: 100.1 kB / 0.7796 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.676e-06/0.007425, allocations: 1.125 kB / 0.7796 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-05/0.007463, allocations: 33.62 kB / 0.7797 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.499e-05/0.007548, allocations: 322.8 kB / 0.78 GB, free: 472 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.099e-05/0.007569, allocations: 11.89 kB / 0.78 GB, free: 460 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.349e-05/0.007582, allocations: 11.92 kB / 0.78 GB, free: 448 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.404e-05/0.007626, allocations: 35.66 kB / 0.78 GB, free: 408 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.007628, allocations: 0.5 kB / 0.78 GB, free: 408 kB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 7.836e-05/0.007706, allocations: 58.47 kB / 0.7801 GB, free: 344 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.007721, allocations: 8 kB / 0.7801 GB, free: 336 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.007732, allocations: 1.219 kB / 0.7801 GB, free: 336 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.305e-06/0.00774, allocations: 0 / 0.7801 GB, free: 336 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.408e-06/0.00775, allocations: 0 / 0.7801 GB, free: 336 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-06/0.007752, allocations: 4.75 kB / 0.7801 GB, free: 332 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.119e-05/0.007773, allocations: 15.83 kB / 0.7801 GB, free: 316 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.007781, allocations: 3.984 kB / 0.7801 GB, free: 312 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 6.988e-05/0.007851, allocations: 114.1 kB / 0.7802 GB, free: 188 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.988e-06/0.007861, allocations: 0 / 0.7802 GB, free: 188 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.723e-05/0.007938, allocations: 47.09 kB / 0.7803 GB, free: 140 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.00794, allocations: 0 / 0.7803 GB, free: 140 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.007942, allocations: 0 / 0.7803 GB, free: 140 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.007945, allocations: 4 kB / 0.7803 GB, free: 136 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.704e-05/0.008012, allocations: 78.56 kB / 0.7804 GB, free: 40 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.008013, allocations: 0 / 0.7804 GB, free: 40 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.517e-06/0.008017, allocations: 0.9688 kB / 0.7804 GB, free: 40 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.008019, allocations: 4 kB / 0.7804 GB, free: 36 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-06/0.008022, allocations: 1.031 kB / 0.7804 GB, free: 36 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.008023, allocations: 0 / 0.7804 GB, free: 36 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.008024, allocations: 0 / 0.7804 GB, free: 36 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.226e-05/0.008096, allocations: 71.59 kB / 0.7804 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.132e-05/0.008107, allocations: 11.89 kB / 0.7804 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-06/0.008117, allocations: 1.375 kB / 0.7804 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.749e-06/0.008126, allocations: 0 / 0.7804 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.138e-05/0.008138, allocations: 3.984 kB / 0.7804 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-06/0.00814, allocations: 0 / 0.7804 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.43e-05/0.008175, allocations: 33.45 kB / 0.7805 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.008175, allocations: 0 / 0.7805 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002653/0.00844, allocations: 92.33 kB / 0.7806 GB, free: 15.8 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.0005377/0.008978, allocations: 263.3 kB / 0.7808 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001125/0.00909, allocations: 67.72 kB / 0.7809 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.009094, allocations: 4 kB / 0.7809 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.572e-06/0.009101, allocations: 4.859 kB / 0.7809 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.568e-05/0.009167, allocations: 13.06 kB / 0.7809 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002194/0.009386, allocations: 150.5 kB / 0.781 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.617e-05/0.009422, allocations: 64.25 kB / 0.7811 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.767e-05/0.00944, allocations: 0 / 0.7811 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.319e-05/0.009473, allocations: 52.09 kB / 0.7812 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of SimCode: time 4.7e-07/0.009473, allocations: 0 / 0.7812 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of Templates: time 0.005421/0.01489, allocations: 2.589 MB / 0.7837 GB, free: 12.71 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 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.984075504355133]