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.001905/0.001905, allocations: 83.73 kB / 20.23 MB, free: 4.172 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.001992/0.001992, allocations: 157.3 kB / 23.55 MB, free: 0.8633 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.574/1.574, allocations: 177.1 MB / 203.9 MB, free: 5.613 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 1.097/1.097, 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.523e-06/1.523e-06, allocations: 0 / 474.4 MB, free: 15.26 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.97e-05/2.122e-05, allocations: 4.984 kB / 474.4 MB, free: 15.26 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d): time 0.001298/0.001319, allocations: 0.5192 MB / 474.9 MB, free: 14.96 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001827/0.003146, allocations: 1.631 MB / 476.6 MB, free: 13.85 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.36e-05/0.003179, allocations: 1.031 kB / 476.6 MB, free: 13.85 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002083/0.003388, allocations: 66 kB / 476.6 MB, free: 13.84 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.543e-05/0.003433, allocations: 30.14 kB / 476.7 MB, free: 13.84 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.001026/0.00446, allocations: 262.5 kB / 476.9 MB, free: 13.73 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.84e-05/0.004538, allocations: 36.86 kB / 477 MB, free: 13.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.974e-05/0.004568, allocations: 2.625 kB / 477 MB, free: 13.73 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.695e-05/0.004615, allocations: 22.69 kB / 477 MB, free: 13.72 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.697e-05/0.004672, allocations: 47.97 kB / 477 MB, free: 13.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.004688, allocations: 4 kB / 477 MB, free: 13.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005544/0.005242, allocations: 418.6 kB / 477.4 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.948e-05/0.005292, allocations: 30.95 kB / 477.5 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.294e-05/0.005315, allocations: 13.72 kB / 477.5 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003926/0.005707, allocations: 347.1 kB / 477.8 MB, free: 13.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.00571, allocations: 3.594 kB / 477.8 MB, free: 13.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.00571, allocations: 0 / 477.8 MB, free: 13.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.005715, allocations: 3.938 kB / 477.8 MB, free: 13.48 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.000368/0.006083, allocations: 463.5 kB / 478.3 MB, free: 13.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.006116, allocations: 11.66 kB / 478.3 MB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.394e-05/0.00616, allocations: 7.734 kB / 478.3 MB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.006275, allocations: 137.7 kB / 478.4 MB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.649e-06/0.006284, allocations: 2.375 kB / 478.4 MB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-06/0.006292, allocations: 384 / 478.4 MB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.962e-05/0.006362, allocations: 36.38 kB / 478.5 MB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.006379, allocations: 192 / 478.5 MB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.006387, allocations: 384 / 478.5 MB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.006391, allocations: 4.812 kB / 478.5 MB, free: 12.85 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.754e-05/0.006409, allocations: 6.781 kB / 478.5 MB, free: 12.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001284/0.006537, allocations: 157.5 kB / 478.6 MB, free: 12.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.608e-05/0.006583, allocations: 25.72 kB / 478.7 MB, free: 12.65 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.523e-05/0.006598, allocations: 10.92 kB / 478.7 MB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.686e-05/0.006635, allocations: 13.38 kB / 478.7 MB, free: 12.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.006655, allocations: 36.14 kB / 478.7 MB, free: 12.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.006655, allocations: 1.406 kB / 478.7 MB, free: 12.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001325/0.006788, allocations: 50.84 kB / 478.8 MB, free: 12.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.108e-05/0.006809, allocations: 55.34 kB / 478.8 MB, free: 12.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.00695, allocations: 262.8 kB / 479.1 MB, free: 12.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.394e-06/0.006957, allocations: 25.7 kB / 479.1 MB, free: 12.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000248/0.007205, allocations: 165.2 kB / 479.3 MB, free: 28.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.968e-06/0.007215, allocations: 0.7812 kB / 479.3 MB, free: 28.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.929e-05/0.007255, allocations: 40.22 kB / 479.3 MB, free: 28.06 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002374/0.007492, allocations: 0.4977 MB / 479.8 MB, free: 27.56 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.447e-05/0.007517, allocations: 15.38 kB / 479.8 MB, free: 27.55 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.607e-05/0.007533, allocations: 13.34 kB / 479.8 MB, free: 27.55 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.807e-05/0.007581, allocations: 43.09 kB / 479.9 MB, free: 27.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.007582, allocations: 0 / 479.9 MB, free: 27.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 8.992e-05/0.007672, allocations: 86.61 kB / 480 MB, free: 27.49 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.007684, allocations: 13.22 kB / 480 MB, free: 27.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.007697, allocations: 0 / 480 MB, free: 27.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.007711, allocations: 0 / 480 MB, free: 27.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.533e-05/0.007726, allocations: 6.766 kB / 480 MB, free: 27.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.007731, allocations: 3.938 kB / 480 MB, free: 27.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.457e-05/0.007755, allocations: 14.67 kB / 480 MB, free: 27.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.007764, allocations: 3.328 kB / 480 MB, free: 27.47 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.0001115/0.007875, allocations: 165.9 kB / 480.2 MB, free: 27.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.203e-05/0.007887, allocations: 11.31 kB / 480.2 MB, free: 27.29 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.807e-05/0.007965, allocations: 47.44 kB / 480.2 MB, free: 27.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.007966, allocations: 0 / 480.2 MB, free: 27.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.00797, allocations: 3.938 kB / 480.2 MB, free: 27.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.007972, allocations: 1.156 kB / 480.2 MB, free: 27.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.22e-05/0.008044, allocations: 151.7 kB / 480.4 MB, free: 27.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.008045, allocations: 0 / 480.4 MB, free: 27.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.288e-06/0.008049, allocations: 0 / 480.4 MB, free: 27.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.00805, allocations: 0.6875 kB / 480.4 MB, free: 27.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.008056, allocations: 1.281 kB / 480.4 MB, free: 27.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.008058, allocations: 6.719 kB / 480.4 MB, free: 27.09 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.008058, allocations: 0 / 480.4 MB, free: 27.09 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.439e-05/0.008113, allocations: 80.95 kB / 480.5 MB, free: 27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.306e-05/0.008126, allocations: 10.69 kB / 480.5 MB, free: 27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.008138, allocations: 3.438 kB / 480.5 MB, free: 27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.306e-05/0.008151, allocations: 0 / 480.5 MB, free: 27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.749e-05/0.008179, allocations: 3.422 kB / 480.5 MB, free: 27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.008182, allocations: 8.312 kB / 480.5 MB, free: 26.99 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001194/0.008302, allocations: 172.2 kB / 480.7 MB, free: 26.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008302, allocations: 0 / 480.7 MB, free: 26.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002926/0.008595, allocations: 85.58 kB / 480.7 MB, free: 26.85 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.0006179/0.009212, allocations: 254.8 kB / 481 MB, free: 26.72 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001216/0.009334, allocations: 75.42 kB / 481.1 MB, free: 26.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.009336, allocations: 6.312 kB / 481.1 MB, free: 26.67 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.948e-06/0.009346, allocations: 10.25 kB / 481.1 MB, free: 26.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.009485, allocations: 5 kB / 481.1 MB, free: 26.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002401/0.009725, allocations: 192 kB / 481.3 MB, free: 26.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.352e-05/0.009779, allocations: 86.7 kB / 481.4 MB, free: 26.42 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.736e-05/0.009796, allocations: 8.188 kB / 481.4 MB, free: 26.42 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.432e-05/0.00981, allocations: 8.5 kB / 481.4 MB, free: 26.41 MB / 426.7 MB Notification: Performance of SimCode: time 4.91e-07/0.009811, allocations: 3 kB / 481.4 MB, free: 26.41 MB / 426.7 MB Notification: Performance of Templates: time 0.00556/0.01537, allocations: 2.12 MB / 483.5 MB, free: 26.34 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=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.811574783991091]