Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.001476/0.001476, allocations: 84.39 kB / 20.24 MB, free: 4.199 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.001626/0.001626, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.456/1.456, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.8996/0.8996, allocations: 110.3 MB / 370.6 MB, free: 12.47 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d") translateModel(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 474.4 MB, free: 15.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.229e-05, allocations: 6.375 kB / 474.4 MB, free: 15.25 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d): time 0.00146/0.001483, allocations: 0.5214 MB / 474.9 MB, free: 14.95 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002194/0.003676, allocations: 1.605 MB / 476.5 MB, free: 13.85 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.573e-05/0.003712, allocations: 5 kB / 476.5 MB, free: 13.84 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001923/0.003904, allocations: 65.08 kB / 476.6 MB, free: 13.83 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.189e-05/0.003936, allocations: 34.42 kB / 476.6 MB, free: 13.83 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/IBPSA/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.000879/0.004815, allocations: 262.8 kB / 476.9 MB, free: 13.73 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.988e-05/0.004885, allocations: 34.31 kB / 476.9 MB, free: 13.72 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.844e-05/0.004913, allocations: 3.375 kB / 476.9 MB, free: 13.72 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.746e-05/0.004961, allocations: 28.23 kB / 477 MB, free: 13.71 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.812e-05/0.005019, allocations: 41.78 kB / 477 MB, free: 13.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.005034, allocations: 0 / 477 MB, free: 13.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005918/0.005625, allocations: 427.5 kB / 477.4 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.564e-05/0.005671, allocations: 28.7 kB / 477.5 MB, free: 13.58 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.576e-05/0.005697, allocations: 13.09 kB / 477.5 MB, free: 13.58 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004171/0.006114, allocations: 350 kB / 477.8 MB, free: 13.47 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.006117, allocations: 11.56 kB / 477.8 MB, free: 13.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.006117, allocations: 0 / 477.8 MB, free: 13.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.006121, allocations: 0 / 477.8 MB, free: 13.46 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.0003427/0.006464, allocations: 348.8 kB / 478.2 MB, free: 13.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.764e-05/0.006492, allocations: 11.91 kB / 478.2 MB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.191e-05/0.006534, allocations: 11.52 kB / 478.2 MB, free: 13.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.006641, allocations: 129.3 kB / 478.3 MB, free: 13 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.006652, allocations: 3.812 kB / 478.3 MB, free: 13 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.214e-06/0.006659, allocations: 384 / 478.3 MB, free: 13 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.114e-05/0.00675, allocations: 43.17 kB / 478.4 MB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.006758, allocations: 2.812 kB / 478.4 MB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.006765, allocations: 384 / 478.4 MB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.006769, allocations: 3.938 kB / 478.4 MB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.616e-05/0.006795, allocations: 22.92 kB / 478.4 MB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001171/0.006912, allocations: 135.2 kB / 478.5 MB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.914e-05/0.006951, allocations: 26.52 kB / 478.5 MB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.042e-05/0.006972, allocations: 16.3 kB / 478.6 MB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.613e-05/0.007008, allocations: 14.89 kB / 478.6 MB, free: 12.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.007027, allocations: 41.12 kB / 478.6 MB, free: 12.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.007027, allocations: 0 / 478.6 MB, free: 12.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001462/0.007174, allocations: 72.22 kB / 478.7 MB, free: 12.69 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.903e-05/0.007193, allocations: 55.34 kB / 478.7 MB, free: 12.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.007335, allocations: 215.9 kB / 478.9 MB, free: 12.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.294e-06/0.007343, allocations: 25.7 kB / 479 MB, free: 12.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.607e-05/0.007379, allocations: 108.4 kB / 479.1 MB, free: 12.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.055e-06/0.007387, allocations: 3.406 kB / 479.1 MB, free: 12.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.007422, allocations: 31.56 kB / 479.1 MB, free: 12.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003226/0.007744, allocations: 323.6 kB / 479.4 MB, free: 28.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.732e-05/0.007801, allocations: 55.56 kB / 479.5 MB, free: 28.01 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.16e-05/0.007843, allocations: 52.11 kB / 479.5 MB, free: 28 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.837e-05/0.007921, allocations: 99.39 kB / 479.6 MB, free: 27.97 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.007923, allocations: 3.938 kB / 479.6 MB, free: 27.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001421/0.008065, allocations: 157.2 kB / 479.8 MB, free: 27.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.008078, allocations: 10.19 kB / 479.8 MB, free: 27.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.008091, allocations: 7.328 kB / 479.8 MB, free: 27.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.008108, allocations: 0 / 479.8 MB, free: 27.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.304e-05/0.008121, allocations: 2.531 kB / 479.8 MB, free: 27.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.008126, allocations: 3.938 kB / 479.8 MB, free: 27.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.733e-05/0.008153, allocations: 10.7 kB / 479.8 MB, free: 27.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.008161, allocations: 0 / 479.8 MB, free: 27.9 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.0001074/0.008268, allocations: 131.6 kB / 480 MB, free: 27.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.467e-05/0.008283, allocations: 10.38 kB / 480 MB, free: 27.78 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.103e-05/0.008374, allocations: 71.69 kB / 480 MB, free: 27.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.008376, allocations: 0 / 480 MB, free: 27.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.00838, allocations: 3.938 kB / 480 MB, free: 27.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.008382, allocations: 0 / 480 MB, free: 27.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.663e-05/0.008448, allocations: 133 kB / 480.2 MB, free: 27.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.008449, allocations: 0 / 480.2 MB, free: 27.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.699e-06/0.008454, allocations: 2 kB / 480.2 MB, free: 27.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.008456, allocations: 7.938 kB / 480.2 MB, free: 27.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-06/0.008461, allocations: 4 kB / 480.2 MB, free: 27.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.008462, allocations: 2.406 kB / 480.2 MB, free: 27.59 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.008463, allocations: 0 / 480.2 MB, free: 27.59 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.474e-05/0.008538, allocations: 89.06 kB / 480.3 MB, free: 27.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.31e-05/0.008551, allocations: 10.75 kB / 480.3 MB, free: 27.51 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.008564, allocations: 0.9375 kB / 480.3 MB, free: 27.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.464e-05/0.008578, allocations: 0 / 480.3 MB, free: 27.51 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.133e-05/0.00859, allocations: 4.25 kB / 480.3 MB, free: 27.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.008593, allocations: 3.938 kB / 480.3 MB, free: 27.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001174/0.00871, allocations: 151 kB / 480.4 MB, free: 27.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00871, allocations: 1.031 kB / 480.4 MB, free: 27.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003435/0.009054, allocations: 90.53 kB / 480.5 MB, free: 27.4 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.000556/0.00961, allocations: 249.1 kB / 480.8 MB, free: 27.28 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001375/0.009747, allocations: 115 kB / 480.9 MB, free: 27.24 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.009749, allocations: 0 / 480.9 MB, free: 27.24 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.458e-05/0.009763, allocations: 13.97 kB / 480.9 MB, free: 27.23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.00991, allocations: 2.375 kB / 480.9 MB, free: 27.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002625/0.01017, allocations: 218.4 kB / 481.1 MB, free: 27.08 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.449e-05/0.01023, allocations: 88.55 kB / 481.2 MB, free: 27.01 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.738e-05/0.01024, allocations: 3.891 kB / 481.2 MB, free: 27.01 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.859e-05/0.01026, allocations: 12.31 kB / 481.2 MB, free: 27 MB / 426.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01026, allocations: 0 / 481.2 MB, free: 27 MB / 426.7 MB Notification: Performance of Templates: time 0.00506/0.01532, allocations: 2.133 MB / 483.3 MB, free: 26.91 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.258983802981675]