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.0009687/0.0009687, allocations: 80.39 kB / 20.97 MB, free: 3.574 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.0009922/0.0009922, allocations: 165 kB / 24.28 MB, free: 276 kB / 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.9571/0.9571, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.5797/0.5797, allocations: 110.2 MB / 371.3 MB, free: 12.48 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.482e-06/1.482e-06, allocations: 0 / 475.1 MB, free: 15.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.446e-05/1.594e-05, allocations: 3.688 kB / 475.1 MB, free: 15.25 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d): time 0.001156/0.001172, allocations: 0.5178 MB / 475.7 MB, free: 14.96 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001664/0.002836, allocations: 1.655 MB / 477.3 MB, free: 13.84 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.121e-05/0.002878, allocations: 0 / 477.3 MB, free: 13.84 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000176/0.003054, allocations: 65.14 kB / 477.4 MB, free: 13.84 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.947e-05/0.003083, allocations: 29.45 kB / 477.4 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.0007007/0.003784, allocations: 263.2 kB / 477.7 MB, free: 13.73 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.25e-05/0.003856, allocations: 36.16 kB / 477.7 MB, free: 13.72 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.627e-05/0.003893, allocations: 0 / 477.7 MB, free: 13.72 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.194e-05/0.003934, allocations: 24.73 kB / 477.7 MB, free: 13.72 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.334e-05/0.003988, allocations: 41.77 kB / 477.8 MB, free: 13.72 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.004001, allocations: 0 / 477.8 MB, free: 13.72 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004756/0.004476, allocations: 436.8 kB / 478.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.784e-05/0.004524, allocations: 27.25 kB / 478.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.071e-05/0.004545, allocations: 10.44 kB / 478.2 MB, free: 13.58 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003359/0.007903, allocations: 350.6 kB / 478.6 MB, free: 13.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.007906, allocations: 0 / 478.6 MB, free: 13.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.007906, allocations: 0 / 478.6 MB, free: 13.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.007911, allocations: 1.125 kB / 478.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.0003029/0.008214, allocations: 463.2 kB / 479 MB, free: 13.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.008247, allocations: 10.06 kB / 479 MB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/0.008286, allocations: 10.14 kB / 479.1 MB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.008398, allocations: 148 kB / 479.2 MB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.008407, allocations: 384 / 479.2 MB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.215e-06/0.008415, allocations: 5.312 kB / 479.2 MB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.182e-05/0.008477, allocations: 32.36 kB / 479.2 MB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.433e-06/0.008483, allocations: 192 / 479.2 MB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.00849, allocations: 1 kB / 479.2 MB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.008498, allocations: 8.625 kB / 479.2 MB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.081e-05/0.008509, allocations: 0 / 479.2 MB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001236/0.008632, allocations: 155.6 kB / 479.4 MB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.1e-05/0.008663, allocations: 32.59 kB / 479.4 MB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.397e-05/0.008677, allocations: 11.62 kB / 479.4 MB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.439e-05/0.008712, allocations: 10.22 kB / 479.4 MB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.478e-05/0.008726, allocations: 36.11 kB / 479.5 MB, free: 12.58 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.008727, allocations: 0.8125 kB / 479.5 MB, free: 12.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001098/0.008837, allocations: 48.48 kB / 479.5 MB, free: 12.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.875e-05/0.008856, allocations: 55.34 kB / 479.6 MB, free: 12.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.00898, allocations: 259.4 kB / 479.8 MB, free: 12.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.94e-06/0.008985, allocations: 25.7 kB / 479.9 MB, free: 12.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.009147, allocations: 162 kB / 480 MB, free: 28.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.638e-06/0.009157, allocations: 0 / 480 MB, free: 28.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.724e-05/0.009194, allocations: 39.69 kB / 480.1 MB, free: 28.06 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.0093, allocations: 0.4971 MB / 480.6 MB, free: 27.56 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.213e-05/0.009322, allocations: 20.59 kB / 480.6 MB, free: 27.55 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.559e-05/0.009337, allocations: 12.88 kB / 480.6 MB, free: 27.55 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.278e-05/0.00938, allocations: 47.73 kB / 480.6 MB, free: 27.53 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.009382, allocations: 0 / 480.6 MB, free: 27.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 8.719e-05/0.009469, allocations: 92.59 kB / 480.7 MB, free: 27.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.009484, allocations: 5.344 kB / 480.7 MB, free: 27.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.009496, allocations: 1.25 kB / 480.7 MB, free: 27.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.009507, allocations: 0 / 480.7 MB, free: 27.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.016e-05/0.009517, allocations: 2.5 kB / 480.7 MB, free: 27.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.009522, allocations: 4.625 kB / 480.7 MB, free: 27.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.19e-05/0.009544, allocations: 10.05 kB / 480.7 MB, free: 27.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.009551, allocations: 4.688 kB / 480.8 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 7.325e-05/0.009624, allocations: 163.5 kB / 480.9 MB, free: 27.31 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-06/0.009634, allocations: 10.5 kB / 480.9 MB, free: 27.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.068e-05/0.009704, allocations: 51.17 kB / 481 MB, free: 27.26 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.009706, allocations: 0 / 481 MB, free: 27.26 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.00971, allocations: 4.906 kB / 481 MB, free: 27.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.009712, allocations: 0 / 481 MB, free: 27.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.644e-05/0.009778, allocations: 153.2 kB / 481.1 MB, free: 27.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.009779, allocations: 0.625 kB / 481.1 MB, free: 27.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.416e-06/0.009783, allocations: 0.9062 kB / 481.1 MB, free: 27.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.009784, allocations: 0 / 481.1 MB, free: 27.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-06/0.009789, allocations: 0 / 481.1 MB, free: 27.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.00979, allocations: 1.281 kB / 481.1 MB, free: 27.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.009791, allocations: 2.625 kB / 481.1 MB, free: 27.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.331e-05/0.009834, allocations: 81.97 kB / 481.2 MB, free: 27.01 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.055e-05/0.009845, allocations: 12.16 kB / 481.2 MB, free: 27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.009855, allocations: 0 / 481.2 MB, free: 27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.155e-05/0.009867, allocations: 4 kB / 481.2 MB, free: 27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.254e-05/0.009879, allocations: 2.25 kB / 481.2 MB, free: 27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-06/0.009881, allocations: 5.312 kB / 481.2 MB, free: 27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.831e-05/0.009959, allocations: 171 kB / 481.4 MB, free: 26.87 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009959, allocations: 0 / 481.4 MB, free: 26.87 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002758/0.01024, allocations: 87.72 kB / 481.5 MB, free: 26.86 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.003419/0.01365, allocations: 259.3 kB / 481.7 MB, free: 26.73 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001172/0.01377, allocations: 81.91 kB / 481.8 MB, free: 26.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.01377, allocations: 0.625 kB / 481.8 MB, free: 26.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.813e-06/0.01378, allocations: 11.42 kB / 481.8 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.0001388/0.01392, allocations: 15.5 kB / 481.9 MB, free: 26.65 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002209/0.01414, allocations: 188.5 kB / 482 MB, free: 26.49 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.561e-05/0.01417, allocations: 66.28 kB / 482.1 MB, free: 26.42 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.738e-05/0.01418, allocations: 3.906 kB / 482.1 MB, free: 26.42 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.348e-05/0.0142, allocations: 11.88 kB / 482.1 MB, free: 26.41 MB / 426.7 MB Notification: Performance of SimCode: time 5.21e-07/0.0142, allocations: 0.7188 kB / 482.1 MB, free: 26.41 MB / 426.7 MB Notification: Performance of Templates: time 0.007311/0.02151, allocations: 2.138 MB / 484.3 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: 3.5392435300163925]