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.0008546/0.0008546, allocations: 77.09 kB / 20.65 MB, free: 3.844 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.0009206/0.0009206, allocations: 169 kB / 24.05 MB, free: 456 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 0.937/0.937, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.6078/0.6078, allocations: 115 MB / 376 MB, free: 7.52 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.062e-06/1.062e-06, allocations: 0 / 481.9 MB, free: 11.77 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.164e-05/2.27e-05, allocations: 2.312 kB / 481.9 MB, free: 11.77 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Clustering.Validation.KMeans_1d): time 0.001132/0.001155, allocations: 0.5292 MB / 482.4 MB, free: 11.47 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.002694, allocations: 1.639 MB / 484.1 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.121e-05/0.002725, allocations: 1.844 kB / 484.1 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000104/0.002829, allocations: 22.69 kB / 484.1 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.907e-05/0.002848, allocations: 14.89 kB / 484.1 MB, free: 10.36 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.0006245/0.003473, allocations: 280.1 kB / 484.4 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.18e-05/0.003525, allocations: 22.78 kB / 484.4 MB, free: 10.24 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.37e-05/0.003548, allocations: 7.828 kB / 484.4 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.75e-05/0.003586, allocations: 17.94 kB / 484.4 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.693e-05/0.003613, allocations: 16.14 kB / 484.5 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.836e-06/0.003622, allocations: 1.125 kB / 484.5 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000497/0.004119, allocations: 454.5 kB / 484.9 MB, free: 10.1 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.804e-05/0.004157, allocations: 22.38 kB / 484.9 MB, free: 10.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.367e-05/0.00417, allocations: 9.188 kB / 484.9 MB, free: 10.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003271/0.004497, allocations: 346.4 kB / 485.3 MB, free: 9.988 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.323e-06/0.004499, allocations: 0 / 485.3 MB, free: 9.988 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.0045, allocations: 1.062 kB / 485.3 MB, free: 9.988 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.164e-06/0.004502, allocations: 0.75 kB / 485.3 MB, free: 9.988 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.0002435/0.004745, allocations: 441.2 kB / 485.7 MB, free: 9.566 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.004776, allocations: 9.062 kB / 485.7 MB, free: 9.566 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.279e-05/0.004799, allocations: 12.5 kB / 485.7 MB, free: 9.559 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.397e-05/0.004873, allocations: 128.6 kB / 485.9 MB, free: 9.418 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.971e-06/0.004878, allocations: 384 / 485.9 MB, free: 9.418 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.02e-06/0.004884, allocations: 1.781 kB / 485.9 MB, free: 9.418 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.2e-05/0.004926, allocations: 32.95 kB / 485.9 MB, free: 9.383 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.401e-06/0.004931, allocations: 4.125 kB / 485.9 MB, free: 9.379 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.749e-06/0.004936, allocations: 1.656 kB / 485.9 MB, free: 9.379 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.00494, allocations: 5.312 kB / 485.9 MB, free: 9.375 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.604e-06/0.004948, allocations: 1.344 kB / 485.9 MB, free: 9.375 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.32e-05/0.005031, allocations: 109.4 kB / 486 MB, free: 9.254 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.315e-05/0.005054, allocations: 33.77 kB / 486 MB, free: 9.211 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.308e-06/0.005063, allocations: 12.67 kB / 486.1 MB, free: 9.199 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.005095, allocations: 5.656 kB / 486.1 MB, free: 9.199 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.33e-05/0.005108, allocations: 35.39 kB / 486.1 MB, free: 9.156 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.005109, allocations: 0 / 486.1 MB, free: 9.156 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 7.62e-05/0.005185, allocations: 45.59 kB / 486.1 MB, free: 9.117 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.304e-05/0.005198, allocations: 51.41 kB / 486.2 MB, free: 9.055 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.533e-05/0.005284, allocations: 231.2 kB / 486.4 MB, free: 8.859 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.98e-06/0.005289, allocations: 25.7 kB / 486.4 MB, free: 8.828 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.851e-05/0.005317, allocations: 144.4 kB / 486.6 MB, free: 8.688 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.572e-06/0.005324, allocations: 7.938 kB / 486.6 MB, free: 8.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.679e-05/0.005351, allocations: 34.53 kB / 486.6 MB, free: 8.652 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002448/0.005595, allocations: 0.4955 MB / 487.1 MB, free: 24.15 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.03e-05/0.005616, allocations: 7.062 kB / 487.1 MB, free: 24.15 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.607e-05/0.005632, allocations: 16.7 kB / 487.1 MB, free: 24.15 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.542e-05/0.005667, allocations: 34.83 kB / 487.2 MB, free: 24.13 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.005668, allocations: 0 / 487.2 MB, free: 24.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 6.283e-05/0.005731, allocations: 64.41 kB / 487.2 MB, free: 24.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.005742, allocations: 6.25 kB / 487.2 MB, free: 24.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.005752, allocations: 0.5625 kB / 487.2 MB, free: 24.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.407e-06/0.005761, allocations: 2.781 kB / 487.2 MB, free: 24.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.026e-05/0.005772, allocations: 3.938 kB / 487.3 MB, free: 24.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.876e-06/0.005774, allocations: 3.984 kB / 487.3 MB, free: 24.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/0.005793, allocations: 15.66 kB / 487.3 MB, free: 24.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.005799, allocations: 2.094 kB / 487.3 MB, free: 24.08 MB / 426.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 (labels[1],labels[2],labels[3],labels[4],labels[5],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 5.301e-05/0.005852, allocations: 154.9 kB / 487.4 MB, free: 23.92 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.001e-06/0.005858, allocations: 6.828 kB / 487.4 MB, free: 23.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.103e-05/0.005919, allocations: 49.53 kB / 487.5 MB, free: 23.87 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.00592, allocations: 0 / 487.5 MB, free: 23.87 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/0.005922, allocations: 0.9062 kB / 487.5 MB, free: 23.87 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.005925, allocations: 6.938 kB / 487.5 MB, free: 23.87 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.164e-05/0.005977, allocations: 110.9 kB / 487.6 MB, free: 23.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.005979, allocations: 4 kB / 487.6 MB, free: 23.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.465e-06/0.005981, allocations: 1.25 kB / 487.6 MB, free: 23.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.005983, allocations: 1.25 kB / 487.6 MB, free: 23.74 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.567e-06/0.005986, allocations: 1.25 kB / 487.6 MB, free: 23.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.005987, allocations: 0 / 487.6 MB, free: 23.74 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.005988, allocations: 0 / 487.6 MB, free: 23.74 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.557e-05/0.006024, allocations: 80.88 kB / 487.7 MB, free: 23.65 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.275e-06/0.006032, allocations: 8.516 kB / 487.7 MB, free: 23.65 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.363e-06/0.006039, allocations: 0 / 487.7 MB, free: 23.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.913e-06/0.006046, allocations: 5.219 kB / 487.7 MB, free: 23.64 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.506e-06/0.006055, allocations: 1.25 kB / 487.7 MB, free: 23.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.006057, allocations: 4.859 kB / 487.7 MB, free: 23.64 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.591e-05/0.006113, allocations: 153.6 kB / 487.9 MB, free: 23.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006113, allocations: 2.75 kB / 487.9 MB, free: 23.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002737/0.006386, allocations: 88.22 kB / 487.9 MB, free: 23.5 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.0003427/0.006729, allocations: 256.4 kB / 488.2 MB, free: 23.38 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.896e-05/0.006808, allocations: 71.84 kB / 488.3 MB, free: 23.32 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.006809, allocations: 0 / 488.3 MB, free: 23.32 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.149e-06/0.006814, allocations: 9 kB / 488.3 MB, free: 23.31 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.647e-05/0.006901, allocations: 16.39 kB / 488.3 MB, free: 23.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001483/0.007049, allocations: 146.1 kB / 488.4 MB, free: 23.17 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.499e-05/0.007074, allocations: 62.77 kB / 488.5 MB, free: 23.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.272e-05/0.007087, allocations: 1.469 kB / 488.5 MB, free: 23.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.848e-05/0.007115, allocations: 69.08 kB / 488.6 MB, free: 23.04 MB / 426.7 MB Notification: Performance of SimCode: time 7.51e-07/0.007116, allocations: 2.344 kB / 488.6 MB, free: 23.04 MB / 426.7 MB Notification: Performance of Templates: time 0.003907/0.01102, allocations: 2.591 MB / 491.2 MB, free: 22.87 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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3839406119659543]