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.001145/0.001145, allocations: 92.22 kB / 20.46 MB, free: 4.109 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.001197/0.001197, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9626/0.9626, allocations: 177.1 MB / 204.2 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.5898/0.5898, allocations: 110.3 MB / 371 MB, free: 12.52 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 2.305e-06/2.305e-06, allocations: 0.875 kB / 475.1 MB, free: 15.16 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.237e-05/3.468e-05, allocations: 4.562 kB / 475.1 MB, free: 15.15 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Clustering.Validation.KMeans_2d): time 0.001848/0.001883, allocations: 0.53 MB / 475.7 MB, free: 14.86 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002524/0.004406, allocations: 1.65 MB / 477.3 MB, free: 13.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.666e-05/0.004453, allocations: 0.7188 kB / 477.3 MB, free: 13.75 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002335/0.004687, allocations: 67.58 kB / 477.4 MB, free: 13.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.072e-05/0.004727, allocations: 29.81 kB / 477.4 MB, free: 13.73 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.001279/0.006007, allocations: 269.9 kB / 477.7 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.006109, allocations: 36.47 kB / 477.7 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.063e-05/0.00615, allocations: 0 / 477.7 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.704e-05/0.006207, allocations: 24.73 kB / 477.7 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.57e-05/0.006283, allocations: 40.44 kB / 477.8 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.0063, allocations: 0 / 477.8 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008226/0.007123, allocations: 434.8 kB / 478.2 MB, free: 13.49 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.664e-05/0.007189, allocations: 26.34 kB / 478.2 MB, free: 13.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.137e-05/0.007221, allocations: 13.27 kB / 478.3 MB, free: 13.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005586/0.007779, allocations: 352.4 kB / 478.6 MB, free: 13.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.007782, allocations: 0 / 478.6 MB, free: 13.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.007783, allocations: 0 / 478.6 MB, free: 13.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.007789, allocations: 2.875 kB / 478.6 MB, free: 13.37 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.0005572/0.008346, allocations: 456.4 kB / 479 MB, free: 12.94 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.045e-05/0.008407, allocations: 10.28 kB / 479.1 MB, free: 12.94 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.069e-05/0.008468, allocations: 8.422 kB / 479.1 MB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.008652, allocations: 142.4 kB / 479.2 MB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.008668, allocations: 384 / 479.2 MB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.008687, allocations: 3.312 kB / 479.2 MB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.008805, allocations: 37.38 kB / 479.2 MB, free: 12.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.008822, allocations: 4.719 kB / 479.2 MB, free: 12.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.008833, allocations: 384 / 479.2 MB, free: 12.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.008845, allocations: 3.938 kB / 479.2 MB, free: 12.74 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.016e-05/0.008865, allocations: 0 / 479.2 MB, free: 12.74 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001898/0.009055, allocations: 163.1 kB / 479.4 MB, free: 12.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.722e-05/0.009102, allocations: 30.72 kB / 479.4 MB, free: 12.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.079e-05/0.009123, allocations: 10.41 kB / 479.4 MB, free: 12.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.324e-05/0.009176, allocations: 15.03 kB / 479.5 MB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.009196, allocations: 33.39 kB / 479.5 MB, free: 12.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.573e-06/0.009198, allocations: 0 / 479.5 MB, free: 12.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001549/0.009353, allocations: 46.2 kB / 479.5 MB, free: 12.44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.009379, allocations: 56.25 kB / 479.6 MB, free: 12.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.009564, allocations: 253.3 kB / 479.8 MB, free: 12.17 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.256e-06/0.009572, allocations: 28.39 kB / 479.9 MB, free: 12.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.728e-05/0.009629, allocations: 163.1 kB / 480 MB, free: 11.99 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.416e-05/0.009643, allocations: 4.938 kB / 480 MB, free: 11.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.782e-05/0.009691, allocations: 37.98 kB / 480.1 MB, free: 11.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003647/0.01006, allocations: 0.5031 MB / 480.6 MB, free: 27.45 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.297e-05/0.01009, allocations: 10.78 kB / 480.6 MB, free: 27.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.257e-05/0.01011, allocations: 21.69 kB / 480.6 MB, free: 27.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.994e-05/0.01018, allocations: 42.7 kB / 480.6 MB, free: 27.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.01018, allocations: 0.6562 kB / 480.6 MB, free: 27.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000124/0.01031, allocations: 90.25 kB / 480.7 MB, free: 27.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.01033, allocations: 7.969 kB / 480.7 MB, free: 27.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/0.01034, allocations: 2.406 kB / 480.7 MB, free: 27.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.01036, allocations: 2.5 kB / 480.8 MB, free: 27.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.706e-05/0.01038, allocations: 0 / 480.8 MB, free: 27.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.01039, allocations: 3.938 kB / 480.8 MB, free: 27.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.944e-05/0.01042, allocations: 6.484 kB / 480.8 MB, free: 27.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.01043, allocations: 7.422 kB / 480.8 MB, free: 27.37 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 8.753e-05/0.01051, allocations: 163.3 kB / 480.9 MB, free: 27.21 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.514e-05/0.01053, allocations: 13.22 kB / 480.9 MB, free: 27.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/0.01064, allocations: 43.34 kB / 481 MB, free: 27.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.01064, allocations: 2.969 kB / 481 MB, free: 27.16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.01065, allocations: 4.75 kB / 481 MB, free: 27.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.01065, allocations: 3.938 kB / 481 MB, free: 27.15 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.225e-05/0.01075, allocations: 150.9 kB / 481.1 MB, free: 27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01075, allocations: 0 / 481.1 MB, free: 27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.791e-06/0.01075, allocations: 2.906 kB / 481.1 MB, free: 27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.01076, allocations: 3.984 kB / 481.1 MB, free: 27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.321e-06/0.01076, allocations: 0 / 481.1 MB, free: 27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.01076, allocations: 1.438 kB / 481.1 MB, free: 27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.01077, allocations: 0 / 481.1 MB, free: 27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.472e-05/0.01083, allocations: 83.78 kB / 481.2 MB, free: 26.91 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.133e-05/0.01084, allocations: 15.69 kB / 481.2 MB, free: 26.89 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.01085, allocations: 0 / 481.2 MB, free: 26.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.418e-06/0.01086, allocations: 0.9375 kB / 481.2 MB, free: 26.89 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.539e-05/0.01088, allocations: 0 / 481.2 MB, free: 26.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.01088, allocations: 14.84 kB / 481.3 MB, free: 26.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.62e-05/0.01096, allocations: 169.6 kB / 481.4 MB, free: 26.76 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01096, allocations: 0 / 481.4 MB, free: 26.76 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002605/0.01122, allocations: 89.25 kB / 481.5 MB, free: 26.74 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.0004408/0.01166, allocations: 249 kB / 481.8 MB, free: 26.62 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001201/0.01178, allocations: 76.55 kB / 481.8 MB, free: 26.58 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01178, allocations: 0.5625 kB / 481.8 MB, free: 26.58 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.593e-06/0.01179, allocations: 17.28 kB / 481.9 MB, free: 26.56 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001146/0.0119, allocations: 4 kB / 481.9 MB, free: 26.56 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002456/0.01215, allocations: 196.3 kB / 482 MB, free: 26.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.93e-05/0.01218, allocations: 68.83 kB / 482.1 MB, free: 26.33 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.77e-05/0.0122, allocations: 3.938 kB / 482.1 MB, free: 26.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.567e-05/0.01221, allocations: 8.5 kB / 482.1 MB, free: 26.32 MB / 426.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01221, allocations: 1.438 kB / 482.1 MB, free: 26.32 MB / 426.7 MB Notification: Performance of Templates: time 0.004377/0.01659, allocations: 2.138 MB / 484.3 MB, free: 26.23 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.657629300840199]