Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d.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.0009897/0.0009897, 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.0009703/0.0009703, allocations: 161 kB / 24.17 MB, free: 332 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.9943/0.9943, allocations: 177.1 MB / 204.6 MB, free: 5.488 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.066/2.066, allocations: 389.6 MB / 0.6354 GB, free: 12.3 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_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d") translateModel(Buildings.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.7752 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.393e-05/2.545e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.41 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Clustering.Validation.KMeans_2d): time 0.002076/0.002101, allocations: 0.5798 MB / 0.7757 GB, free: 4.852 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002513/0.004614, allocations: 1.663 MB / 0.7774 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.229e-05/0.004646, allocations: 1.375 kB / 0.7774 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001755/0.004822, allocations: 62.25 kB / 0.7774 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 2.963e-05/0.004851, allocations: 31.94 kB / 0.7774 GB, free: 3.09 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.0006803/0.005532, allocations: 252.4 kB / 0.7777 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.541e-05/0.005607, allocations: 36.42 kB / 0.7777 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.335e-05/0.00564, allocations: 4 kB / 0.7777 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.701e-05/0.005687, allocations: 22.89 kB / 0.7777 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.074e-05/0.005738, allocations: 44.86 kB / 0.7778 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.005749, allocations: 0 / 0.7778 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005816/0.006331, allocations: 479.8 kB / 0.7782 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.577e-05/0.006376, allocations: 23.88 kB / 0.7783 GB, free: 2.258 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.84e-05/0.006395, allocations: 16.42 kB / 0.7783 GB, free: 2.242 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003319/0.006727, allocations: 359.8 kB / 0.7786 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.006728, allocations: 2.406 kB / 0.7786 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.12e-07/0.006729, allocations: 0 / 0.7786 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.006733, allocations: 0 / 0.7786 GB, free: 1.891 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.0004094/0.007142, allocations: 339.9 kB / 0.779 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.007175, allocations: 9.344 kB / 0.779 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.616e-05/0.007201, allocations: 4.938 kB / 0.779 GB, free: 1.523 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.007324, allocations: 134.5 kB / 0.7791 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.007333, allocations: 7.125 kB / 0.7791 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.781e-06/0.007338, allocations: 384 / 0.7791 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.469e-05/0.007393, allocations: 33.08 kB / 0.7791 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.007399, allocations: 192 / 0.7791 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.36e-06/0.007405, allocations: 4.375 kB / 0.7791 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.00741, allocations: 7.938 kB / 0.7791 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.007e-06/0.007419, allocations: 6.641 kB / 0.7792 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.947e-05/0.007499, allocations: 74.64 kB / 0.7792 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 2.873e-05/0.007528, allocations: 14.58 kB / 0.7792 GB, free: 1.195 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.241e-05/0.00754, allocations: 12.95 kB / 0.7792 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.007569, allocations: 7.984 kB / 0.7793 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.007588, allocations: 30.56 kB / 0.7793 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.007588, allocations: 0 / 0.7793 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 7.612e-05/0.007665, allocations: 43.31 kB / 0.7793 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.007688, allocations: 51.41 kB / 0.7794 GB, free: 1.023 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.00779, allocations: 191.4 kB / 0.7796 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.376e-06/0.007798, allocations: 25.7 kB / 0.7796 GB, free: 0.793 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.152e-05/0.00783, allocations: 104.9 kB / 0.7797 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.005e-06/0.007838, allocations: 0 / 0.7797 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.677e-05/0.007864, allocations: 26.75 kB / 0.7797 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.261e-05/0.007937, allocations: 330.7 kB / 0.78 GB, free: 332 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.825e-05/0.007955, allocations: 18.83 kB / 0.78 GB, free: 312 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.232e-05/0.007968, allocations: 12.98 kB / 0.7801 GB, free: 304 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.531e-05/0.008003, allocations: 35.62 kB / 0.7801 GB, free: 264 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.008005, allocations: 0 / 0.7801 GB, free: 264 kB / 0.7292 GB Notification: Performance of matching and sorting (n=16) (initialization): time 6.199e-05/0.008067, allocations: 73.56 kB / 0.7802 GB, free: 184 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.008077, allocations: 9.188 kB / 0.7802 GB, free: 176 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.008089, allocations: 0 / 0.7802 GB, free: 176 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.008099, allocations: 0 / 0.7802 GB, free: 176 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.091e-05/0.00811, allocations: 0 / 0.7802 GB, free: 176 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.013e-06/0.008112, allocations: 0.6562 kB / 0.7802 GB, free: 176 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.884e-05/0.008131, allocations: 16.95 kB / 0.7802 GB, free: 160 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-06/0.008136, allocations: 0 / 0.7802 GB, free: 160 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: 10 (labels[1],labels[2],labels[3],labels[4],labels[5],labels[6],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.591e-05/0.008202, allocations: 125.2 kB / 0.7803 GB, free: 24 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.52e-06/0.008208, allocations: 4 kB / 0.7803 GB, free: 20 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.464e-05/0.008283, allocations: 38.97 kB / 0.7803 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.008284, allocations: 4.562 kB / 0.7803 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.008287, allocations: 4 kB / 0.7804 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.008289, allocations: 0.9062 kB / 0.7804 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.371e-05/0.008343, allocations: 85.81 kB / 0.7804 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.008344, allocations: 0.9375 kB / 0.7804 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.617e-06/0.008347, allocations: 4 kB / 0.7804 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.008349, allocations: 0.5312 kB / 0.7804 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.286e-06/0.008352, allocations: 0 / 0.7804 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.008353, allocations: 1.531 kB / 0.7804 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.008355, allocations: 3.984 kB / 0.7804 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.104e-05/0.008396, allocations: 66.73 kB / 0.7805 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.014e-05/0.008406, allocations: 16.67 kB / 0.7805 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.705e-06/0.008414, allocations: 0 / 0.7805 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.395e-06/0.008422, allocations: 4 kB / 0.7805 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.927e-06/0.008431, allocations: 2.75 kB / 0.7805 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.008433, allocations: 0 / 0.7805 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.331e-05/0.008466, allocations: 45.98 kB / 0.7806 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.008466, allocations: 3.938 kB / 0.7806 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002043/0.008671, allocations: 87.8 kB / 0.7807 GB, free: 15.62 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.0003849/0.009055, allocations: 268.7 kB / 0.7809 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.534e-05/0.009151, allocations: 62.55 kB / 0.781 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.009155, allocations: 1.438 kB / 0.781 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.034e-06/0.009162, allocations: 12.84 kB / 0.781 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.242e-05/0.009224, allocations: 10.61 kB / 0.781 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001966/0.009421, allocations: 192.3 kB / 0.7812 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.108e-05/0.009452, allocations: 71.19 kB / 0.7813 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.575e-05/0.009467, allocations: 4 kB / 0.7813 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.705e-05/0.009494, allocations: 48.09 kB / 0.7813 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of SimCode: time 4.61e-07/0.009495, allocations: 4 kB / 0.7813 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of Templates: time 0.004342/0.01384, allocations: 2.597 MB / 0.7838 GB, free: 12.45 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d.pipe ; mkfifo Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d.pipe >> ../files/Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d.sim & ./Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.165712418034673]