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.001265/0.001265, allocations: 82.64 kB / 20.68 MB, free: 3.812 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.001543/0.001543, allocations: 181 kB / 24.09 MB, free: 416 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.9943/0.9943, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.5501/0.5501, allocations: 110.2 MB / 371.3 MB, free: 12.34 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.473e-06/1.473e-06, allocations: 0 / 475.6 MB, free: 15.06 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.814e-05/1.962e-05, allocations: 3.562 kB / 475.6 MB, free: 15.05 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_1d): time 0.0009877/0.001007, allocations: 0.5373 MB / 476.1 MB, free: 14.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.00246, allocations: 1.632 MB / 477.8 MB, free: 13.65 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.354e-05/0.002493, allocations: 2.875 kB / 477.8 MB, free: 13.65 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001303/0.002624, allocations: 23.44 kB / 477.8 MB, free: 13.64 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.037e-05/0.002644, allocations: 8.5 kB / 477.8 MB, free: 13.64 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.0005489/0.003193, allocations: 273.6 kB / 478.1 MB, free: 13.53 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.916e-05/0.003242, allocations: 19 kB / 478.1 MB, free: 13.53 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.121e-05/0.003273, allocations: 13.66 kB / 478.1 MB, free: 13.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.646e-05/0.00331, allocations: 15.28 kB / 478.1 MB, free: 13.52 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.277e-05/0.003342, allocations: 14.28 kB / 478.1 MB, free: 13.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.003354, allocations: 2.594 kB / 478.1 MB, free: 13.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000382/0.003736, allocations: 422.5 kB / 478.5 MB, free: 13.4 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.702e-05/0.003773, allocations: 18.56 kB / 478.5 MB, free: 13.4 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.484e-05/0.003788, allocations: 11.77 kB / 478.6 MB, free: 13.39 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.004047, allocations: 345.4 kB / 478.9 MB, free: 13.29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.004049, allocations: 1 kB / 478.9 MB, free: 13.29 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004049, allocations: 0 / 478.9 MB, free: 13.29 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.875e-06/0.004052, allocations: 0 / 478.9 MB, free: 13.29 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.0002339/0.004286, allocations: 436.5 kB / 479.3 MB, free: 12.87 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.004321, allocations: 8.125 kB / 479.3 MB, free: 12.87 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.231e-05/0.004343, allocations: 7.609 kB / 479.3 MB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.302e-05/0.004416, allocations: 132.9 kB / 479.5 MB, free: 12.72 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.242e-06/0.004422, allocations: 7.109 kB / 479.5 MB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.95e-06/0.004427, allocations: 384 / 479.5 MB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.601e-05/0.004473, allocations: 29.92 kB / 479.5 MB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.729e-06/0.004478, allocations: 1.906 kB / 479.5 MB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.639e-06/0.004483, allocations: 4.375 kB / 479.5 MB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.004486, allocations: 3.938 kB / 479.5 MB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.302e-06/0.004493, allocations: 3.031 kB / 479.5 MB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.592e-05/0.004569, allocations: 112.1 kB / 479.6 MB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.386e-05/0.004592, allocations: 37.61 kB / 479.7 MB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.676e-06/0.004601, allocations: 9.156 kB / 479.7 MB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.08e-05/0.004632, allocations: 5.406 kB / 479.7 MB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.234e-05/0.004644, allocations: 36.2 kB / 479.7 MB, free: 12.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 6.92e-07/0.004645, allocations: 0 / 479.7 MB, free: 12.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 7.773e-05/0.004723, allocations: 40.11 kB / 479.8 MB, free: 12.42 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.484e-05/0.004737, allocations: 54.16 kB / 479.8 MB, free: 12.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.134e-05/0.004809, allocations: 230 kB / 480 MB, free: 12.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.039e-06/0.004814, allocations: 25.7 kB / 480.1 MB, free: 12.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.857e-05/0.004842, allocations: 149 kB / 480.2 MB, free: 11.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.314e-06/0.00485, allocations: 1.719 kB / 480.2 MB, free: 11.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.004876, allocations: 33.72 kB / 480.2 MB, free: 11.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.00026/0.005136, allocations: 0.4971 MB / 480.7 MB, free: 27.45 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.248e-05/0.005149, allocations: 5.688 kB / 480.7 MB, free: 27.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.788e-06/0.005159, allocations: 6.438 kB / 480.7 MB, free: 27.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.001e-05/0.005189, allocations: 36.53 kB / 480.8 MB, free: 27.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.00519, allocations: 0 / 480.8 MB, free: 27.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 5.884e-05/0.005249, allocations: 69.53 kB / 480.8 MB, free: 27.39 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.00526, allocations: 6.344 kB / 480.9 MB, free: 27.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.005271, allocations: 3.938 kB / 480.9 MB, free: 27.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.356e-06/0.00528, allocations: 0.6562 kB / 480.9 MB, free: 27.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.223e-05/0.005292, allocations: 2.625 kB / 480.9 MB, free: 27.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.005294, allocations: 2.156 kB / 480.9 MB, free: 27.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.364e-05/0.005308, allocations: 11.83 kB / 480.9 MB, free: 27.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.005313, allocations: 2.781 kB / 480.9 MB, free: 27.38 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 (labels[1],labels[2],labels[3],labels[4],labels[5],cluster_size[1],cluster_size[2],cluster_size[3],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 5.959e-05/0.005373, allocations: 160.2 kB / 481 MB, free: 27.22 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.44e-06/0.005378, allocations: 9.297 kB / 481 MB, free: 27.21 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.356e-05/0.005432, allocations: 42.55 kB / 481.1 MB, free: 27.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.005433, allocations: 0 / 481.1 MB, free: 27.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.005435, allocations: 7.031 kB / 481.1 MB, free: 27.18 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.005438, allocations: 4.781 kB / 481.1 MB, free: 27.17 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.224e-05/0.00548, allocations: 109.9 kB / 481.2 MB, free: 27.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.41e-07/0.005481, allocations: 0 / 481.2 MB, free: 27.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.734e-06/0.005482, allocations: 0.6562 kB / 481.2 MB, free: 27.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.11e-07/0.005483, allocations: 0.7812 kB / 481.2 MB, free: 27.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.536e-06/0.005487, allocations: 3.438 kB / 481.2 MB, free: 27.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.005487, allocations: 6 kB / 481.2 MB, free: 27.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.005488, allocations: 3.375 kB / 481.2 MB, free: 27.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.124e-05/0.005519, allocations: 75.89 kB / 481.3 MB, free: 26.96 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.833e-06/0.005526, allocations: 6.266 kB / 481.3 MB, free: 26.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.923e-06/0.005533, allocations: 3.422 kB / 481.3 MB, free: 26.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.551e-06/0.005539, allocations: 5.062 kB / 481.3 MB, free: 26.95 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.955e-06/0.005547, allocations: 0 / 481.3 MB, free: 26.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-06/0.005548, allocations: 0 / 481.3 MB, free: 26.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.532e-05/0.005593, allocations: 152.1 kB / 481.5 MB, free: 26.83 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005593, allocations: 2.75 kB / 481.5 MB, free: 26.83 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001776/0.005771, allocations: 84.59 kB / 481.5 MB, free: 26.81 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.0003246/0.006096, allocations: 258 kB / 481.8 MB, free: 26.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.641e-05/0.006182, allocations: 75.75 kB / 481.9 MB, free: 26.63 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.006183, allocations: 0 / 481.9 MB, free: 26.63 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.14e-06/0.006188, allocations: 11.09 kB / 481.9 MB, free: 26.62 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.147e-05/0.00628, allocations: 5.062 kB / 481.9 MB, free: 26.61 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001512/0.006431, allocations: 153.4 kB / 482 MB, free: 26.47 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.063e-05/0.006452, allocations: 60.33 kB / 482.1 MB, free: 26.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.482e-05/0.006466, allocations: 3.906 kB / 482.1 MB, free: 26.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.916e-05/0.006496, allocations: 70.39 kB / 482.2 MB, free: 26.34 MB / 426.7 MB Notification: Performance of SimCode: time 5.11e-07/0.006496, allocations: 2.438 kB / 482.2 MB, free: 26.34 MB / 426.7 MB Notification: Performance of Templates: time 0.003593/0.01009, allocations: 2.543 MB / 484.7 MB, free: 26.2 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.4031121730804443]