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.001087/0.001087, allocations: 72.83 kB / 20.72 MB, free: 3.77 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.00115/0.00115, allocations: 169 kB / 24.14 MB, free: 360 kB / 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.06/1.06, allocations: 177.2 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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.7167/0.7167, allocations: 115 MB / 376 MB, free: 7.488 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_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.323e-06/1.323e-06, allocations: 0 / 428.7 MB, free: 2.801 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.062e-05/2.194e-05, allocations: 2.312 kB / 428.7 MB, free: 2.797 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Clustering.Validation.KMeans_2d): time 0.00149/0.001512, allocations: 0.5793 MB / 429.3 MB, free: 2.219 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.007276/0.008788, allocations: 1.665 MB / 431 MB, free: 0.5352 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.9e-05/0.008837, allocations: 3.938 kB / 431 MB, free: 0.5312 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002065/0.009044, allocations: 63.84 kB / 431 MB, free: 480 kB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 3.884e-05/0.009083, allocations: 31.89 kB / 431.1 MB, free: 448 kB / 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.003924/0.01301, allocations: 255 kB / 431.3 MB, free: 192 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 8.973e-05/0.0131, allocations: 27.91 kB / 431.3 MB, free: 164 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.775e-05/0.01313, allocations: 7.984 kB / 431.3 MB, free: 156 kB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.183e-05/0.01319, allocations: 23.91 kB / 431.4 MB, free: 132 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.601e-05/0.01324, allocations: 35.95 kB / 431.4 MB, free: 96 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.01325, allocations: 0 / 431.4 MB, free: 96 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008213/0.01408, allocations: 483 kB / 431.9 MB, free: 15.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.395e-05/0.01414, allocations: 31.92 kB / 431.9 MB, free: 15.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.565e-05/0.01417, allocations: 11.94 kB / 431.9 MB, free: 15.58 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005158/0.01468, allocations: 363 kB / 432.3 MB, free: 15.22 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.01468, allocations: 0 / 432.3 MB, free: 15.22 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.01469, allocations: 0 / 432.3 MB, free: 15.22 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.01469, allocations: 0 / 432.3 MB, free: 15.22 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.0004515/0.01514, allocations: 331.9 kB / 432.6 MB, free: 14.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.01519, allocations: 8.031 kB / 432.6 MB, free: 14.87 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.636e-05/0.01522, allocations: 8.938 kB / 432.6 MB, free: 14.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.01539, allocations: 137.5 kB / 432.7 MB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.0154, allocations: 8.375 kB / 432.8 MB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.344e-06/0.01541, allocations: 384 / 432.8 MB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.439e-05/0.01548, allocations: 29.09 kB / 432.8 MB, free: 14.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.01549, allocations: 192 / 432.8 MB, free: 14.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-06/0.0155, allocations: 384 / 432.8 MB, free: 14.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.01551, allocations: 11.88 kB / 432.8 MB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.015e-05/0.01552, allocations: 3.984 kB / 432.8 MB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003131/0.01865, allocations: 74.66 kB / 432.9 MB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.049e-05/0.01869, allocations: 22.52 kB / 432.9 MB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.452e-05/0.0187, allocations: 12.94 kB / 432.9 MB, free: 14.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.043e-05/0.01874, allocations: 11.91 kB / 432.9 MB, free: 14.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.01877, allocations: 34.56 kB / 433 MB, free: 14.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.01877, allocations: 0 / 433 MB, free: 14.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 9.686e-05/0.01887, allocations: 37.69 kB / 433 MB, free: 14.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.01889, allocations: 51.41 kB / 433 MB, free: 14.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.01902, allocations: 178.5 kB / 433.2 MB, free: 14.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.01903, allocations: 25.7 kB / 433.2 MB, free: 14.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.738e-05/0.01907, allocations: 100.1 kB / 433.3 MB, free: 14.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.303e-05/0.01908, allocations: 7.953 kB / 433.3 MB, free: 14.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.01912, allocations: 25.81 kB / 433.4 MB, free: 13.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.746e-05/0.0192, allocations: 334.7 kB / 433.7 MB, free: 13.65 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.147e-05/0.01923, allocations: 14.83 kB / 433.7 MB, free: 13.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.565e-05/0.01924, allocations: 11.98 kB / 433.7 MB, free: 13.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.493e-05/0.01929, allocations: 43.56 kB / 433.8 MB, free: 13.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.01929, allocations: 0 / 433.8 MB, free: 13.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 8.21e-05/0.01937, allocations: 69.62 kB / 433.8 MB, free: 13.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.01938, allocations: 4 kB / 433.8 MB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.01939, allocations: 7.938 kB / 433.8 MB, free: 13.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.01941, allocations: 0 / 433.8 MB, free: 13.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.183e-05/0.01942, allocations: 3.984 kB / 433.8 MB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-06/0.01942, allocations: 4.062 kB / 433.9 MB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.44e-05/0.01944, allocations: 11.89 kB / 433.9 MB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.01945, allocations: 0 / 433.9 MB, free: 13.47 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: 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 7.912e-05/0.01953, allocations: 112.7 kB / 434 MB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.935e-06/0.01954, allocations: 4 kB / 434 MB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.656e-05/0.01961, allocations: 42.19 kB / 434 MB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.01962, allocations: 0 / 434 MB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.01962, allocations: 4 kB / 434 MB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.01962, allocations: 3.984 kB / 434 MB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.544e-05/0.0197, allocations: 85.84 kB / 434.1 MB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.0197, allocations: 0 / 434.1 MB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.146e-06/0.0197, allocations: 3.938 kB / 434.1 MB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.01971, allocations: 0 / 434.1 MB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.119e-06/0.01971, allocations: 4 kB / 434.1 MB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.01971, allocations: 3.938 kB / 434.1 MB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01971, allocations: 0 / 434.1 MB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.189e-05/0.01977, allocations: 66.72 kB / 434.2 MB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.414e-05/0.01978, allocations: 15.89 kB / 434.2 MB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.258e-06/0.01979, allocations: 0 / 434.2 MB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.425e-05/0.0198, allocations: 8.031 kB / 434.2 MB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.628e-06/0.01981, allocations: 0 / 434.2 MB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-06/0.01982, allocations: 0 / 434.2 MB, free: 13.06 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.931e-05/0.01986, allocations: 57.7 kB / 434.3 MB, free: 13 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01986, allocations: 0 / 434.3 MB, free: 13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003103/0.02018, allocations: 87.8 kB / 434.4 MB, free: 12.92 MB / 410.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.0004844/0.02066, allocations: 258.5 kB / 434.6 MB, free: 12.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001059/0.02077, allocations: 70.45 kB / 434.7 MB, free: 12.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.02077, allocations: 4 kB / 434.7 MB, free: 12.58 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.262e-06/0.02078, allocations: 4.859 kB / 434.7 MB, free: 12.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.059e-05/0.02085, allocations: 7.938 kB / 434.7 MB, free: 12.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005157/0.02136, allocations: 182.9 kB / 434.9 MB, free: 12.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.317e-05/0.02142, allocations: 67.33 kB / 434.9 MB, free: 12.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.735e-05/0.02143, allocations: 4.125 kB / 434.9 MB, free: 12.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.666e-05/0.02147, allocations: 51.38 kB / 435 MB, free: 12.22 MB / 410.7 MB Notification: Performance of SimCode: time 6.81e-07/0.02147, allocations: 3.938 kB / 435 MB, free: 12.21 MB / 410.7 MB Notification: Performance of Templates: time 0.004654/0.02613, allocations: 2.596 MB / 437.6 MB, free: 9.613 MB / 410.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.827918780967593]