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.001812/0.001812, 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.001978/0.001978, 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.629/1.629, allocations: 230.6 MB / 256.8 MB, free: 9.582 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.39/3.39, allocations: 0.5045 GB / 0.8104 GB, free: 2.773 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_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 0.003498/0.003498, allocations: 75.89 kB / 1.177 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7525/0.756, allocations: 180 MB / 1.353 GB, free: 1.629 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Clustering.Validation.KMeans_2d): time 0.00171/0.7577, allocations: 0.5233 MB / 1.353 GB, free: 1.105 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.002687/0.7604, allocations: 1.612 MB / 1.355 GB, free: 15.48 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.627e-05/0.7605, allocations: 0 / 1.355 GB, free: 15.48 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001931/0.7607, allocations: 67.83 kB / 1.355 GB, free: 15.41 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 4.298e-05/0.7607, allocations: 27.95 kB / 1.355 GB, free: 15.38 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.0009882/0.7617, allocations: 276.6 kB / 1.355 GB, free: 15.11 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 8.073e-05/0.7618, allocations: 35.89 kB / 1.355 GB, free: 15.08 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.633e-05/0.7618, allocations: 4 kB / 1.355 GB, free: 15.07 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.085e-05/0.7618, allocations: 23.91 kB / 1.355 GB, free: 15.05 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.477e-05/0.7619, allocations: 47.88 kB / 1.355 GB, free: 15 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.7619, allocations: 4 kB / 1.355 GB, free: 15 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008399/0.7628, allocations: 451.2 kB / 1.356 GB, free: 14.56 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 6.108e-05/0.7629, allocations: 27.92 kB / 1.356 GB, free: 14.53 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 4.725e-05/0.7629, allocations: 19.8 kB / 1.356 GB, free: 14.51 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005012/0.7634, allocations: 313.8 kB / 1.356 GB, free: 14.21 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.7634, allocations: 4 kB / 1.356 GB, free: 14.2 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7634, allocations: 0 / 1.356 GB, free: 14.2 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.7634, allocations: 0 / 1.356 GB, free: 14.2 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.0005064/0.7639, allocations: 357.4 kB / 1.357 GB, free: 13.82 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.764, allocations: 12.92 kB / 1.357 GB, free: 13.81 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.491e-05/0.764, allocations: 8.891 kB / 1.357 GB, free: 13.8 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.7642, allocations: 139.2 kB / 1.357 GB, free: 13.64 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.163e-06/0.7642, allocations: 4.359 kB / 1.357 GB, free: 13.64 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.7642, allocations: 384 / 1.357 GB, free: 13.64 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.7643, allocations: 45.94 kB / 1.357 GB, free: 13.59 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.7643, allocations: 0 / 1.357 GB, free: 13.59 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.7643, allocations: 4 kB / 1.357 GB, free: 13.59 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.7643, allocations: 4 kB / 1.357 GB, free: 13.58 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.522e-05/0.7644, allocations: 15.98 kB / 1.357 GB, free: 13.57 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001814/0.7645, allocations: 137.3 kB / 1.357 GB, free: 13.4 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.872e-05/0.7646, allocations: 26.58 kB / 1.357 GB, free: 13.37 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.395e-05/0.7646, allocations: 20.84 kB / 1.357 GB, free: 13.34 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.514e-05/0.7647, allocations: 8 kB / 1.357 GB, free: 13.34 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.7647, allocations: 30.56 kB / 1.357 GB, free: 13.3 MB / 1.042 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.7647, allocations: 0 / 1.357 GB, free: 13.3 MB / 1.042 GB Notification: Performance of matching and sorting (n=1): time 0.0001731/0.7649, allocations: 69.56 kB / 1.357 GB, free: 13.22 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000261/0.7651, allocations: 59.34 kB / 1.357 GB, free: 13.15 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.7654, allocations: 215.3 kB / 1.357 GB, free: 12.93 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.7654, allocations: 29.7 kB / 1.357 GB, free: 12.9 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 8.222e-05/0.7655, allocations: 112.1 kB / 1.357 GB, free: 12.79 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.146e-05/0.7655, allocations: 4 kB / 1.357 GB, free: 12.78 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-05/0.7655, allocations: 29.7 kB / 1.357 GB, free: 12.75 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.7657, allocations: 322.8 kB / 1.358 GB, free: 12.42 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.006e-05/0.7658, allocations: 59.91 kB / 1.358 GB, free: 12.36 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.789e-05/0.7659, allocations: 55.98 kB / 1.358 GB, free: 12.31 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.766, allocations: 91.44 kB / 1.358 GB, free: 12.22 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.766, allocations: 0 / 1.358 GB, free: 12.22 MB / 1.042 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002099/0.7662, allocations: 161.6 kB / 1.358 GB, free: 12.05 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.7662, allocations: 4 kB / 1.358 GB, free: 12.05 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.971e-05/0.7662, allocations: 8 kB / 1.358 GB, free: 12.04 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.7662, allocations: 4 kB / 1.358 GB, free: 12.04 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.296e-05/0.7663, allocations: 0 / 1.358 GB, free: 12.04 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.7663, allocations: 4 kB / 1.358 GB, free: 12.04 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.496e-05/0.7663, allocations: 19.81 kB / 1.358 GB, free: 12.02 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.7663, allocations: 0 / 1.358 GB, free: 12.02 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: 10 (cluster_size[3],cluster_size[2],cluster_size[1],labels[6],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.0001345/0.7664, allocations: 130.3 kB / 1.358 GB, free: 11.88 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.705e-05/0.7665, allocations: 11.91 kB / 1.358 GB, free: 11.87 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.7666, allocations: 70.11 kB / 1.358 GB, free: 11.79 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.7666, allocations: 4.031 kB / 1.358 GB, free: 11.79 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.7666, allocations: 0 / 1.358 GB, free: 11.79 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.7666, allocations: 0 / 1.358 GB, free: 11.79 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.7667, allocations: 133.3 kB / 1.358 GB, free: 11.63 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.7667, allocations: 0 / 1.358 GB, free: 11.63 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.189e-06/0.7668, allocations: 0 / 1.358 GB, free: 11.63 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.7668, allocations: 4 kB / 1.358 GB, free: 11.62 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-06/0.7668, allocations: 0 / 1.358 GB, free: 11.62 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.7668, allocations: 3.938 kB / 1.358 GB, free: 11.62 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.7668, allocations: 0 / 1.358 GB, free: 11.62 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.7669, allocations: 89 kB / 1.359 GB, free: 11.52 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.834e-05/0.7669, allocations: 15.94 kB / 1.359 GB, free: 11.5 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.7669, allocations: 0 / 1.359 GB, free: 11.5 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.535e-05/0.7669, allocations: 3.938 kB / 1.359 GB, free: 11.5 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.529e-05/0.7669, allocations: 0 / 1.359 GB, free: 11.5 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-06/0.7669, allocations: 4 kB / 1.359 GB, free: 11.49 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0001424/0.7671, allocations: 144.4 kB / 1.359 GB, free: 11.35 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.7671, allocations: 0 / 1.359 GB, free: 11.35 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0003596/0.7674, allocations: 91.8 kB / 1.359 GB, free: 11.26 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.0006857/0.7681, allocations: 243.3 kB / 1.359 GB, free: 11.04 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001958/0.7683, allocations: 117.7 kB / 1.359 GB, free: 10.92 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.7683, allocations: 3.938 kB / 1.359 GB, free: 10.91 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 1.73e-05/0.7683, allocations: 8 kB / 1.359 GB, free: 10.91 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001443/0.7685, allocations: 11.75 kB / 1.359 GB, free: 10.89 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000372/0.7689, allocations: 209.8 kB / 1.359 GB, free: 10.66 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.974e-05/0.769, allocations: 96.17 kB / 1.359 GB, free: 10.55 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 1.646e-05/0.769, allocations: 0 / 1.359 GB, free: 10.55 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.275e-05/0.769, allocations: 15.42 kB / 1.36 GB, free: 10.54 MB / 1.042 GB Notification: Performance of SimCode: time 3.2e-07/0.769, allocations: 0 / 1.36 GB, free: 10.54 MB / 1.042 GB Notification: Performance of Templates: time 0.006107/0.7751, allocations: 2.243 MB / 1.362 GB, free: 8.297 MB / 1.042 GB " [Timeout remaining time 299] 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: 9.995326074771583]