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.0009816/0.0009816, allocations: 92.22 kB / 20.46 MB, free: 4.117 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.000931/0.000931, allocations: 157 kB / 23.82 MB, free: 0.7539 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.9821/0.9821, allocations: 177.2 MB / 204.2 MB, free: 5.641 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.6034/0.6034, allocations: 110.2 MB / 371 MB, free: 12.54 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.583e-06/1.583e-06, allocations: 0 / 475.1 MB, free: 15.2 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.697e-05/2.855e-05, allocations: 2.312 kB / 475.1 MB, free: 15.2 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d): time 0.001665/0.001693, allocations: 0.5326 MB / 475.7 MB, free: 14.9 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002512/0.004205, allocations: 1.645 MB / 477.3 MB, free: 13.79 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.736e-05/0.004252, allocations: 2.781 kB / 477.3 MB, free: 13.79 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001922/0.004444, allocations: 21.34 kB / 477.3 MB, free: 13.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.678e-05/0.004471, allocations: 10 kB / 477.4 MB, free: 13.79 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.001114/0.005585, allocations: 267.5 kB / 477.6 MB, free: 13.68 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.869e-05/0.005664, allocations: 21.53 kB / 477.6 MB, free: 13.68 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.018e-05/0.005704, allocations: 6.656 kB / 477.6 MB, free: 13.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.004e-05/0.005754, allocations: 21.09 kB / 477.7 MB, free: 13.67 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.452e-05/0.005799, allocations: 22.81 kB / 477.7 MB, free: 13.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.005815, allocations: 0 / 477.7 MB, free: 13.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007411/0.006556, allocations: 419.6 kB / 478.1 MB, free: 13.55 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.714e-05/0.006623, allocations: 22.47 kB / 478.1 MB, free: 13.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.699e-05/0.00665, allocations: 7.656 kB / 478.1 MB, free: 13.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005606/0.007211, allocations: 342.1 kB / 478.5 MB, free: 13.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.007215, allocations: 0 / 478.5 MB, free: 13.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.007216, allocations: 1.031 kB / 478.5 MB, free: 13.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.007221, allocations: 0 / 478.5 MB, free: 13.43 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.0004317/0.007652, allocations: 435.3 kB / 478.9 MB, free: 13.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.007696, allocations: 11.66 kB / 478.9 MB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.856e-05/0.007745, allocations: 11 kB / 478.9 MB, free: 13.01 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.007884, allocations: 125.3 kB / 479 MB, free: 12.87 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.007895, allocations: 384 / 479 MB, free: 12.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.007908, allocations: 1.375 kB / 479 MB, free: 12.87 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.68e-05/0.008005, allocations: 40.39 kB / 479.1 MB, free: 12.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.008016, allocations: 0.9062 kB / 479.1 MB, free: 12.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.008026, allocations: 384 / 479.1 MB, free: 12.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.008036, allocations: 5.344 kB / 479.1 MB, free: 12.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.594e-05/0.008052, allocations: 6.75 kB / 479.1 MB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001543/0.008206, allocations: 144.7 kB / 479.2 MB, free: 12.67 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.557e-05/0.008252, allocations: 29.97 kB / 479.3 MB, free: 12.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.902e-05/0.008271, allocations: 8.281 kB / 479.3 MB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.354e-05/0.008324, allocations: 6.719 kB / 479.3 MB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.008346, allocations: 39.3 kB / 479.3 MB, free: 12.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.223e-06/0.008347, allocations: 0 / 479.3 MB, free: 12.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001433/0.00849, allocations: 39.53 kB / 479.4 MB, free: 12.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.008516, allocations: 58.97 kB / 479.4 MB, free: 12.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.008654, allocations: 230.5 kB / 479.6 MB, free: 12.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.008662, allocations: 25.7 kB / 479.7 MB, free: 12.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002651/0.008928, allocations: 148.6 kB / 479.8 MB, free: 28.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.119e-05/0.008939, allocations: 0 / 479.8 MB, free: 28.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-05/0.008972, allocations: 31.28 kB / 479.8 MB, free: 28.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.00908, allocations: 0.4943 MB / 480.3 MB, free: 27.57 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.123e-05/0.009101, allocations: 15.25 kB / 480.3 MB, free: 27.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.414e-05/0.009115, allocations: 10.03 kB / 480.4 MB, free: 27.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.083e-05/0.009156, allocations: 30.03 kB / 480.4 MB, free: 27.56 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.009158, allocations: 0 / 480.4 MB, free: 27.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 7.768e-05/0.009236, allocations: 78.11 kB / 480.5 MB, free: 27.52 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.00925, allocations: 7.656 kB / 480.5 MB, free: 27.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.009264, allocations: 0.5625 kB / 480.5 MB, free: 27.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.009281, allocations: 3.375 kB / 480.5 MB, free: 27.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.806e-05/0.009299, allocations: 0 / 480.5 MB, free: 27.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.009306, allocations: 7.359 kB / 480.5 MB, free: 27.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.207e-05/0.009328, allocations: 12.33 kB / 480.5 MB, free: 27.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.009336, allocations: 0 / 480.5 MB, free: 27.5 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 7.868e-05/0.009415, allocations: 161 kB / 480.6 MB, free: 27.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.723e-06/0.009422, allocations: 7.234 kB / 480.7 MB, free: 27.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.236e-05/0.009504, allocations: 46.88 kB / 480.7 MB, free: 27.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.009506, allocations: 0 / 480.7 MB, free: 27.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.00951, allocations: 7.5 kB / 480.7 MB, free: 27.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.009513, allocations: 0 / 480.7 MB, free: 27.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.924e-05/0.009572, allocations: 134.8 kB / 480.8 MB, free: 27.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.009573, allocations: 3.438 kB / 480.8 MB, free: 27.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.299e-06/0.009579, allocations: 3 kB / 480.8 MB, free: 27.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.009581, allocations: 3.328 kB / 480.8 MB, free: 27.15 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.009586, allocations: 0 / 480.8 MB, free: 27.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.009588, allocations: 0 / 480.8 MB, free: 27.15 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.009589, allocations: 0 / 480.8 MB, free: 27.15 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.54e-05/0.009634, allocations: 79.78 kB / 480.9 MB, free: 27.06 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.537e-06/0.009644, allocations: 6.359 kB / 480.9 MB, free: 27.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.969e-06/0.009654, allocations: 2.5 kB / 480.9 MB, free: 27.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.464e-06/0.009661, allocations: 1.469 kB / 480.9 MB, free: 27.05 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.76e-05/0.009679, allocations: 0 / 480.9 MB, free: 27.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.009683, allocations: 10.22 kB / 480.9 MB, free: 27.05 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.659e-05/0.009739, allocations: 154.5 kB / 481.1 MB, free: 26.92 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009739, allocations: 0.7188 kB / 481.1 MB, free: 26.92 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002651/0.01, allocations: 91.48 kB / 481.2 MB, free: 26.9 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.0004659/0.01047, allocations: 256.4 kB / 481.4 MB, free: 26.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001192/0.01059, allocations: 67.05 kB / 481.5 MB, free: 26.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01059, allocations: 0 / 481.5 MB, free: 26.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.604e-06/0.0106, allocations: 18.52 kB / 481.5 MB, free: 26.71 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001142/0.01071, allocations: 7.125 kB / 481.5 MB, free: 26.71 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002094/0.01092, allocations: 145.3 kB / 481.7 MB, free: 26.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.31e-05/0.01095, allocations: 66.44 kB / 481.7 MB, free: 26.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.773e-05/0.01096, allocations: 0.9062 kB / 481.7 MB, free: 26.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.509e-05/0.01098, allocations: 11.19 kB / 481.7 MB, free: 26.49 MB / 426.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01098, allocations: 1.219 kB / 481.7 MB, free: 26.49 MB / 426.7 MB Notification: Performance of Templates: time 0.004077/0.01506, allocations: 2.129 MB / 483.9 MB, free: 26.41 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=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6030918550677598]