Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.0008074/0.0008074, allocations: 88.7 kB / 20.2 MB, free: 4.23 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.0008199/0.0008199, allocations: 161.3 kB / 23.51 MB, free: 0.9219 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 0.9054/0.9054, allocations: 177.2 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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.5433/0.5433, allocations: 110.2 MB / 370.6 MB, free: 12.5 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_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d") translateModel(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 474.4 MB, free: 15.24 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.279e-05, allocations: 5.25 kB / 474.4 MB, free: 15.23 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d): time 0.0009882/0.001011, allocations: 0.5243 MB / 474.9 MB, free: 14.93 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.002419, allocations: 1.609 MB / 476.5 MB, free: 13.83 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.634e-05/0.002456, allocations: 0 / 476.5 MB, free: 13.83 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001388/0.002594, allocations: 22.06 kB / 476.5 MB, free: 13.82 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.766e-05/0.002612, allocations: 6.578 kB / 476.5 MB, free: 13.82 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.0007379/0.00335, allocations: 267.8 kB / 476.8 MB, free: 13.72 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.288e-05/0.003413, allocations: 25.7 kB / 476.8 MB, free: 13.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.418e-05/0.003447, allocations: 7.266 kB / 476.8 MB, free: 13.71 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.796e-05/0.003485, allocations: 12.78 kB / 476.8 MB, free: 13.71 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.709e-05/0.003522, allocations: 20.91 kB / 476.9 MB, free: 13.7 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.003536, allocations: 0 / 476.9 MB, free: 13.7 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004477/0.003984, allocations: 426.4 kB / 477.3 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.408e-05/0.004038, allocations: 25.8 kB / 477.3 MB, free: 13.57 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.061e-05/0.004058, allocations: 8.75 kB / 477.3 MB, free: 13.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003257/0.004384, allocations: 330.1 kB / 477.6 MB, free: 13.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.004388, allocations: 3.234 kB / 477.6 MB, free: 13.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.004389, allocations: 0 / 477.6 MB, free: 13.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.004393, allocations: 0 / 477.6 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.0003232/0.004716, allocations: 335.2 kB / 478 MB, free: 13.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.004749, allocations: 12.06 kB / 478 MB, free: 13.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.732e-05/0.004786, allocations: 9.203 kB / 478 MB, free: 13.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.004888, allocations: 120.7 kB / 478.1 MB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.901e-06/0.004894, allocations: 384 / 478.1 MB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.004905, allocations: 6.875 kB / 478.1 MB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.929e-05/0.004984, allocations: 34.81 kB / 478.1 MB, free: 12.99 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.004991, allocations: 2.906 kB / 478.2 MB, free: 12.99 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.004999, allocations: 384 / 478.2 MB, free: 12.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.005003, allocations: 3.938 kB / 478.2 MB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.495e-05/0.005028, allocations: 25.06 kB / 478.2 MB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001018/0.00513, allocations: 120.7 kB / 478.3 MB, free: 12.85 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.837e-05/0.005168, allocations: 30.02 kB / 478.3 MB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.731e-05/0.005186, allocations: 11.14 kB / 478.3 MB, free: 12.81 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.902e-05/0.005215, allocations: 6.281 kB / 478.3 MB, free: 12.81 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.159e-05/0.005226, allocations: 33.98 kB / 478.4 MB, free: 12.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.005227, allocations: 0.6562 kB / 478.4 MB, free: 12.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001319/0.005359, allocations: 62.77 kB / 478.4 MB, free: 12.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.846e-05/0.005377, allocations: 58.16 kB / 478.5 MB, free: 12.67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.279e-05/0.00547, allocations: 183.2 kB / 478.7 MB, free: 12.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.939e-06/0.005475, allocations: 26.2 kB / 478.7 MB, free: 12.51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.495e-05/0.0055, allocations: 94.83 kB / 478.8 MB, free: 12.42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.976e-06/0.005509, allocations: 0 / 478.8 MB, free: 12.42 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.678e-05/0.005536, allocations: 28.59 kB / 478.8 MB, free: 12.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002364/0.005772, allocations: 317.7 kB / 479.1 MB, free: 28.08 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.942e-05/0.005812, allocations: 46.45 kB / 479.2 MB, free: 28.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.548e-05/0.005837, allocations: 39.59 kB / 479.2 MB, free: 28.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.413e-05/0.005891, allocations: 67.25 kB / 479.3 MB, free: 28.05 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.005893, allocations: 1.188 kB / 479.3 MB, free: 28.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 8.858e-05/0.005982, allocations: 126.6 kB / 479.4 MB, free: 28 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.005993, allocations: 8.5 kB / 479.4 MB, free: 27.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.006006, allocations: 7.312 kB / 479.4 MB, free: 27.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.006023, allocations: 0 / 479.4 MB, free: 27.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.25e-05/0.006036, allocations: 0 / 479.4 MB, free: 27.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.006041, allocations: 6.656 kB / 479.4 MB, free: 27.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.69e-05/0.006058, allocations: 5.172 kB / 479.4 MB, free: 27.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.006065, allocations: 3.062 kB / 479.4 MB, free: 27.98 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 (cluster_size[3],cluster_size[2],cluster_size[1],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 9.172e-05/0.006157, allocations: 126.6 kB / 479.6 MB, free: 27.87 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.562e-06/0.006163, allocations: 6.766 kB / 479.6 MB, free: 27.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.325e-05/0.006247, allocations: 63.83 kB / 479.6 MB, free: 27.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.006248, allocations: 0 / 479.6 MB, free: 27.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.006252, allocations: 3.938 kB / 479.6 MB, free: 27.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.006254, allocations: 0 / 479.6 MB, free: 27.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.474e-05/0.006299, allocations: 117 kB / 479.7 MB, free: 27.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.0063, allocations: 3 kB / 479.7 MB, free: 27.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.256e-06/0.006303, allocations: 0.6562 kB / 479.7 MB, free: 27.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.006304, allocations: 0 / 479.7 MB, free: 27.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.00631, allocations: 4.094 kB / 479.8 MB, free: 27.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.006311, allocations: 0.5 kB / 479.8 MB, free: 27.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.006312, allocations: 0 / 479.8 MB, free: 27.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.502e-05/0.006357, allocations: 95.61 kB / 479.8 MB, free: 27.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.874e-06/0.006365, allocations: 7.266 kB / 479.9 MB, free: 27.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.258e-06/0.006374, allocations: 1 kB / 479.9 MB, free: 27.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.783e-06/0.006381, allocations: 0 / 479.9 MB, free: 27.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.788e-05/0.006399, allocations: 3.375 kB / 479.9 MB, free: 27.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.006401, allocations: 7.781 kB / 479.9 MB, free: 27.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.896e-05/0.00646, allocations: 123.8 kB / 480 MB, free: 27.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00646, allocations: 0 / 480 MB, free: 27.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002433/0.006704, allocations: 87.67 kB / 480.1 MB, free: 27.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.0003728/0.007076, allocations: 258.4 kB / 480.3 MB, free: 27.37 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001212/0.007198, allocations: 94.06 kB / 480.4 MB, free: 27.33 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.007199, allocations: 1.688 kB / 480.4 MB, free: 27.33 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.263e-06/0.007206, allocations: 5.75 kB / 480.4 MB, free: 27.33 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001136/0.00732, allocations: 7.656 kB / 480.4 MB, free: 27.33 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002249/0.007545, allocations: 161.2 kB / 480.6 MB, free: 27.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.637e-05/0.007591, allocations: 85.03 kB / 480.7 MB, free: 27.12 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.768e-05/0.007609, allocations: 3.906 kB / 480.7 MB, free: 27.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.219e-05/0.007621, allocations: 11.83 kB / 480.7 MB, free: 27.12 MB / 426.7 MB Notification: Performance of SimCode: time 4.31e-07/0.007621, allocations: 5.094 kB / 480.7 MB, free: 27.11 MB / 426.7 MB Notification: Performance of Templates: time 0.003976/0.0116, allocations: 2.113 MB / 482.8 MB, free: 27.04 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.198351699858904]