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.001165/0.001165, allocations: 80.81 kB / 21.55 MB, free: 2.938 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.001028/0.001028, allocations: 163.3 kB / 24.97 MB, free: 8.223 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.9158/0.9158, allocations: 177.2 MB / 205.4 MB, free: 4.473 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.012/2.012, allocations: 389.6 MB / 0.6362 GB, free: 13.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.684e-06/1.684e-06, allocations: 0 / 0.7759 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.12e-05/2.288e-05, allocations: 5.969 kB / 0.7759 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Clustering.Validation.KMeans_1d): time 0.004572/0.004595, allocations: 0.5872 MB / 0.7765 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002392/0.006987, allocations: 1.657 MB / 0.7781 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.882e-05/0.007026, allocations: 0 / 0.7781 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.003149/0.01017, allocations: 19.91 kB / 0.7782 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.751e-05/0.0102, allocations: 11.98 kB / 0.7782 GB, free: 11.66 MB / 0.7448 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.0007898/0.01099, allocations: 259 kB / 0.7784 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.366e-05/0.01106, allocations: 23.91 kB / 0.7784 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.113e-05/0.01109, allocations: 0 / 0.7784 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.599e-05/0.01113, allocations: 15.98 kB / 0.7785 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.594e-05/0.01117, allocations: 19.92 kB / 0.7785 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.01118, allocations: 0 / 0.7785 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007095/0.01189, allocations: 479 kB / 0.7789 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.441e-05/0.01193, allocations: 19.92 kB / 0.7789 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.806e-05/0.01195, allocations: 11.94 kB / 0.779 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004146/0.01237, allocations: 347.1 kB / 0.7793 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.01237, allocations: 0 / 0.7793 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.194e-06/0.01237, allocations: 3.984 kB / 0.7793 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.01238, allocations: 0 / 0.7793 GB, free: 10.5 MB / 0.7448 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.0003012/0.01268, allocations: 308.2 kB / 0.7796 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.01271, allocations: 8.031 kB / 0.7796 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.439e-05/0.01274, allocations: 4.938 kB / 0.7796 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.01285, allocations: 129.6 kB / 0.7797 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.294e-06/0.01286, allocations: 384 / 0.7797 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.59e-06/0.01286, allocations: 384 / 0.7797 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.574e-05/0.01292, allocations: 37.03 kB / 0.7798 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.922e-06/0.01292, allocations: 192 / 0.7798 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.999e-06/0.01293, allocations: 384 / 0.7798 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.01294, allocations: 3.938 kB / 0.7798 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.047e-05/0.01295, allocations: 8 kB / 0.7798 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003104/0.01605, allocations: 74.64 kB / 0.7798 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.484e-05/0.0161, allocations: 18.61 kB / 0.7799 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.106e-05/0.01611, allocations: 4.859 kB / 0.7799 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.334e-05/0.01614, allocations: 4.062 kB / 0.7799 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.01616, allocations: 30.56 kB / 0.7799 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.283e-06/0.01617, allocations: 3.938 kB / 0.7799 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 8.231e-05/0.01625, allocations: 37.69 kB / 0.7799 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.202e-05/0.01627, allocations: 51.41 kB / 0.78 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.01638, allocations: 170.3 kB / 0.7801 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.428e-06/0.01639, allocations: 29.83 kB / 0.7802 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.11e-05/0.01642, allocations: 92.08 kB / 0.7803 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.494e-06/0.01642, allocations: 0 / 0.7803 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.01646, allocations: 25.69 kB / 0.7803 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.747e-05/0.01654, allocations: 326.8 kB / 0.7806 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.616e-05/0.01655, allocations: 6.828 kB / 0.7806 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.158e-05/0.01656, allocations: 8 kB / 0.7806 GB, free: 9 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.219e-05/0.01661, allocations: 47.64 kB / 0.7807 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.01661, allocations: 0 / 0.7807 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 6.552e-05/0.01667, allocations: 57.69 kB / 0.7807 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.01668, allocations: 4.062 kB / 0.7807 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.0167, allocations: 8 kB / 0.7807 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.397e-06/0.01671, allocations: 0 / 0.7807 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.27e-05/0.01672, allocations: 0 / 0.7807 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-06/0.01672, allocations: 0 / 0.7807 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.015e-05/0.01674, allocations: 7.891 kB / 0.7807 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.01675, allocations: 7.938 kB / 0.7807 GB, free: 8.859 MB / 0.7448 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.431e-05/0.01681, allocations: 120 kB / 0.7809 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-06/0.01682, allocations: 0 / 0.7809 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.679e-05/0.01689, allocations: 53.44 kB / 0.7809 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.01689, allocations: 0 / 0.7809 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.01689, allocations: 3.984 kB / 0.7809 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.937e-06/0.0169, allocations: 3.953 kB / 0.7809 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.779e-06/0.01691, allocations: 7.938 kB / 0.7809 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.325e-06/0.01692, allocations: 0 / 0.7809 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.138e-05/0.01693, allocations: 0 / 0.7809 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 4.799e-05/0.01698, allocations: 152.9 kB / 0.7811 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 8.636e-05/0.01706, allocations: 252.3 kB / 0.7813 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.55e-05/0.01708, allocations: 8.797 kB / 0.7813 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.154e-05/0.01711, allocations: 40.91 kB / 0.7814 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of Backend: time 3.21e-07/0.01711, allocations: 0 / 0.7814 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006556/0.01777, allocations: 297.6 kB / 0.7816 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of SimCode: time 0.0003498/0.01812, allocations: 0.6925 MB / 0.7823 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of Templates: time 0.01142/0.02954, allocations: 2.675 MB / 0.7849 GB, free: 4.504 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.753390057943761]