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.001916/0.001916, allocations: 97.47 kB / 20.21 MB, free: 4.211 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.002089/0.002089, allocations: 165.6 kB / 23.53 MB, free: 0.8945 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.553/1.553, allocations: 177.1 MB / 203.9 MB, free: 5.598 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 1.012/1.012, allocations: 115 MB / 375.3 MB, free: 7.59 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.663e-06/1.663e-06, allocations: 0 / 480.7 MB, free: 12.04 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.746e-05/2.912e-05, allocations: 6.469 kB / 480.7 MB, free: 12.04 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Clustering.Validation.KMeans_2d): time 0.001947/0.001976, allocations: 0.5243 MB / 481.3 MB, free: 11.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001993/0.003969, allocations: 1.634 MB / 482.9 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.273e-05/0.004001, allocations: 0 / 482.9 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001988/0.0042, allocations: 65.86 kB / 483 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.45e-05/0.004235, allocations: 27.91 kB / 483 MB, free: 10.62 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.0008064/0.005041, allocations: 280.7 kB / 483.3 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.362e-05/0.005125, allocations: 33.75 kB / 483.3 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.32e-05/0.005158, allocations: 3.875 kB / 483.3 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.142e-05/0.005209, allocations: 22.97 kB / 483.3 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.735e-05/0.005277, allocations: 40.66 kB / 483.4 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.005293, allocations: 0.625 kB / 483.4 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006482/0.005941, allocations: 458.1 kB / 483.8 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.254e-05/0.005994, allocations: 25.92 kB / 483.8 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.449e-05/0.006018, allocations: 10.72 kB / 483.8 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004684/0.006487, allocations: 368.3 kB / 484.2 MB, free: 10.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.00649, allocations: 1.438 kB / 484.2 MB, free: 10.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.006491, allocations: 0 / 484.2 MB, free: 10.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.006495, allocations: 3.938 kB / 484.2 MB, free: 10.24 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.0003658/0.006861, allocations: 466.1 kB / 484.7 MB, free: 9.801 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.006896, allocations: 11.28 kB / 484.7 MB, free: 9.801 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.791e-05/0.006944, allocations: 16.25 kB / 484.7 MB, free: 9.793 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.007076, allocations: 137.5 kB / 484.8 MB, free: 9.645 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.007085, allocations: 2.219 kB / 484.8 MB, free: 9.645 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.007095, allocations: 2.594 kB / 484.8 MB, free: 9.645 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.178e-05/0.007167, allocations: 31.23 kB / 484.9 MB, free: 9.613 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.007174, allocations: 1.719 kB / 484.9 MB, free: 9.613 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.007182, allocations: 1.594 kB / 484.9 MB, free: 9.613 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.007186, allocations: 3.938 kB / 484.9 MB, free: 9.609 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.755e-05/0.007204, allocations: 1.094 kB / 484.9 MB, free: 9.609 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001361/0.00734, allocations: 154.3 kB / 485 MB, free: 9.453 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.647e-05/0.007386, allocations: 29.16 kB / 485 MB, free: 9.414 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.664e-05/0.007403, allocations: 8.781 kB / 485.1 MB, free: 9.402 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.991e-05/0.007443, allocations: 12.94 kB / 485.1 MB, free: 9.398 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.00746, allocations: 35.52 kB / 485.1 MB, free: 9.355 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.007461, allocations: 0.5 kB / 485.1 MB, free: 9.355 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001321/0.007593, allocations: 50.05 kB / 485.2 MB, free: 9.312 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.259e-05/0.007616, allocations: 56.62 kB / 485.2 MB, free: 9.246 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003353/0.007951, allocations: 267 kB / 485.5 MB, free: 25.04 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.318e-06/0.00796, allocations: 32.33 kB / 485.5 MB, free: 25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.512e-05/0.008045, allocations: 153.3 kB / 485.6 MB, free: 24.86 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.044e-05/0.008056, allocations: 5.094 kB / 485.7 MB, free: 24.85 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.059e-05/0.008096, allocations: 35.03 kB / 485.7 MB, free: 24.82 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002216/0.008318, allocations: 0.5025 MB / 486.2 MB, free: 24.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.486e-05/0.008343, allocations: 13.94 kB / 486.2 MB, free: 24.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.97e-05/0.008362, allocations: 12.03 kB / 486.2 MB, free: 24.32 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.376e-05/0.008416, allocations: 41.44 kB / 486.3 MB, free: 24.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.008418, allocations: 1.438 kB / 486.3 MB, free: 24.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001027/0.008521, allocations: 89.36 kB / 486.3 MB, free: 24.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.008534, allocations: 8.594 kB / 486.4 MB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.008548, allocations: 1.344 kB / 486.4 MB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.00856, allocations: 4.594 kB / 486.4 MB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.133e-05/0.008571, allocations: 0 / 486.4 MB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.008576, allocations: 3.938 kB / 486.4 MB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.398e-05/0.0086, allocations: 10.86 kB / 486.4 MB, free: 24.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.008609, allocations: 3.188 kB / 486.4 MB, free: 24.24 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: 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.0001087/0.008718, allocations: 159.2 kB / 486.5 MB, free: 24.08 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.391e-05/0.008731, allocations: 17.22 kB / 486.5 MB, free: 24.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.035e-05/0.008812, allocations: 43.83 kB / 486.6 MB, free: 24.03 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.008813, allocations: 0 / 486.6 MB, free: 24.03 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/0.008827, allocations: 5.125 kB / 486.6 MB, free: 24.03 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.008829, allocations: 0.9062 kB / 486.6 MB, free: 24.03 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.966e-05/0.008909, allocations: 150.8 kB / 486.7 MB, free: 23.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.00891, allocations: 1.906 kB / 486.7 MB, free: 23.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.139e-06/0.008915, allocations: 4.578 kB / 486.8 MB, free: 23.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.008916, allocations: 0 / 486.8 MB, free: 23.87 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.008922, allocations: 5.125 kB / 486.8 MB, free: 23.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.008923, allocations: 0 / 486.8 MB, free: 23.87 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.008924, allocations: 2.219 kB / 486.8 MB, free: 23.87 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.666e-05/0.008981, allocations: 87.42 kB / 486.8 MB, free: 23.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.339e-05/0.008994, allocations: 6.703 kB / 486.8 MB, free: 23.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.009006, allocations: 0 / 486.8 MB, free: 23.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.282e-05/0.009019, allocations: 1.188 kB / 486.9 MB, free: 23.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.62e-05/0.009035, allocations: 0 / 486.9 MB, free: 23.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.009038, allocations: 5.906 kB / 486.9 MB, free: 23.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001251/0.009163, allocations: 175.6 kB / 487 MB, free: 23.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.009163, allocations: 0 / 487 MB, free: 23.64 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003104/0.009474, allocations: 89.45 kB / 487.1 MB, free: 23.62 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.0006402/0.01011, allocations: 262.1 kB / 487.4 MB, free: 23.49 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001305/0.01024, allocations: 77.92 kB / 487.4 MB, free: 23.44 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01025, allocations: 0 / 487.4 MB, free: 23.44 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.147e-05/0.01026, allocations: 14.03 kB / 487.5 MB, free: 23.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.0104, allocations: 5.062 kB / 487.5 MB, free: 23.42 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002563/0.01065, allocations: 194.6 kB / 487.7 MB, free: 23.26 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.861e-05/0.01072, allocations: 89.69 kB / 487.7 MB, free: 23.18 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.705e-05/0.01074, allocations: 2.438 kB / 487.7 MB, free: 23.18 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.568e-05/0.01075, allocations: 9.781 kB / 487.8 MB, free: 23.18 MB / 426.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01075, allocations: 0.625 kB / 487.8 MB, free: 23.18 MB / 426.7 MB Notification: Performance of Templates: time 0.005547/0.0163, allocations: 2.21 MB / 490 MB, free: 23.09 MB / 426.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: 5.558211088995449]