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.001027/0.001027, allocations: 84.8 kB / 21.62 MB, free: 2.836 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.0009792/0.0009792, allocations: 170.4 kB / 25.04 MB, free: 9.203 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.93/0.93, allocations: 177.1 MB / 205.5 MB, free: 5.434 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.896/1.896, allocations: 389.6 MB / 0.6363 GB, free: 12.29 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.422e-06/1.422e-06, allocations: 0 / 0.7761 GB, free: 5.336 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.2e-05/2.342e-05, allocations: 6.25 kB / 0.7761 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Clustering.Validation.KMeans_1d): time 0.001208/0.001231, allocations: 0.5802 MB / 0.7766 GB, free: 4.77 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001649/0.00288, allocations: 1.662 MB / 0.7783 GB, free: 3.102 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.98e-05/0.00291, allocations: 7.938 kB / 0.7783 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001263/0.003036, allocations: 15.97 kB / 0.7783 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 2.275e-05/0.003059, allocations: 12.58 kB / 0.7783 GB, free: 3.066 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.0005958/0.003655, allocations: 253.8 kB / 0.7785 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.327e-05/0.003718, allocations: 23.69 kB / 0.7786 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.225e-05/0.00375, allocations: 4 kB / 0.7786 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.084e-05/0.003791, allocations: 12.97 kB / 0.7786 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.564e-05/0.003827, allocations: 17.45 kB / 0.7786 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.003838, allocations: 0 / 0.7786 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005038/0.004341, allocations: 483.6 kB / 0.7791 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.799e-05/0.004379, allocations: 23.92 kB / 0.7791 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.298e-05/0.004392, allocations: 4 kB / 0.7791 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002984/0.004691, allocations: 355 kB / 0.7794 GB, free: 1.93 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.145e-06/0.004693, allocations: 0 / 0.7794 GB, free: 1.93 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.71e-07/0.004694, allocations: 0 / 0.7794 GB, free: 1.93 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.004697, allocations: 1.719 kB / 0.7794 GB, free: 1.93 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.0002364/0.004933, allocations: 308.2 kB / 0.7797 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.004965, allocations: 13.28 kB / 0.7797 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.97e-05/0.004985, allocations: 8.922 kB / 0.7797 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.989e-05/0.005075, allocations: 118.5 kB / 0.7799 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.831e-06/0.005081, allocations: 1.438 kB / 0.7799 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.193e-06/0.005088, allocations: 384 / 0.7799 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.811e-05/0.005136, allocations: 37.64 kB / 0.7799 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.728e-06/0.005141, allocations: 192 / 0.7799 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.637e-06/0.005144, allocations: 3.969 kB / 0.7799 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.005148, allocations: 3.938 kB / 0.7799 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.915e-06/0.005156, allocations: 11.92 kB / 0.7799 GB, free: 1.387 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.235e-05/0.005219, allocations: 70.66 kB / 0.78 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 2.136e-05/0.00524, allocations: 18.61 kB / 0.78 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.897e-06/0.005249, allocations: 8.859 kB / 0.78 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.005277, allocations: 4 kB / 0.78 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.005296, allocations: 30.56 kB / 0.78 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 5.31e-07/0.005296, allocations: 0 / 0.78 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 8.087e-05/0.005377, allocations: 44.44 kB / 0.7801 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.005404, allocations: 55.34 kB / 0.7801 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.81e-05/0.005482, allocations: 152.2 kB / 0.7803 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.096e-06/0.005491, allocations: 25.7 kB / 0.7803 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.946e-05/0.00552, allocations: 100.1 kB / 0.7804 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.204e-06/0.005527, allocations: 0 / 0.7804 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-05/0.005555, allocations: 31.08 kB / 0.7804 GB, free: 0.7773 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.087e-05/0.005636, allocations: 326.8 kB / 0.7807 GB, free: 460 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.302e-05/0.005649, allocations: 6.828 kB / 0.7807 GB, free: 452 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.436e-06/0.005658, allocations: 8 kB / 0.7808 GB, free: 444 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.132e-05/0.005689, allocations: 40.58 kB / 0.7808 GB, free: 400 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.005691, allocations: 0 / 0.7808 GB, free: 400 kB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 5.726e-05/0.005748, allocations: 62.59 kB / 0.7809 GB, free: 332 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.005759, allocations: 4 kB / 0.7809 GB, free: 328 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.00577, allocations: 4 kB / 0.7809 GB, free: 324 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.055e-06/0.005778, allocations: 0.5312 kB / 0.7809 GB, free: 324 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.606e-06/0.005786, allocations: 0.9375 kB / 0.7809 GB, free: 324 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-06/0.005789, allocations: 0 / 0.7809 GB, free: 324 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.473e-05/0.005803, allocations: 11.83 kB / 0.7809 GB, free: 312 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.279e-06/0.005809, allocations: 4.875 kB / 0.7809 GB, free: 308 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: 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.061e-05/0.005869, allocations: 122.1 kB / 0.781 GB, free: 176 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.499e-06/0.005874, allocations: 0 / 0.781 GB, free: 176 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.839e-05/0.005932, allocations: 45.5 kB / 0.781 GB, free: 128 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.005934, allocations: 0.6562 kB / 0.781 GB, free: 128 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.005935, allocations: 0 / 0.781 GB, free: 128 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.005937, allocations: 0.6875 kB / 0.781 GB, free: 128 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.078e-05/0.005988, allocations: 77.81 kB / 0.7811 GB, free: 32 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.005989, allocations: 1.188 kB / 0.7811 GB, free: 32 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.325e-06/0.005991, allocations: 3.938 kB / 0.7811 GB, free: 28 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.21e-07/0.005992, allocations: 0 / 0.7811 GB, free: 28 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.737e-06/0.005995, allocations: 4.5 kB / 0.7811 GB, free: 24 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.005996, allocations: 0.875 kB / 0.7811 GB, free: 24 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.005997, allocations: 0 / 0.7811 GB, free: 24 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.385e-05/0.00605, allocations: 71.59 kB / 0.7812 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.805e-06/0.006058, allocations: 7.891 kB / 0.7812 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.434e-06/0.006066, allocations: 4.562 kB / 0.7812 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.041e-06/0.006072, allocations: 0 / 0.7812 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.995e-06/0.00608, allocations: 1.812 kB / 0.7812 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-06/0.006081, allocations: 0 / 0.7812 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.466e-05/0.006106, allocations: 36.27 kB / 0.7812 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006106, allocations: 0 / 0.7812 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001812/0.006287, allocations: 87.8 kB / 0.7813 GB, free: 15.8 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.0004041/0.006691, allocations: 276.1 kB / 0.7816 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.984e-05/0.006781, allocations: 59.42 kB / 0.7816 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.006784, allocations: 4 kB / 0.7816 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.601e-06/0.00679, allocations: 5.797 kB / 0.7817 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.418e-05/0.006844, allocations: 15.88 kB / 0.7817 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001695/0.007013, allocations: 151.3 kB / 0.7818 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.521e-05/0.007039, allocations: 63.34 kB / 0.7819 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.395e-05/0.007052, allocations: 1.656 kB / 0.7819 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.868e-05/0.007081, allocations: 51.38 kB / 0.7819 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of SimCode: time 6.51e-07/0.007082, allocations: 0 / 0.7819 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of Templates: time 0.004155/0.01124, allocations: 2.587 MB / 0.7845 GB, free: 12.71 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.8417261485010386]