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.002703/0.002703, allocations: 104.3 kB / 19.72 MB, free: 416 kB / 13.93 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.00314/0.00314, allocations: 212.9 kB / 23.02 MB, free: 2.949 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 1.652/1.652, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 178] 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 3.268/3.268, allocations: 0.5045 GB / 0.8104 GB, free: 2.734 MB / 0.6511 GB " [Timeout remaining time 176] 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 0.007727/0.007727, allocations: 71.88 kB / 1.177 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8006/0.8083, allocations: 180 MB / 1.353 GB, free: 1.602 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Clustering.Validation.KMeans_1d): time 0.001674/0.81, allocations: 0.5155 MB / 1.353 GB, free: 1.086 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.002592/0.8126, allocations: 1.609 MB / 1.355 GB, free: 15.46 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.405e-05/0.8126, allocations: 0 / 1.355 GB, free: 15.46 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001361/0.8127, allocations: 27.91 kB / 1.355 GB, free: 15.43 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 2.523e-05/0.8127, allocations: 11.97 kB / 1.355 GB, free: 15.42 MB / 1.042 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.0009549/0.8137, allocations: 280.2 kB / 1.355 GB, free: 15.15 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 6.913e-05/0.8138, allocations: 27.91 kB / 1.355 GB, free: 15.12 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.751e-05/0.8138, allocations: 4 kB / 1.355 GB, free: 15.12 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.593e-05/0.8138, allocations: 19.92 kB / 1.355 GB, free: 15.1 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.283e-05/0.8139, allocations: 11.98 kB / 1.355 GB, free: 15.09 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.8139, allocations: 0 / 1.355 GB, free: 15.09 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008358/0.8147, allocations: 451.2 kB / 1.356 GB, free: 14.65 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 5.539e-05/0.8148, allocations: 19.92 kB / 1.356 GB, free: 14.63 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.474e-05/0.8148, allocations: 11.88 kB / 1.356 GB, free: 14.62 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005656/0.8154, allocations: 298 kB / 1.356 GB, free: 14.33 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.8154, allocations: 0 / 1.356 GB, free: 14.33 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.225e-06/0.8154, allocations: 8 kB / 1.356 GB, free: 14.32 MB / 1.042 GB Notification: Performance of Transformations before backend: time 1.561e-05/0.8154, allocations: 0 / 1.356 GB, free: 14.32 MB / 1.042 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.0004877/0.8159, allocations: 339.3 kB / 1.356 GB, free: 13.96 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.8159, allocations: 12.91 kB / 1.356 GB, free: 13.95 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.473e-05/0.816, allocations: 12.89 kB / 1.356 GB, free: 13.94 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.8161, allocations: 125.5 kB / 1.357 GB, free: 13.79 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.43e-06/0.8161, allocations: 384 / 1.357 GB, free: 13.79 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.8162, allocations: 384 / 1.357 GB, free: 13.79 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.8163, allocations: 45.94 kB / 1.357 GB, free: 13.74 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.8163, allocations: 0 / 1.357 GB, free: 13.74 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.8163, allocations: 0 / 1.357 GB, free: 13.74 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.8163, allocations: 8 kB / 1.357 GB, free: 13.73 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.538e-05/0.8163, allocations: 15.98 kB / 1.357 GB, free: 13.72 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001782/0.8165, allocations: 121.3 kB / 1.357 GB, free: 13.57 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.239e-05/0.8166, allocations: 30.56 kB / 1.357 GB, free: 13.53 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.323e-05/0.8166, allocations: 12.92 kB / 1.357 GB, free: 13.52 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.283e-05/0.8166, allocations: 4 kB / 1.357 GB, free: 13.51 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.8167, allocations: 34.5 kB / 1.357 GB, free: 13.47 MB / 1.042 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.8167, allocations: 0 / 1.357 GB, free: 13.47 MB / 1.042 GB Notification: Performance of matching and sorting (n=1): time 0.000166/0.8168, allocations: 69.56 kB / 1.357 GB, free: 13.39 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.8169, allocations: 59.47 kB / 1.357 GB, free: 13.32 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.8171, allocations: 170.2 kB / 1.357 GB, free: 13.15 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.8171, allocations: 25.7 kB / 1.357 GB, free: 13.12 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 6.779e-05/0.8171, allocations: 96.09 kB / 1.357 GB, free: 13.02 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.305e-05/0.8172, allocations: 4 kB / 1.357 GB, free: 13.02 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.376e-05/0.8172, allocations: 25.7 kB / 1.357 GB, free: 12.98 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001814/0.8174, allocations: 322.8 kB / 1.358 GB, free: 12.66 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.268e-05/0.8174, allocations: 39.98 kB / 1.358 GB, free: 12.62 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.965e-05/0.8175, allocations: 35.98 kB / 1.358 GB, free: 12.59 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.8176, allocations: 72.77 kB / 1.358 GB, free: 12.51 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.8176, allocations: 0 / 1.358 GB, free: 12.51 MB / 1.042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001719/0.8178, allocations: 129.6 kB / 1.358 GB, free: 12.38 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.8178, allocations: 7.984 kB / 1.358 GB, free: 12.37 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/0.8178, allocations: 7.938 kB / 1.358 GB, free: 12.36 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.8178, allocations: 0 / 1.358 GB, free: 12.36 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.245e-05/0.8178, allocations: 0 / 1.358 GB, free: 12.36 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.8178, allocations: 0 / 1.358 GB, free: 12.36 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.67e-05/0.8179, allocations: 7.891 kB / 1.358 GB, free: 12.36 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.8179, allocations: 4 kB / 1.358 GB, free: 12.35 MB / 1.042 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 (cluster_size[3],cluster_size[2],cluster_size[1],labels[5],labels[4],labels[3],labels[2],labels[1],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 0.0001288/0.818, allocations: 126.4 kB / 1.358 GB, free: 12.22 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.221e-05/0.818, allocations: 3.953 kB / 1.358 GB, free: 12.21 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/0.8181, allocations: 69.39 kB / 1.358 GB, free: 12.14 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.8182, allocations: 0 / 1.358 GB, free: 12.14 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.8182, allocations: 0 / 1.358 GB, free: 12.14 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.8182, allocations: 0 / 1.358 GB, free: 12.14 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.8183, allocations: 121.3 kB / 1.358 GB, free: 11.99 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.8183, allocations: 0 / 1.358 GB, free: 11.99 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.298e-06/0.8183, allocations: 0 / 1.358 GB, free: 11.99 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.8183, allocations: 0 / 1.358 GB, free: 11.99 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.8183, allocations: 3.984 kB / 1.358 GB, free: 11.99 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.8183, allocations: 7.875 kB / 1.358 GB, free: 11.98 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.8183, allocations: 8.016 kB / 1.358 GB, free: 11.97 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001029/0.8184, allocations: 89.02 kB / 1.358 GB, free: 11.87 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.212e-05/0.8184, allocations: 3.953 kB / 1.358 GB, free: 11.86 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.8184, allocations: 0 / 1.358 GB, free: 11.86 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.6e-05/0.8185, allocations: 7.938 kB / 1.358 GB, free: 11.86 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.529e-05/0.8185, allocations: 0 / 1.358 GB, free: 11.86 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.8185, allocations: 0 / 1.358 GB, free: 11.86 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0001104/0.8186, allocations: 130.1 kB / 1.358 GB, free: 11.73 MB / 1.042 GB Notification: Performance of sort global known variables: time 8e-08/0.8186, allocations: 0 / 1.358 GB, free: 11.73 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0003274/0.8189, allocations: 83.8 kB / 1.358 GB, free: 11.65 MB / 1.042 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.000645/0.8196, allocations: 235 kB / 1.359 GB, free: 11.44 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001795/0.8197, allocations: 93.66 kB / 1.359 GB, free: 11.34 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.8197, allocations: 0 / 1.359 GB, free: 11.34 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 1.962e-05/0.8198, allocations: 11.94 kB / 1.359 GB, free: 11.33 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.8199, allocations: 8.125 kB / 1.359 GB, free: 11.32 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000323/0.8202, allocations: 165.3 kB / 1.359 GB, free: 11.13 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.468e-05/0.8203, allocations: 79.08 kB / 1.359 GB, free: 11.04 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 2.305e-05/0.8203, allocations: 4 kB / 1.359 GB, free: 11.03 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.775e-05/0.8203, allocations: 7.438 kB / 1.359 GB, free: 11.02 MB / 1.042 GB Notification: Performance of SimCode: time 4e-07/0.8203, allocations: 0 / 1.359 GB, free: 11.02 MB / 1.042 GB Notification: Performance of Templates: time 0.006085/0.8264, allocations: 2.215 MB / 1.361 GB, free: 8.809 MB / 1.042 GB " [Timeout remaining time 299] 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: 9.835180812515318]