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.0006635/0.0006635, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001008/0.001671, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.000695/0.000695, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009347/0.00163, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9364/0.9364, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08291/1.019, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.859/1.859, allocations: 390 MB / 0.6193 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4779/2.337, allocations: 127.1 MB / 0.7435 GB, free: 4.539 MB / 0.7136 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.442e-06/1.442e-06, allocations: 0 / 0.7448 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.293e-05/2.438e-05, allocations: 4.281 kB / 0.7448 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Clustering.Validation.KMeans_2d): time 0.00148/0.001505, allocations: 0.5807 MB / 0.7453 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001642/0.003146, allocations: 1.673 MB / 0.747 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.272e-05/0.003179, allocations: 0 / 0.747 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.003286, allocations: 69.03 kB / 0.747 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.053e-05/0.003316, allocations: 37.69 kB / 0.7471 GB, free: 0.9258 MB / 0.7136 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.0006608/0.003977, allocations: 262.8 kB / 0.7473 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.584e-05/0.004063, allocations: 27.03 kB / 0.7473 GB, free: 0.6523 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.256e-05/0.004095, allocations: 4.875 kB / 0.7474 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.343e-05/0.004159, allocations: 34.47 kB / 0.7474 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.933e-05/0.004208, allocations: 28.62 kB / 0.7474 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.00422, allocations: 0 / 0.7474 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006512/0.004871, allocations: 464.6 kB / 0.7479 GB, free: 140 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.485e-05/0.004926, allocations: 25.44 kB / 0.7479 GB, free: 120 kB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.969e-05/0.004946, allocations: 8.734 kB / 0.7479 GB, free: 116 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003767/0.005323, allocations: 304.3 kB / 0.7482 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.005331, allocations: 0.5312 kB / 0.7482 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.062e-06/0.005332, allocations: 0.625 kB / 0.7482 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.709e-06/0.005342, allocations: 0 / 0.7482 GB, free: 15.82 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.000361/0.005703, allocations: 376.2 kB / 0.7485 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.723e-05/0.00573, allocations: 9.531 kB / 0.7485 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.466e-05/0.005755, allocations: 8.922 kB / 0.7486 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.005865, allocations: 129.6 kB / 0.7487 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.743e-06/0.005872, allocations: 4.375 kB / 0.7487 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.687e-06/0.00588, allocations: 1.344 kB / 0.7487 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.854e-05/0.005939, allocations: 33.03 kB / 0.7487 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.469e-06/0.005943, allocations: 0.7812 kB / 0.7487 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.358e-06/0.005948, allocations: 384 / 0.7487 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.005958, allocations: 8.531 kB / 0.7487 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.067e-06/0.005967, allocations: 8.625 kB / 0.7487 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.969e-05/0.006046, allocations: 70.7 kB / 0.7488 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 2.622e-05/0.006073, allocations: 19.12 kB / 0.7488 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.136e-05/0.006084, allocations: 10.48 kB / 0.7488 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/0.006117, allocations: 8 kB / 0.7488 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.006134, allocations: 34.5 kB / 0.7489 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 6.11e-07/0.006134, allocations: 0 / 0.7489 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 7.262e-05/0.006207, allocations: 38.91 kB / 0.7489 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/0.006231, allocations: 55.34 kB / 0.749 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.006335, allocations: 184.5 kB / 0.7491 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.006344, allocations: 30.58 kB / 0.7492 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/0.006379, allocations: 100.1 kB / 0.7493 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.899e-06/0.006389, allocations: 0.5312 kB / 0.7493 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-05/0.006417, allocations: 27.16 kB / 0.7493 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.403e-05/0.006491, allocations: 330.7 kB / 0.7496 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.963e-05/0.006511, allocations: 18.81 kB / 0.7496 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.124e-05/0.006522, allocations: 8 kB / 0.7496 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.743e-05/0.00656, allocations: 43.17 kB / 0.7497 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.006561, allocations: 0 / 0.7497 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16) (initialization): time 6.491e-05/0.006626, allocations: 69.62 kB / 0.7497 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.006638, allocations: 9.125 kB / 0.7497 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.006649, allocations: 0.75 kB / 0.7497 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.00666, allocations: 3.984 kB / 0.7497 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.192e-05/0.006672, allocations: 2.062 kB / 0.7498 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.444e-06/0.006674, allocations: 0 / 0.7498 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.352e-05/0.006698, allocations: 15.83 kB / 0.7498 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.006704, allocations: 0 / 0.7498 GB, free: 14.05 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: 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.644e-05/0.006771, allocations: 119.4 kB / 0.7499 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.617e-06/0.006779, allocations: 11.92 kB / 0.7499 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.647e-05/0.006846, allocations: 38.2 kB / 0.7499 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.006848, allocations: 3.984 kB / 0.7499 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.00685, allocations: 4 kB / 0.7499 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.006853, allocations: 0 / 0.7499 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.643e-05/0.006919, allocations: 81.81 kB / 0.75 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.00692, allocations: 3 kB / 0.75 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.969e-06/0.006925, allocations: 0 / 0.75 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.038e-05/0.006936, allocations: 11.91 kB / 0.75 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.006938, allocations: 4 kB / 0.75 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.065e-06/0.006941, allocations: 0 / 0.75 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.006942, allocations: 0 / 0.75 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.006943, allocations: 0 / 0.75 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.847e-05/0.006992, allocations: 70.66 kB / 0.7501 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.484e-06/0.006999, allocations: 1.594 kB / 0.7501 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.107e-05/0.00701, allocations: 4 kB / 0.7501 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.627e-06/0.007019, allocations: 4 kB / 0.7501 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.007022, allocations: 3.984 kB / 0.7501 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.861e-05/0.00706, allocations: 51.31 kB / 0.7502 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.00706, allocations: 0 / 0.7502 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002454/0.007306, allocations: 89.05 kB / 0.7502 GB, free: 13.52 MB / 0.7292 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.0004809/0.007787, allocations: 282.7 kB / 0.7505 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000112/0.007899, allocations: 72.86 kB / 0.7506 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.007904, allocations: 4 kB / 0.7506 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.714e-06/0.007912, allocations: 5.516 kB / 0.7506 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.773e-05/0.00799, allocations: 25.03 kB / 0.7506 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002124/0.008202, allocations: 190.9 kB / 0.7508 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.274e-05/0.008235, allocations: 75.86 kB / 0.7509 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.708e-05/0.008252, allocations: 0 / 0.7509 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.944e-05/0.008281, allocations: 51.88 kB / 0.7509 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of SimCode: time 5.11e-07/0.008282, allocations: 0.7812 kB / 0.7509 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of Templates: time 0.004332/0.01261, allocations: 2.558 MB / 0.7534 GB, free: 10.39 MB / 0.7292 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.698274406604469]