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.0008758/0.0008758, allocations: 80.75 kB / 20.82 MB, free: 3.633 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.0009306/0.0009306, allocations: 165 kB / 24.25 MB, free: 212 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.9481/0.9481, allocations: 177.1 MB / 204.7 MB, free: 5.477 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.887/1.887, allocations: 389.6 MB / 0.6355 GB, free: 12.27 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.884e-06/1.884e-06, allocations: 0 / 0.7753 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.809e-05, allocations: 4.281 kB / 0.7753 GB, free: 5.289 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Clustering.Validation.KMeans_2d): time 0.00203/0.002059, allocations: 0.5809 MB / 0.7759 GB, free: 4.73 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002627/0.004685, allocations: 1.661 MB / 0.7775 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.204e-05/0.004727, allocations: 2.469 kB / 0.7775 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002095/0.004937, allocations: 64.7 kB / 0.7776 GB, free: 2.996 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.111e-05/0.004978, allocations: 28.61 kB / 0.7776 GB, free: 2.969 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.0009199/0.005898, allocations: 255.2 kB / 0.7778 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 9.607e-05/0.005994, allocations: 31.58 kB / 0.7779 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.78e-05/0.006032, allocations: 4 kB / 0.7779 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 5.983e-05/0.006091, allocations: 24.83 kB / 0.7779 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.903e-05/0.00616, allocations: 37.05 kB / 0.7779 GB, free: 2.637 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.006175, allocations: 0.7656 kB / 0.7779 GB, free: 2.637 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008194/0.006994, allocations: 486.6 kB / 0.7784 GB, free: 2.164 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.291e-05/0.007047, allocations: 28.3 kB / 0.7784 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.884e-05/0.007066, allocations: 11.94 kB / 0.7784 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003107/0.007377, allocations: 363.1 kB / 0.7788 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.007379, allocations: 0 / 0.7788 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.72e-07/0.00738, allocations: 0 / 0.7788 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.007384, allocations: 0 / 0.7788 GB, free: 1.773 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.0003021/0.007686, allocations: 338.5 kB / 0.7791 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.007719, allocations: 9.344 kB / 0.7791 GB, free: 1.414 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.909e-05/0.007748, allocations: 4.938 kB / 0.7791 GB, free: 1.41 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.007863, allocations: 134.5 kB / 0.7793 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-06/0.007873, allocations: 8.375 kB / 0.7793 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.007882, allocations: 0.9062 kB / 0.7793 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.652e-05/0.007938, allocations: 30.03 kB / 0.7793 GB, free: 1.211 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.007945, allocations: 192 / 0.7793 GB, free: 1.211 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.4e-06/0.00795, allocations: 384 / 0.7793 GB, free: 1.211 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.007957, allocations: 8.531 kB / 0.7793 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.995e-06/0.007965, allocations: 4.75 kB / 0.7793 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.98e-05/0.008044, allocations: 78.62 kB / 0.7794 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 2.925e-05/0.008074, allocations: 15.08 kB / 0.7794 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.247e-05/0.008086, allocations: 18.38 kB / 0.7794 GB, free: 1.062 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.008115, allocations: 4 kB / 0.7794 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.664e-05/0.008132, allocations: 30.56 kB / 0.7794 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 6.02e-07/0.008132, allocations: 0 / 0.7794 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 7.703e-05/0.008209, allocations: 42.28 kB / 0.7795 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.008237, allocations: 52.09 kB / 0.7795 GB, free: 0.9102 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.85e-05/0.008336, allocations: 187.4 kB / 0.7797 GB, free: 0.7148 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.597e-06/0.008344, allocations: 27.42 kB / 0.7797 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.198e-05/0.008376, allocations: 104 kB / 0.7798 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.045e-06/0.008385, allocations: 0 / 0.7798 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.596e-05/0.00841, allocations: 29.67 kB / 0.7799 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.525e-05/0.008486, allocations: 330.8 kB / 0.7802 GB, free: 216 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.605e-05/0.008502, allocations: 15.64 kB / 0.7802 GB, free: 200 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.028e-05/0.008512, allocations: 8 kB / 0.7802 GB, free: 192 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.504e-05/0.008547, allocations: 43.06 kB / 0.7802 GB, free: 148 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.008549, allocations: 0.6562 kB / 0.7802 GB, free: 148 kB / 0.7292 GB Notification: Performance of matching and sorting (n=16) (initialization): time 5.791e-05/0.008607, allocations: 74.69 kB / 0.7803 GB, free: 68 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.828e-06/0.008617, allocations: 4 kB / 0.7803 GB, free: 64 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.008627, allocations: 4 kB / 0.7803 GB, free: 60 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.774e-06/0.008635, allocations: 0.875 kB / 0.7803 GB, free: 60 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.324e-05/0.008648, allocations: 3.938 kB / 0.7803 GB, free: 56 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.008651, allocations: 0 / 0.7803 GB, free: 56 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.696e-05/0.008668, allocations: 12.52 kB / 0.7803 GB, free: 44 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.008675, allocations: 8.672 kB / 0.7803 GB, free: 36 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 7.099e-05/0.008746, allocations: 114.4 kB / 0.7805 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.29e-06/0.008751, allocations: 4 kB / 0.7805 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.09e-05/0.008812, allocations: 46.12 kB / 0.7805 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.008816, allocations: 4 kB / 0.7805 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.00882, allocations: 4.594 kB / 0.7805 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.008822, allocations: 1 kB / 0.7805 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.259e-05/0.008875, allocations: 81.81 kB / 0.7806 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.008877, allocations: 3.984 kB / 0.7806 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.893e-06/0.008879, allocations: 0.5312 kB / 0.7806 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.92e-07/0.00888, allocations: 1.125 kB / 0.7806 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-06/0.008882, allocations: 0 / 0.7806 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.9e-07/0.008883, allocations: 0 / 0.7806 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.01e-07/0.008883, allocations: 0.8125 kB / 0.7806 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.54e-05/0.008928, allocations: 70.7 kB / 0.7807 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.317e-06/0.008938, allocations: 16.78 kB / 0.7807 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.253e-06/0.008945, allocations: 0 / 0.7807 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.674e-06/0.008953, allocations: 4 kB / 0.7807 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.089e-05/0.008964, allocations: 4.75 kB / 0.7807 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-06/0.008965, allocations: 0 / 0.7807 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.159e-05/0.008997, allocations: 46.94 kB / 0.7807 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008997, allocations: 0 / 0.7807 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001898/0.009186, allocations: 88.8 kB / 0.7808 GB, free: 15.5 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.0003813/0.009568, allocations: 264.7 kB / 0.7811 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.812e-05/0.009666, allocations: 70.52 kB / 0.7811 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.009669, allocations: 0 / 0.7811 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.823e-06/0.009676, allocations: 9.891 kB / 0.7812 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.48e-05/0.00973, allocations: 7.938 kB / 0.7812 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001993/0.00993, allocations: 188.6 kB / 0.7813 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.099e-05/0.009961, allocations: 71.19 kB / 0.7814 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.662e-05/0.009977, allocations: 7.938 kB / 0.7814 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.638e-05/0.01, allocations: 48.53 kB / 0.7815 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of SimCode: time 6.21e-07/0.01, allocations: 0 / 0.7815 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of Templates: time 0.003943/0.01395, allocations: 2.616 MB / 0.784 GB, free: 12.34 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.941209247335792]