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.0008787/0.0008787, allocations: 80.81 kB / 21.55 MB, free: 2.945 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.000931/0.000931, allocations: 165.5 kB / 24.96 MB, free: 8.129 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.8922/0.8922, allocations: 177.1 MB / 205.4 MB, free: 5.5 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.839/1.839, allocations: 389.6 MB / 0.6362 GB, free: 12.31 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_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.983e-06/1.983e-06, allocations: 0 / 0.7759 GB, free: 5.422 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.546e-05/1.744e-05, allocations: 3.219 kB / 0.7759 GB, free: 5.418 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Clustering.Validation.KMeans_2d): time 0.001575/0.001593, allocations: 0.5905 MB / 0.7765 GB, free: 4.852 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002232/0.003825, allocations: 1.657 MB / 0.7781 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.042e-05/0.003865, allocations: 0 / 0.7781 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002007/0.004066, allocations: 68.48 kB / 0.7782 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 3.943e-05/0.004105, allocations: 28.94 kB / 0.7782 GB, free: 3.094 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.0008106/0.004916, allocations: 265.4 kB / 0.7785 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.976e-05/0.004996, allocations: 31.69 kB / 0.7785 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.016e-05/0.005026, allocations: 0.875 kB / 0.7785 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 5.342e-05/0.005079, allocations: 24.94 kB / 0.7785 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.707e-05/0.005136, allocations: 39.09 kB / 0.7785 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.005148, allocations: 0 / 0.7785 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007069/0.005855, allocations: 483.5 kB / 0.779 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.94e-05/0.005905, allocations: 27.94 kB / 0.779 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.901e-05/0.005924, allocations: 12.98 kB / 0.779 GB, free: 2.242 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004293/0.006353, allocations: 359 kB / 0.7794 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.744e-06/0.006355, allocations: 0.5625 kB / 0.7794 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.91e-07/0.006355, allocations: 3.5 kB / 0.7794 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.725e-06/0.006358, allocations: 0 / 0.7794 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.0003302/0.006688, allocations: 335.9 kB / 0.7797 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.006722, allocations: 13.34 kB / 0.7797 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.548e-05/0.006747, allocations: 8.938 kB / 0.7797 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.00687, allocations: 130.5 kB / 0.7799 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.961e-06/0.006876, allocations: 384 / 0.7799 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.901e-06/0.006882, allocations: 384 / 0.7799 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.704e-05/0.006939, allocations: 44.95 kB / 0.7799 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.799e-06/0.006944, allocations: 2.938 kB / 0.7799 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.04e-06/0.006949, allocations: 384 / 0.7799 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.006953, allocations: 3.938 kB / 0.7799 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.253e-06/0.00696, allocations: 0 / 0.7799 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.06e-05/0.007051, allocations: 70.7 kB / 0.78 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 2.744e-05/0.007078, allocations: 18.61 kB / 0.78 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.192e-05/0.00709, allocations: 8.859 kB / 0.78 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.325e-05/0.007123, allocations: 9.516 kB / 0.78 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.007145, allocations: 42.5 kB / 0.7801 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/0.007146, allocations: 0 / 0.7801 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 8.185e-05/0.007228, allocations: 34.75 kB / 0.7801 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.007254, allocations: 51.41 kB / 0.7801 GB, free: 1.027 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.007382, allocations: 187.4 kB / 0.7803 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.007394, allocations: 26.61 kB / 0.7803 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.861e-05/0.007432, allocations: 100 kB / 0.7804 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.699e-06/0.007442, allocations: 4.531 kB / 0.7804 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/0.007477, allocations: 25.69 kB / 0.7805 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.691e-05/0.007564, allocations: 335.6 kB / 0.7808 GB, free: 336 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.159e-05/0.007585, allocations: 14.83 kB / 0.7808 GB, free: 320 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.641e-05/0.007602, allocations: 12.81 kB / 0.7808 GB, free: 308 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.815e-05/0.00765, allocations: 43.61 kB / 0.7809 GB, free: 260 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.007652, allocations: 0 / 0.7809 GB, free: 260 kB / 0.7292 GB Notification: Performance of matching and sorting (n=16) (initialization): time 7.389e-05/0.007726, allocations: 75.06 kB / 0.7809 GB, free: 180 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.007736, allocations: 4 kB / 0.7809 GB, free: 176 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.007746, allocations: 0 / 0.7809 GB, free: 176 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.124e-06/0.007753, allocations: 0.6562 kB / 0.7809 GB, free: 176 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.248e-06/0.007762, allocations: 0 / 0.7809 GB, free: 176 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.905e-06/0.007765, allocations: 0.6875 kB / 0.7809 GB, free: 176 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.462e-05/0.00778, allocations: 11.89 kB / 0.7809 GB, free: 164 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.007786, allocations: 1.156 kB / 0.7809 GB, free: 164 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 5.493e-05/0.007841, allocations: 123.1 kB / 0.7811 GB, free: 32 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.461e-06/0.007846, allocations: 4.531 kB / 0.7811 GB, free: 28 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.007952, allocations: 47.06 kB / 0.7811 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.007954, allocations: 0 / 0.7811 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.007955, allocations: 0.8125 kB / 0.7811 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.007958, allocations: 3.938 kB / 0.7811 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.012e-05/0.008008, allocations: 86.44 kB / 0.7812 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.00801, allocations: 5.812 kB / 0.7812 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.695e-06/0.008012, allocations: 0 / 0.7812 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.61e-07/0.008013, allocations: 0 / 0.7812 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.925e-06/0.008016, allocations: 0 / 0.7812 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.008017, allocations: 4 kB / 0.7812 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.00802, allocations: 5.016 kB / 0.7812 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.676e-05/0.008057, allocations: 66.67 kB / 0.7813 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.828e-06/0.008067, allocations: 15.89 kB / 0.7813 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.262e-06/0.008073, allocations: 0.5 kB / 0.7813 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.892e-06/0.00808, allocations: 4.484 kB / 0.7813 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.284e-06/0.008087, allocations: 0.9062 kB / 0.7813 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-06/0.008088, allocations: 0 / 0.7813 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.096e-05/0.008119, allocations: 49.98 kB / 0.7813 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008119, allocations: 0.9375 kB / 0.7813 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002158/0.008335, allocations: 91.8 kB / 0.7814 GB, free: 15.61 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.0003726/0.008708, allocations: 253.7 kB / 0.7817 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.815e-05/0.008786, allocations: 67.41 kB / 0.7817 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.008788, allocations: 1.75 kB / 0.7817 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.033e-06/0.008795, allocations: 16.78 kB / 0.7818 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.085e-05/0.008846, allocations: 10.22 kB / 0.7818 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001731/0.009019, allocations: 190.9 kB / 0.7819 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.958e-05/0.009049, allocations: 71.72 kB / 0.782 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.213e-05/0.009061, allocations: 4.75 kB / 0.782 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.362e-05/0.009084, allocations: 51.38 kB / 0.7821 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of SimCode: time 3.01e-07/0.009085, allocations: 1.031 kB / 0.7821 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of Templates: time 0.00363/0.01271, allocations: 2.598 MB / 0.7846 GB, free: 12.46 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 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Clustering.Validation.KMeans_2d.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.808784040622413]