Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001616/0.001616, allocations: 92.72 kB / 20.21 MB, free: 4.227 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.00176/0.00176, allocations: 157.6 kB / 23.52 MB, free: 0.9219 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 1.515/1.515, allocations: 177.2 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9666/0.9666, allocations: 115 MB / 375.3 MB, free: 7.559 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Utilities.Clustering.Validation.KMeans_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d") translateModel(IBPSA.Utilities.Clustering.Validation.KMeans_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 480.7 MB, free: 11.91 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.647e-05/2.793e-05, allocations: 5.5 kB / 480.7 MB, free: 11.9 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Clustering.Validation.KMeans_1d): time 0.001376/0.001404, allocations: 0.5213 MB / 481.3 MB, free: 11.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002053/0.003456, allocations: 1.615 MB / 482.9 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.098e-05/0.003487, allocations: 0 / 482.9 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001564/0.003644, allocations: 20.55 kB / 482.9 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.235e-05/0.003666, allocations: 7.859 kB / 482.9 MB, free: 10.5 MB / 410.7 MB [/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.0008954/0.004562, allocations: 284 kB / 483.2 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.715e-05/0.004629, allocations: 24.22 kB / 483.2 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.753e-05/0.004666, allocations: 6.547 kB / 483.2 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.449e-05/0.004711, allocations: 10.17 kB / 483.2 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.478e-05/0.004756, allocations: 20.22 kB / 483.2 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.004772, allocations: 4.609 kB / 483.2 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006382/0.00541, allocations: 445 kB / 483.7 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.648e-05/0.005467, allocations: 21.28 kB / 483.7 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.982e-05/0.005496, allocations: 13.42 kB / 483.7 MB, free: 10.24 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004339/0.00593, allocations: 346 kB / 484 MB, free: 10.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.005933, allocations: 1.719 kB / 484 MB, free: 10.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.005935, allocations: 0 / 484 MB, free: 10.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.005939, allocations: 0.8438 kB / 484 MB, free: 10.14 MB / 410.7 MB 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.0003971/0.006336, allocations: 341.3 kB / 484.4 MB, free: 9.816 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.006376, allocations: 9.688 kB / 484.4 MB, free: 9.816 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.829e-05/0.006424, allocations: 7.547 kB / 484.4 MB, free: 9.812 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.006556, allocations: 130.8 kB / 484.5 MB, free: 9.672 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.006567, allocations: 384 / 484.5 MB, free: 9.672 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.006579, allocations: 10.8 kB / 484.5 MB, free: 9.664 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.557e-05/0.006675, allocations: 33.95 kB / 484.6 MB, free: 9.633 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.006683, allocations: 192 / 484.6 MB, free: 9.633 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.006692, allocations: 2.438 kB / 484.6 MB, free: 9.633 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.006698, allocations: 3.938 kB / 484.6 MB, free: 9.629 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.35e-05/0.006732, allocations: 16.8 kB / 484.6 MB, free: 9.629 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001308/0.006862, allocations: 122.3 kB / 484.7 MB, free: 9.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.533e-05/0.006908, allocations: 29.47 kB / 484.7 MB, free: 9.473 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.251e-05/0.00693, allocations: 12.8 kB / 484.8 MB, free: 9.465 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.62e-05/0.006976, allocations: 8.203 kB / 484.8 MB, free: 9.465 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.006998, allocations: 31.84 kB / 484.8 MB, free: 9.426 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.006999, allocations: 0 / 484.8 MB, free: 9.426 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001835/0.007182, allocations: 67.84 kB / 484.9 MB, free: 9.383 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.007209, allocations: 56.47 kB / 484.9 MB, free: 9.316 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.007353, allocations: 178.5 kB / 485.1 MB, free: 9.191 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.007363, allocations: 28.64 kB / 485.1 MB, free: 9.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.803e-05/0.007401, allocations: 94.92 kB / 485.2 MB, free: 9.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.018e-05/0.007411, allocations: 1.094 kB / 485.2 MB, free: 9.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/0.007446, allocations: 25.25 kB / 485.2 MB, free: 9.051 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.833e-05/0.007504, allocations: 321.5 kB / 485.5 MB, free: 8.734 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.603e-05/0.00756, allocations: 37.58 kB / 485.6 MB, free: 8.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.476e-05/0.007605, allocations: 43.53 kB / 485.6 MB, free: 8.719 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.762e-05/0.007692, allocations: 69.5 kB / 485.7 MB, free: 8.699 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.007694, allocations: 0 / 485.7 MB, free: 8.699 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001435/0.007838, allocations: 138.6 kB / 485.8 MB, free: 8.641 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.007851, allocations: 4.625 kB / 485.8 MB, free: 8.641 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.007865, allocations: 5.75 kB / 485.8 MB, free: 8.637 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.007884, allocations: 2.875 kB / 485.8 MB, free: 8.637 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.297e-05/0.007897, allocations: 0 / 485.8 MB, free: 8.637 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.007902, allocations: 5.125 kB / 485.9 MB, free: 8.633 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.442e-05/0.007927, allocations: 6.172 kB / 485.9 MB, free: 8.629 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.007937, allocations: 1.094 kB / 485.9 MB, free: 8.629 MB / 410.7 MB 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.0001251/0.008062, allocations: 122.4 kB / 486 MB, free: 8.516 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/0.008075, allocations: 10.2 kB / 486 MB, free: 8.512 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/0.008183, allocations: 57.64 kB / 486 MB, free: 8.473 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.008184, allocations: 0 / 486 MB, free: 8.473 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.008189, allocations: 5.094 kB / 486 MB, free: 8.469 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.008192, allocations: 1.469 kB / 486 MB, free: 8.469 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.105e-05/0.008263, allocations: 120.8 kB / 486.2 MB, free: 8.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.008263, allocations: 7.281 kB / 486.2 MB, free: 8.336 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.767e-06/0.008267, allocations: 1.375 kB / 486.2 MB, free: 8.336 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.008268, allocations: 0 / 486.2 MB, free: 8.336 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.008275, allocations: 1.062 kB / 486.2 MB, free: 8.336 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.008276, allocations: 0 / 486.2 MB, free: 8.336 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.008277, allocations: 0 / 486.2 MB, free: 8.336 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.168e-05/0.008348, allocations: 81.53 kB / 486.3 MB, free: 8.266 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.156e-05/0.00836, allocations: 10.36 kB / 486.3 MB, free: 8.258 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.008372, allocations: 1.438 kB / 486.3 MB, free: 8.258 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.188e-05/0.008384, allocations: 0.8438 kB / 486.3 MB, free: 8.258 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.361e-05/0.008398, allocations: 0 / 486.3 MB, free: 8.258 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.008402, allocations: 10.81 kB / 486.3 MB, free: 8.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003039/0.008705, allocations: 123.4 kB / 486.4 MB, free: 24.17 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008705, allocations: 0 / 486.4 MB, free: 24.17 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003826/0.009088, allocations: 93.2 kB / 486.5 MB, free: 24.15 MB / 426.7 MB 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.0006172/0.009705, allocations: 268.4 kB / 486.8 MB, free: 24.02 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000176/0.009881, allocations: 90.94 kB / 486.8 MB, free: 23.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.009884, allocations: 3.344 kB / 486.8 MB, free: 23.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.677e-05/0.009901, allocations: 13.17 kB / 486.9 MB, free: 23.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/0.01006, allocations: 0 / 486.9 MB, free: 23.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000269/0.01033, allocations: 166.2 kB / 487 MB, free: 23.85 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.652e-05/0.01038, allocations: 80.39 kB / 487.1 MB, free: 23.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.037e-05/0.0104, allocations: 2 kB / 487.1 MB, free: 23.77 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.169e-05/0.01043, allocations: 11.12 kB / 487.1 MB, free: 23.77 MB / 426.7 MB Notification: Performance of SimCode: time 3.71e-07/0.01043, allocations: 0 / 487.1 MB, free: 23.77 MB / 426.7 MB Notification: Performance of Templates: time 0.005938/0.01636, allocations: 2.208 MB / 489.3 MB, free: 23.67 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.sim & ./IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.497620442067273]