Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0007019/0.0007019, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009231/0.001625, allocations: 447.8 kB / 10.34 MB, free: 352 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.0007235/0.0007235, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009203/0.001644, allocations: 463.6 kB / 11.69 MB, free: 2.48 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.045/1.045, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08095/1.126, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6777/0.6777, allocations: 119.1 MB / 363.1 MB, free: 3.715 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07515/0.7529, allocations: 37.87 MB / 400.9 MB, free: 13.73 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d") translateModel(IBPSA.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 402.2 MB, free: 12.46 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.713e-05/2.907e-05, allocations: 6.25 kB / 402.2 MB, free: 12.45 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Clustering.Validation.KMeans_2d): time 0.001991/0.00202, allocations: 0.5558 MB / 402.8 MB, free: 11.89 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002415/0.004435, allocations: 1.665 MB / 404.4 MB, free: 10.21 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.513e-05/0.00448, allocations: 0 / 404.4 MB, free: 10.21 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001626/0.004643, allocations: 71.83 kB / 404.5 MB, free: 10.14 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 4.504e-05/0.004688, allocations: 35.94 kB / 404.5 MB, free: 10.1 MB / 394.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.0009803/0.005668, allocations: 254.9 kB / 404.8 MB, free: 9.852 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.005775, allocations: 31.91 kB / 404.8 MB, free: 9.82 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.41e-05/0.005819, allocations: 11.97 kB / 404.8 MB, free: 9.809 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.448e-05/0.005903, allocations: 27.91 kB / 404.8 MB, free: 9.781 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.893e-05/0.005972, allocations: 31.97 kB / 404.9 MB, free: 9.75 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.005989, allocations: 4 kB / 404.9 MB, free: 9.746 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/0.007003, allocations: 467.1 kB / 405.3 MB, free: 9.289 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.906e-05/0.007072, allocations: 27.88 kB / 405.4 MB, free: 9.262 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.544e-05/0.007097, allocations: 7.938 kB / 405.4 MB, free: 9.254 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005757/0.007673, allocations: 299.2 kB / 405.7 MB, free: 8.961 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.648e-05/0.00769, allocations: 0 / 405.7 MB, free: 8.961 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.007691, allocations: 0 / 405.7 MB, free: 8.961 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.067e-05/0.007712, allocations: 4 kB / 405.7 MB, free: 8.957 MB / 394.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.0005931/0.008305, allocations: 371.6 kB / 406 MB, free: 8.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.008343, allocations: 12.03 kB / 406 MB, free: 8.559 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/0.008379, allocations: 4.938 kB / 406.1 MB, free: 8.555 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.008585, allocations: 133.6 kB / 406.2 MB, free: 8.398 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.008597, allocations: 4.375 kB / 406.2 MB, free: 8.395 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.726e-06/0.008606, allocations: 384 / 406.2 MB, free: 8.395 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.647e-05/0.008682, allocations: 33.09 kB / 406.2 MB, free: 8.355 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.008689, allocations: 192 / 406.2 MB, free: 8.355 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.008698, allocations: 4.375 kB / 406.2 MB, free: 8.352 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.008704, allocations: 7.875 kB / 406.2 MB, free: 8.344 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.536e-05/0.00872, allocations: 7.938 kB / 406.2 MB, free: 8.336 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001123/0.008832, allocations: 74.66 kB / 406.3 MB, free: 8.246 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.111e-05/0.008873, allocations: 18.56 kB / 406.3 MB, free: 8.219 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.289e-05/0.008886, allocations: 8.953 kB / 406.3 MB, free: 8.207 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.912e-05/0.008935, allocations: 4 kB / 406.3 MB, free: 8.203 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.008961, allocations: 30.56 kB / 406.4 MB, free: 8.164 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.143e-06/0.008962, allocations: 0 / 406.4 MB, free: 8.164 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001053/0.009068, allocations: 41.62 kB / 406.4 MB, free: 8.117 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.009104, allocations: 51.41 kB / 406.5 MB, free: 8.055 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.009252, allocations: 182.5 kB / 406.6 MB, free: 7.863 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.009264, allocations: 29.7 kB / 406.7 MB, free: 7.828 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.009309, allocations: 100.1 kB / 406.8 MB, free: 7.727 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.333e-05/0.009323, allocations: 3.953 kB / 406.8 MB, free: 7.723 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.887e-05/0.009372, allocations: 25.69 kB / 406.8 MB, free: 7.691 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.009547, allocations: 330.7 kB / 407.1 MB, free: 7.359 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.286e-05/0.00958, allocations: 18.83 kB / 407.1 MB, free: 7.34 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.606e-05/0.009596, allocations: 8 kB / 407.1 MB, free: 7.332 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.86e-05/0.009655, allocations: 47.62 kB / 407.2 MB, free: 7.281 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.009657, allocations: 0 / 407.2 MB, free: 7.281 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001093/0.009766, allocations: 73.56 kB / 407.3 MB, free: 7.203 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.009783, allocations: 12.06 kB / 407.3 MB, free: 7.191 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.009799, allocations: 0 / 407.3 MB, free: 7.191 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.009809, allocations: 0 / 407.3 MB, free: 7.191 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.006e-05/0.009829, allocations: 0 / 407.3 MB, free: 7.191 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.009832, allocations: 0 / 407.3 MB, free: 7.191 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.079e-05/0.009863, allocations: 11.89 kB / 407.3 MB, free: 7.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.009874, allocations: 3.984 kB / 407.3 MB, free: 7.176 MB / 394.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: 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 9.402e-05/0.009968, allocations: 116.7 kB / 407.4 MB, free: 7.051 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.009981, allocations: 4 kB / 407.4 MB, free: 7.047 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.01009, allocations: 46.12 kB / 407.5 MB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.01009, allocations: 0 / 407.5 MB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.01009, allocations: 4 kB / 407.5 MB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.0101, allocations: 0 / 407.5 MB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.825e-05/0.01019, allocations: 81.81 kB / 407.5 MB, free: 6.895 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.01019, allocations: 0 / 407.5 MB, free: 6.895 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.167e-06/0.0102, allocations: 7.922 kB / 407.5 MB, free: 6.887 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.655e-05/0.01021, allocations: 15.91 kB / 407.6 MB, free: 6.871 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.01022, allocations: 0 / 407.6 MB, free: 6.871 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-06/0.01022, allocations: 4 kB / 407.6 MB, free: 6.867 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.01022, allocations: 4 kB / 407.6 MB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.01023, allocations: 4.031 kB / 407.6 MB, free: 6.859 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.946e-05/0.01031, allocations: 66.72 kB / 407.6 MB, free: 6.773 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.01032, allocations: 0 / 407.6 MB, free: 6.773 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.365e-05/0.01033, allocations: 4 kB / 407.6 MB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.2e-05/0.01034, allocations: 0 / 407.6 MB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.01035, allocations: 0 / 407.6 MB, free: 6.77 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.962e-05/0.0104, allocations: 56.59 kB / 407.7 MB, free: 6.711 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0104, allocations: 0 / 407.7 MB, free: 6.711 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003429/0.01075, allocations: 87.8 kB / 407.8 MB, free: 6.625 MB / 394.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.0006819/0.01143, allocations: 279.4 kB / 408.1 MB, free: 6.344 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001394/0.01157, allocations: 66.47 kB / 408.1 MB, free: 6.27 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/0.01158, allocations: 7.984 kB / 408.1 MB, free: 6.262 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.175e-05/0.01159, allocations: 8.859 kB / 408.1 MB, free: 6.25 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.381e-05/0.01168, allocations: 16.06 kB / 408.2 MB, free: 6.234 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003136/0.012, allocations: 190.9 kB / 408.3 MB, free: 6.02 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.871e-05/0.01204, allocations: 63.34 kB / 408.4 MB, free: 5.938 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.702e-05/0.01207, allocations: 4 kB / 408.4 MB, free: 5.934 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.149e-05/0.01211, allocations: 47.38 kB / 408.5 MB, free: 5.887 MB / 394.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01211, allocations: 7.875 kB / 408.5 MB, free: 5.879 MB / 394.7 MB Notification: Performance of Templates: time 0.005519/0.01763, allocations: 2.604 MB / 411.1 MB, free: 3.273 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d.sim & ./IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.276073115877807]