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.00152/0.00152, allocations: 80.81 kB / 20.75 MB, free: 3.73 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.001546/0.001546, allocations: 161 kB / 24.17 MB, free: 320 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.9629/0.9629, allocations: 177.1 MB / 204.6 MB, free: 5.492 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.886/1.886, allocations: 389.6 MB / 0.6354 GB, free: 12.32 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.443e-06/1.443e-06, allocations: 0 / 0.7751 GB, free: 5.484 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.318e-05/2.463e-05, allocations: 6.312 kB / 0.7751 GB, free: 5.477 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Clustering.Validation.KMeans_1d): time 0.001609/0.001634, allocations: 0.5296 MB / 0.7756 GB, free: 4.965 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00235/0.003984, allocations: 1.659 MB / 0.7772 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.644e-05/0.00403, allocations: 5.594 kB / 0.7773 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001626/0.004193, allocations: 20.73 kB / 0.7773 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 2.935e-05/0.004222, allocations: 8.969 kB / 0.7773 GB, free: 3.266 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.0009941/0.005216, allocations: 287.8 kB / 0.7776 GB, free: 2.992 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 8.479e-05/0.005301, allocations: 23.89 kB / 0.7776 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.984e-05/0.005341, allocations: 4 kB / 0.7776 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.903e-05/0.00539, allocations: 14.2 kB / 0.7776 GB, free: 2.957 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.192e-05/0.005432, allocations: 13.52 kB / 0.7776 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.005445, allocations: 1.219 kB / 0.7776 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007227/0.006168, allocations: 456.6 kB / 0.778 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.808e-05/0.006226, allocations: 16.77 kB / 0.7781 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.274e-05/0.006249, allocations: 11.92 kB / 0.7781 GB, free: 2.477 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004579/0.006707, allocations: 348 kB / 0.7784 GB, free: 2.137 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.00671, allocations: 0 / 0.7784 GB, free: 2.137 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.302e-06/0.006711, allocations: 5.75 kB / 0.7784 GB, free: 2.133 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.187e-06/0.006715, allocations: 3.938 kB / 0.7784 GB, free: 2.129 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.0003641/0.007079, allocations: 308.2 kB / 0.7787 GB, free: 1.805 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.007119, allocations: 13.34 kB / 0.7787 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.725e-05/0.007146, allocations: 0.9375 kB / 0.7787 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.007276, allocations: 127.6 kB / 0.7788 GB, free: 1.645 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.007286, allocations: 4.312 kB / 0.7788 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.007296, allocations: 1.094 kB / 0.7788 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.108e-05/0.007367, allocations: 38.86 kB / 0.7789 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.007375, allocations: 192 / 0.7789 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.007382, allocations: 4.359 kB / 0.7789 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.007389, allocations: 3.938 kB / 0.7789 GB, free: 1.59 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.165e-06/0.007397, allocations: 0 / 0.7789 GB, free: 1.59 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001024/0.007499, allocations: 79.19 kB / 0.779 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.95e-05/0.007539, allocations: 19.08 kB / 0.779 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.214e-05/0.007551, allocations: 8.609 kB / 0.779 GB, free: 1.461 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.811e-05/0.007589, allocations: 15.98 kB / 0.779 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.007612, allocations: 30.56 kB / 0.779 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 7.42e-07/0.007613, allocations: 0 / 0.779 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 9.235e-05/0.007705, allocations: 29.7 kB / 0.7791 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.007741, allocations: 59.41 kB / 0.7791 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.007856, allocations: 153.9 kB / 0.7793 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.007867, allocations: 25.7 kB / 0.7793 GB, free: 1.109 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.703e-05/0.007904, allocations: 92.06 kB / 0.7794 GB, free: 1.016 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.977e-06/0.007913, allocations: 7.094 kB / 0.7794 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.921e-05/0.007952, allocations: 33.62 kB / 0.7794 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.175e-05/0.008044, allocations: 322.8 kB / 0.7797 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.343e-05/0.008067, allocations: 14.83 kB / 0.7797 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.401e-05/0.008081, allocations: 8 kB / 0.7798 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.39e-05/0.008125, allocations: 31.66 kB / 0.7798 GB, free: 0.5898 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.008127, allocations: 0 / 0.7798 GB, free: 0.5898 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 8.278e-05/0.00821, allocations: 61.62 kB / 0.7798 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.008222, allocations: 4.719 kB / 0.7798 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.008234, allocations: 0 / 0.7798 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.008246, allocations: 1.594 kB / 0.7798 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.706e-05/0.008263, allocations: 7.984 kB / 0.7799 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.275e-06/0.008266, allocations: 3.938 kB / 0.7799 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.219e-05/0.008288, allocations: 7.891 kB / 0.7799 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.008296, allocations: 0.8125 kB / 0.7799 GB, free: 0.5 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.413e-05/0.008381, allocations: 117.5 kB / 0.78 GB, free: 384 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.386e-06/0.008389, allocations: 4 kB / 0.78 GB, free: 380 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.08e-05/0.00847, allocations: 38.06 kB / 0.78 GB, free: 340 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.008472, allocations: 4.625 kB / 0.78 GB, free: 336 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.008473, allocations: 0 / 0.78 GB, free: 336 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.008476, allocations: 5.188 kB / 0.78 GB, free: 332 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.087e-05/0.008546, allocations: 77.81 kB / 0.7801 GB, free: 236 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.008547, allocations: 0 / 0.7801 GB, free: 236 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.82e-06/0.008552, allocations: 0 / 0.7801 GB, free: 236 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.008554, allocations: 1.469 kB / 0.7801 GB, free: 236 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-06/0.008557, allocations: 0 / 0.7801 GB, free: 236 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.008557, allocations: 0 / 0.7801 GB, free: 236 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.008558, allocations: 0 / 0.7801 GB, free: 236 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.69e-05/0.008615, allocations: 71.44 kB / 0.7802 GB, free: 144 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.438e-05/0.008629, allocations: 20.95 kB / 0.7802 GB, free: 124 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.396e-06/0.008638, allocations: 0 / 0.7802 GB, free: 124 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.171e-05/0.00865, allocations: 3.984 kB / 0.7802 GB, free: 120 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.095e-05/0.00866, allocations: 0.5 kB / 0.7802 GB, free: 120 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.008663, allocations: 4.531 kB / 0.7802 GB, free: 116 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.283e-05/0.008696, allocations: 28.83 kB / 0.7802 GB, free: 84 kB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.008696, allocations: 0.875 kB / 0.7802 GB, free: 84 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003115/0.009008, allocations: 87.84 kB / 0.7803 GB, free: 15.99 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.0005491/0.009557, allocations: 267.5 kB / 0.7806 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001083/0.009665, allocations: 63.42 kB / 0.7806 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.009669, allocations: 0 / 0.7806 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.585e-06/0.009676, allocations: 9.859 kB / 0.7806 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.421e-05/0.00975, allocations: 14.62 kB / 0.7807 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002433/0.009994, allocations: 154.5 kB / 0.7808 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.862e-05/0.01003, allocations: 59.34 kB / 0.7809 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.348e-05/0.01006, allocations: 4 kB / 0.7809 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.696e-05/0.01009, allocations: 55.36 kB / 0.7809 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of SimCode: time 3e-07/0.01009, allocations: 0 / 0.7809 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of Templates: time 0.005511/0.0156, allocations: 2.568 MB / 0.7834 GB, free: 12.92 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.980076571926475]