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.0009437/0.0009437, allocations: 79.69 kB / 21.74 MB, free: 2.516 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.0009739/0.0009739, allocations: 177.7 kB / 25.18 MB, free: 8.879 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.924/0.924, allocations: 177.1 MB / 205.6 MB, free: 5.035 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.815/1.815, allocations: 389.6 MB / 0.6364 GB, free: 12.22 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 2.345e-06/2.345e-06, allocations: 0 / 0.7755 GB, free: 6.035 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.213e-05/3.448e-05, allocations: 2.312 kB / 0.7755 GB, free: 6.031 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Clustering.Validation.KMeans_1d): time 0.002229/0.002264, allocations: 0.5835 MB / 0.7761 GB, free: 5.473 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002807/0.005071, allocations: 1.658 MB / 0.7777 GB, free: 3.805 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.991e-05/0.005141, allocations: 0.9844 kB / 0.7777 GB, free: 3.805 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002099/0.005351, allocations: 29.5 kB / 0.7777 GB, free: 3.777 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 3.369e-05/0.005385, allocations: 4.766 kB / 0.7777 GB, free: 3.773 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.001217/0.006602, allocations: 257.3 kB / 0.778 GB, free: 3.527 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 9.517e-05/0.006697, allocations: 27.53 kB / 0.778 GB, free: 3.504 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.031e-05/0.006737, allocations: 0 / 0.778 GB, free: 3.504 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 5.373e-05/0.006791, allocations: 20.14 kB / 0.778 GB, free: 3.488 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.748e-05/0.006838, allocations: 12.97 kB / 0.778 GB, free: 3.477 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.006856, allocations: 4 kB / 0.778 GB, free: 3.473 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009548/0.007811, allocations: 480.5 kB / 0.7785 GB, free: 3.004 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.946e-05/0.00787, allocations: 17.03 kB / 0.7785 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.977e-05/0.0079, allocations: 15.91 kB / 0.7785 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0005859/0.008486, allocations: 342.7 kB / 0.7788 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.008489, allocations: 0 / 0.7788 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.513e-06/0.008491, allocations: 0 / 0.7788 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.008496, allocations: 0 / 0.7788 GB, free: 2.641 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.0004339/0.00893, allocations: 316.2 kB / 0.7791 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.008981, allocations: 17.28 kB / 0.7792 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.188e-05/0.009013, allocations: 0.9375 kB / 0.7792 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.00917, allocations: 118.6 kB / 0.7793 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.009181, allocations: 384 / 0.7793 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.009193, allocations: 0.875 kB / 0.7793 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.053e-05/0.009274, allocations: 33.86 kB / 0.7793 GB, free: 2.113 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.009282, allocations: 4.188 kB / 0.7793 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.984e-06/0.009289, allocations: 5.562 kB / 0.7793 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.009297, allocations: 3.938 kB / 0.7793 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.054e-05/0.009307, allocations: 0 / 0.7793 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000118/0.009425, allocations: 79.28 kB / 0.7794 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.298e-05/0.009468, allocations: 15.98 kB / 0.7794 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.262e-05/0.009481, allocations: 4.859 kB / 0.7794 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.933e-05/0.00953, allocations: 16.08 kB / 0.7794 GB, free: 1.961 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.009556, allocations: 30.56 kB / 0.7795 GB, free: 1.922 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.322e-06/0.009557, allocations: 0.5312 kB / 0.7795 GB, free: 1.922 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001081/0.009665, allocations: 35.23 kB / 0.7795 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.009707, allocations: 63.33 kB / 0.7795 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.009834, allocations: 148.2 kB / 0.7797 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.009848, allocations: 29.7 kB / 0.7797 GB, free: 1.617 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.846e-05/0.009896, allocations: 92.69 kB / 0.7798 GB, free: 1.523 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.366e-05/0.00991, allocations: 5.312 kB / 0.7798 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.044e-05/0.00995, allocations: 25.69 kB / 0.7798 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.01006, allocations: 330.7 kB / 0.7802 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.636e-05/0.01009, allocations: 14.83 kB / 0.7802 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.484e-05/0.0101, allocations: 9.406 kB / 0.7802 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.014e-05/0.01015, allocations: 31.61 kB / 0.7802 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.01015, allocations: 0 / 0.7802 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.426e-05/0.01025, allocations: 58.28 kB / 0.7803 GB, free: 1.035 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.01026, allocations: 7.938 kB / 0.7803 GB, free: 1.027 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/0.01028, allocations: 1.344 kB / 0.7803 GB, free: 1.027 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.01029, allocations: 0 / 0.7803 GB, free: 1.027 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.676e-05/0.01031, allocations: 3.984 kB / 0.7803 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.01031, allocations: 7.984 kB / 0.7803 GB, free: 1.016 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.766e-05/0.01034, allocations: 8.547 kB / 0.7803 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.01035, allocations: 5.109 kB / 0.7803 GB, free: 1.004 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.781e-05/0.01044, allocations: 112.7 kB / 0.7804 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.789e-06/0.01045, allocations: 5.062 kB / 0.7804 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.01056, allocations: 45.44 kB / 0.7804 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.01056, allocations: 0.5312 kB / 0.7805 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.01056, allocations: 0.6875 kB / 0.7805 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.01057, allocations: 4 kB / 0.7805 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.541e-05/0.01065, allocations: 83.59 kB / 0.7805 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.01065, allocations: 0 / 0.7805 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.973e-06/0.01066, allocations: 0 / 0.7805 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.01066, allocations: 0 / 0.7805 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.887e-06/0.01067, allocations: 0 / 0.7805 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.01067, allocations: 5.109 kB / 0.7805 GB, free: 0.7266 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.01067, allocations: 0 / 0.7805 GB, free: 0.7266 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.719e-05/0.01074, allocations: 70.61 kB / 0.7806 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.364e-05/0.01075, allocations: 9.016 kB / 0.7806 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.01077, allocations: 3.984 kB / 0.7806 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.41e-05/0.01078, allocations: 4 kB / 0.7806 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.17e-05/0.01079, allocations: 1.188 kB / 0.7806 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.0108, allocations: 4 kB / 0.7806 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.545e-05/0.01083, allocations: 32.69 kB / 0.7807 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.01083, allocations: 1.031 kB / 0.7807 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003253/0.01116, allocations: 87.8 kB / 0.7807 GB, free: 0.5 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.0006701/0.01183, allocations: 265.5 kB / 0.781 GB, free: 280 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000126/0.01195, allocations: 58.55 kB / 0.7811 GB, free: 212 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.01196, allocations: 0 / 0.7811 GB, free: 212 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.909e-06/0.01197, allocations: 10.36 kB / 0.7811 GB, free: 200 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.275e-05/0.01205, allocations: 11.92 kB / 0.7811 GB, free: 188 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002992/0.01235, allocations: 184.1 kB / 0.7812 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.354e-05/0.01244, allocations: 76.14 kB / 0.7813 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.226e-05/0.01248, allocations: 47.38 kB / 0.7814 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of SimCode: time 9.62e-07/0.01248, allocations: 1 kB / 0.7814 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of Templates: time 0.004762/0.01724, allocations: 2.356 MB / 0.7837 GB, free: 13.59 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 > Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_1d.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.708431747741997]