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.001931/0.001931, allocations: 84.39 kB / 20.23 MB, free: 4.195 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.002277/0.002277, allocations: 161.7 kB / 23.55 MB, free: 0.8828 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.501/1.501, allocations: 177.1 MB / 203.9 MB, free: 5.605 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.9145/0.9145, allocations: 110.2 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_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.613e-06/1.613e-06, allocations: 0 / 474.4 MB, free: 15.27 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.322e-05, allocations: 5.391 kB / 474.4 MB, free: 15.27 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d): time 0.0012/0.001224, allocations: 0.5119 MB / 474.9 MB, free: 14.98 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0018/0.003024, allocations: 1.608 MB / 476.5 MB, free: 13.88 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.596e-05/0.00305, allocations: 0.9062 kB / 476.5 MB, free: 13.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.003181, allocations: 24.8 kB / 476.6 MB, free: 13.87 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.01e-05/0.003201, allocations: 13.02 kB / 476.6 MB, free: 13.86 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.0007616/0.003963, allocations: 265.1 kB / 476.8 MB, free: 13.76 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.763e-05/0.004021, allocations: 21.12 kB / 476.9 MB, free: 13.75 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.025e-05/0.004051, allocations: 4.031 kB / 476.9 MB, free: 13.75 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.176e-05/0.004093, allocations: 21.67 kB / 476.9 MB, free: 13.75 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.556e-05/0.004128, allocations: 13.72 kB / 476.9 MB, free: 13.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.004141, allocations: 1.719 kB / 476.9 MB, free: 13.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005365/0.004678, allocations: 429.1 kB / 477.3 MB, free: 13.63 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.362e-05/0.004721, allocations: 14.44 kB / 477.3 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.553e-05/0.004747, allocations: 13.19 kB / 477.3 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003555/0.005102, allocations: 337.5 kB / 477.7 MB, free: 13.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.005105, allocations: 0 / 477.7 MB, free: 13.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.005105, allocations: 1.75 kB / 477.7 MB, free: 13.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.005109, allocations: 3.938 kB / 477.7 MB, free: 13.52 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.0003509/0.00546, allocations: 335.5 kB / 478 MB, free: 13.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.005493, allocations: 9.062 kB / 478 MB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.006e-05/0.005533, allocations: 12.38 kB / 478 MB, free: 13.19 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.005639, allocations: 126.3 kB / 478.1 MB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.005649, allocations: 4.219 kB / 478.1 MB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.695e-06/0.005656, allocations: 384 / 478.1 MB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.284e-05/0.005729, allocations: 38.12 kB / 478.2 MB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.005736, allocations: 192 / 478.2 MB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.005743, allocations: 384 / 478.2 MB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.005747, allocations: 3.938 kB / 478.2 MB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.489e-05/0.005772, allocations: 22.28 kB / 478.2 MB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001042/0.005877, allocations: 125.4 kB / 478.3 MB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.892e-05/0.005915, allocations: 29.73 kB / 478.4 MB, free: 12.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.775e-05/0.005933, allocations: 12.73 kB / 478.4 MB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.005965, allocations: 8.578 kB / 478.4 MB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.499e-05/0.00598, allocations: 33.25 kB / 478.4 MB, free: 12.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.00598, allocations: 0 / 478.4 MB, free: 12.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001337/0.006114, allocations: 63.45 kB / 478.5 MB, free: 12.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.837e-05/0.006132, allocations: 58.62 kB / 478.5 MB, free: 12.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.006246, allocations: 172.8 kB / 478.7 MB, free: 12.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.356e-06/0.006254, allocations: 29.7 kB / 478.7 MB, free: 12.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.026e-05/0.006285, allocations: 95.7 kB / 478.8 MB, free: 12.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.366e-06/0.006293, allocations: 0 / 478.8 MB, free: 12.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/0.006324, allocations: 30.53 kB / 478.9 MB, free: 12.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.01e-05/0.006364, allocations: 320.8 kB / 479.2 MB, free: 12.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.242e-05/0.006407, allocations: 39.39 kB / 479.2 MB, free: 12.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.233e-05/0.006439, allocations: 36.47 kB / 479.2 MB, free: 12.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.355e-05/0.006503, allocations: 74 kB / 479.3 MB, free: 12.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.006504, allocations: 3.938 kB / 479.3 MB, free: 12.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001169/0.006621, allocations: 130.1 kB / 479.4 MB, free: 12.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.006631, allocations: 5.844 kB / 479.5 MB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.006643, allocations: 1.531 kB / 479.5 MB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.006657, allocations: 0 / 479.5 MB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.849e-06/0.006667, allocations: 0 / 479.5 MB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.006673, allocations: 6.844 kB / 479.5 MB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.086e-05/0.006693, allocations: 3.953 kB / 479.5 MB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.006702, allocations: 7.25 kB / 479.5 MB, free: 12.02 MB / 410.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 0.0002544/0.006956, allocations: 129.2 kB / 479.6 MB, free: 27.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.139e-05/0.006967, allocations: 6.859 kB / 479.6 MB, free: 27.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.585e-05/0.007063, allocations: 59.88 kB / 479.7 MB, free: 27.86 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.007065, allocations: 0 / 479.7 MB, free: 27.86 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.00707, allocations: 7.078 kB / 479.7 MB, free: 27.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.007072, allocations: 3.469 kB / 479.7 MB, free: 27.86 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.325e-05/0.007125, allocations: 117.1 kB / 479.8 MB, free: 27.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.007126, allocations: 0.6875 kB / 479.8 MB, free: 27.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.128e-06/0.00713, allocations: 0 / 479.8 MB, free: 27.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.007132, allocations: 1.75 kB / 479.8 MB, free: 27.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-06/0.007137, allocations: 0 / 479.8 MB, free: 27.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.007137, allocations: 0 / 479.8 MB, free: 27.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.007139, allocations: 2.688 kB / 479.8 MB, free: 27.73 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.789e-05/0.007197, allocations: 86.84 kB / 479.9 MB, free: 27.65 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.015e-05/0.007207, allocations: 10.64 kB / 479.9 MB, free: 27.64 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.007218, allocations: 4.562 kB / 479.9 MB, free: 27.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.283e-05/0.007231, allocations: 4 kB / 479.9 MB, free: 27.64 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.006e-05/0.007241, allocations: 0 / 479.9 MB, free: 27.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.007243, allocations: 3.938 kB / 479.9 MB, free: 27.64 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.794e-05/0.007331, allocations: 119.7 kB / 480 MB, free: 27.55 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007331, allocations: 0.9062 kB / 480 MB, free: 27.55 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002961/0.007628, allocations: 91.88 kB / 480.1 MB, free: 27.54 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.0005258/0.008153, allocations: 248.8 kB / 480.4 MB, free: 27.42 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000122/0.008275, allocations: 92.8 kB / 480.4 MB, free: 27.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.008277, allocations: 3.438 kB / 480.4 MB, free: 27.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.288e-05/0.00829, allocations: 15.3 kB / 480.5 MB, free: 27.37 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/0.008431, allocations: 10.12 kB / 480.5 MB, free: 27.37 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002254/0.008657, allocations: 170.4 kB / 480.6 MB, free: 27.23 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.321e-05/0.0087, allocations: 80.95 kB / 480.7 MB, free: 27.16 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.795e-05/0.008718, allocations: 2.719 kB / 480.7 MB, free: 27.16 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.949e-05/0.008737, allocations: 8.5 kB / 480.7 MB, free: 27.15 MB / 426.7 MB Notification: Performance of SimCode: time 4.21e-07/0.008738, allocations: 0 / 480.7 MB, free: 27.15 MB / 426.7 MB Notification: Performance of Templates: time 0.004597/0.01334, allocations: 2.128 MB / 482.9 MB, free: 27.07 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.329243391053751]